Changeset 732 for trunk/Direct.pas


Ignore:
Timestamp:
Jan 17, 2026, 9:21:53 AM (6 hours ago)
Author:
chronos
Message:
  • Modified: Background form belongs to Start screen. Changed from global variable to local variable of StartDlg.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Direct.pas

    r666 r732  
    105105    ntEndInfo: begin
    106106      Hide;
    107       Background.Update;
     107      StartDlg.Background.Update;
    108108    end;
    109109    ntLoadError: begin
     
    133133      if not Quick then begin
    134134        StartDlg.Hide;
    135         Background.Update;
     135        StartDlg.Background.Update;
    136136      end;
    137137      if MusicEnabled then begin
     
    166166      end;
    167167    ntBackOn: begin
    168       Background.Show;
    169       Background.Update;
     168      StartDlg.Background.Show;
     169      StartDlg.Background.Update;
    170170      Sleep(50); // prevent flickering
    171171    end;
    172     ntBackOff: Background.Close;
     172    ntBackOff: StartDlg.Background.Close;
    173173  end;
    174174end;
     
    260260  end;
    261261  if not Quick then begin
    262     Background.Show;
     262    StartDlg.Background.Show;
    263263    StartDlg.Show;
    264264  end;
Note: See TracChangeset for help on using the changeset viewer.