mirror of
https://github.com/paleotronic/microm8-gui.git
synced 2025-02-19 14:31:15 +00:00
fullscreen toggle
This commit is contained in:
parent
5c52a1d6e6
commit
6e8807ccbb
@ -1,7 +1,7 @@
|
||||
object GUIForm: TGUIForm
|
||||
Left = 228
|
||||
Left = 2087
|
||||
Height = 668
|
||||
Top = 132
|
||||
Top = 207
|
||||
Width = 1014
|
||||
AlphaBlendValue = 128
|
||||
Caption = 'microM8 GUI'
|
||||
|
@ -2424,7 +2424,7 @@ end;
|
||||
procedure TGUIForm.btnHideClick(Sender: TObject);
|
||||
begin
|
||||
pnlMemory.Visible := false;
|
||||
ReposWindow;
|
||||
WaitRepos.Enabled := true;
|
||||
end;
|
||||
|
||||
procedure TGUIForm.btnReadClick(Sender: TObject);
|
||||
@ -2798,8 +2798,16 @@ end;
|
||||
procedure TGUIForm.MenuItem14Click(Sender: TObject);
|
||||
begin
|
||||
{ do fullscreen here }
|
||||
UpdateConfig('video/current.fullscreen', '1', false);
|
||||
isFS := true;
|
||||
case GetConfig( 'video/current.fullscreen' ) of
|
||||
'0': begin
|
||||
UpdateConfig('video/current.fullscreen', '1', false);
|
||||
isFS := true;
|
||||
end;
|
||||
'1': begin:
|
||||
UpdateConfig('video/current.fullscreen', '0', false);
|
||||
isFS := false;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TGUIForm.MenuItem15Click(Sender: TObject);
|
||||
|
@ -1,7 +1,7 @@
|
||||
object GUIForm: TGUIForm
|
||||
Left = 228
|
||||
Left = 2087
|
||||
Height = 668
|
||||
Top = 132
|
||||
Top = 207
|
||||
Width = 1014
|
||||
AlphaBlendValue = 128
|
||||
Caption = 'microM8 GUI'
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
4
main.lfm
4
main.lfm
@ -1,7 +1,7 @@
|
||||
object GUIForm: TGUIForm
|
||||
Left = 228
|
||||
Left = 2087
|
||||
Height = 668
|
||||
Top = 132
|
||||
Top = 207
|
||||
Width = 1014
|
||||
AlphaBlendValue = 128
|
||||
Caption = 'microM8 GUI'
|
||||
|
12
main.pas
12
main.pas
@ -2798,8 +2798,16 @@ end;
|
||||
procedure TGUIForm.MenuItem14Click(Sender: TObject);
|
||||
begin
|
||||
{ do fullscreen here }
|
||||
UpdateConfig('video/current.fullscreen', '1', false);
|
||||
isFS := true;
|
||||
case GetConfig( 'video/current.fullscreen' ) of
|
||||
'0': begin
|
||||
UpdateConfig('video/current.fullscreen', '1', false);
|
||||
isFS := true;
|
||||
end;
|
||||
'1': begin
|
||||
UpdateConfig('video/current.fullscreen', '0', false);
|
||||
isFS := false;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TGUIForm.MenuItem15Click(Sender: TObject);
|
||||
|
Loading…
x
Reference in New Issue
Block a user