Ignore:
Timestamp:
Mar 26, 2021, 2:16:04 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Reworker IsoEngine unit to support multiple iso maps with different tile sizes.
  • Modified: Changing tile size in main windows map doesn't affect other tile drawing on panel and in other windows like help window.
  • Modified: Optimized tile size switching. Graphic assets needed for given tile size is prepared only once. Then switching between them is just about changing references to objects and redrawing.
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/CevoComponents/EOTButton.pas

    r323 r330  
    9191procedure TEOTButton.SetIndex(x: integer);
    9292begin
    93   if x <> FIndex then
    94   begin
     93  if x <> FIndex then begin
    9594    FIndex := x;
    9695    Invalidate;
     
    10099procedure TEOTButton.SetButtonIndexFast(x: integer);
    101100begin
    102   if Visible and (x <> FIndex) then
    103   begin
     101  if Visible and (x <> FIndex) then begin
    104102    FIndex := x;
    105103    try
    106       Paint
     104      Paint;
    107105    except
    108106    end;
Note: See TracChangeset for help on using the changeset viewer.