Changeset 249 for trunk/Forms/UFormClient.pas
- Timestamp:
- Sep 22, 2018, 9:37:16 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormClient.pas
r248 r249 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, 9 9 UGame, LCLType, Menus, ActnList, ComCtrls, dateutils, XMLConf, DOM, Math, 10 UGeometry, UGameClient, UGameProtocol, UThreading, UPlayer, UClientGUI ;10 UGeometry, UGameClient, UGameProtocol, UThreading, UPlayer, UClientGUI, UFormMain; 11 11 12 12 const … … 44 44 procedure AGameEndTurnExecute(Sender: TObject); 45 45 procedure AStatusBarVisibleExecute(Sender: TObject); 46 procedure AStatusBarVisibleUpdate(Sender: TObject); 46 47 procedure ASurrenderExecute(Sender: TObject); 47 48 procedure AToolBarBigIconsExecute(Sender: TObject); 49 procedure AToolBarBigIconsUpdate(Sender: TObject); 48 50 procedure AToolBarVisibleExecute(Sender: TObject); 51 procedure AToolBarVisibleUpdate(Sender: TObject); 49 52 procedure AZoomAllExecute(Sender: TObject); 50 53 procedure AZoomInExecute(Sender: TObject); … … 92 95 procedure DoClientDestroy(Sender: TObject); 93 96 public 97 FormMain: TFormMain; 94 98 procedure LoadConfig(Config: TXmlConfig; Path: string); 95 99 procedure SaveConfig(Config: TXmlConfig; Path: string); … … 416 420 begin 417 421 AToolBarBigIcons.Checked := not AToolBarBigIcons.Checked; 422 end; 423 424 procedure TFormClient.AToolBarBigIconsUpdate(Sender: TObject); 425 begin 418 426 UpdateInterface; 419 427 end; … … 422 430 begin 423 431 AStatusBarVisible.Checked := not AStatusBarVisible.Checked; 432 UpdateInterface; 433 end; 434 435 procedure TFormClient.AStatusBarVisibleUpdate(Sender: TObject); 436 begin 424 437 UpdateInterface; 425 438 end; … … 444 457 begin 445 458 AToolBarVisible.Checked := not AToolBarVisible.Checked; 459 UpdateInterface; 460 end; 461 462 procedure TFormClient.AToolBarVisibleUpdate(Sender: TObject); 463 begin 446 464 UpdateInterface; 447 465 end;
Note:
See TracChangeset
for help on using the changeset viewer.