mirror of
https://github.com/paleotronic/microm8-gui.git
synced 2024-11-25 17:42:21 +00:00
osd on button fullscreen
This commit is contained in:
parent
a754997996
commit
47dc64a2c2
@ -6066,6 +6066,7 @@ object GUIForm: TGUIForm
|
||||
end
|
||||
object miDisableScanlines: TMenuItem
|
||||
Caption = 'Disable Scanlines'
|
||||
OnClick = miDisableScanlinesClick
|
||||
end
|
||||
object N4: TMenuItem
|
||||
Caption = '-'
|
||||
|
@ -411,6 +411,7 @@ type
|
||||
procedure miDHRMonoRasterClick(Sender: TObject);
|
||||
procedure miDHRMonoVoxelsClick(Sender: TObject);
|
||||
procedure miDisableFocusStealingClick(Sender: TObject);
|
||||
procedure miDisableScanlinesClick(Sender: TObject);
|
||||
procedure miDisk1WPToggleClick(Sender: TObject);
|
||||
procedure miDisk2WPToggleClick(Sender: TObject);
|
||||
procedure miDiskMenuBlankClick(Sender: TObject);
|
||||
@ -1088,6 +1089,15 @@ begin
|
||||
disableFocusStealing:=(not disableFocusStealing);
|
||||
end;
|
||||
|
||||
procedure TGUIForm.miDisableScanlinesClick(Sender: TObject);
|
||||
begin
|
||||
miDisableScanlines.Checked := (not miDisableScanlines.Checked);
|
||||
if miDisableScanlines.Checked then
|
||||
UpdateConfig('video/init.video.scanlinedisable', '1', true)
|
||||
else
|
||||
UpdateConfig('video/init.video.scanlinedisable', '0', true);
|
||||
end;
|
||||
|
||||
procedure TGUIForm.miDisk1WPToggleClick(Sender: TObject);
|
||||
begin
|
||||
SimpleGet( baseUrl + '/api/control/hardware/disk/wp/0/toggle' );
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user