Filtered GUI option

This commit is contained in:
zsknight
2001-05-29 00:17:50 +00:00
parent 4063804ca3
commit 83c5e2a0ac
5 changed files with 26 additions and 2 deletions

View File

@@ -582,6 +582,7 @@ NEWSYM BlackAndWhite, db 0
NEWSYM MouseWheel, db 1
NEWSYM AlternateTimer, db 0
NEWSYM AllowMultipleInst, db 0
NEWSYM FilteredGUI, db 0
GUIsave equ $-GUIRAdd
@@ -2691,6 +2692,13 @@ guiprevidmsg6 db 'MODE WILL BE RESET',0
guiprevidmsg7 db 'PRESS ANY KEY',0
guipostvideo:
mov ecx,255*144
mov eax,[vidbufferofsb]
.loop
mov dword[eax],0FFFFFFFFh
add eax,4
loop .loop
xor ebx,ebx
mov ecx,256
.a

View File

@@ -2648,6 +2648,7 @@ DisplayGUIOptnsClick:
GUIClickCButton 12,188,byte[AllowMultipleInst]
GUIClickCButton 124,33,byte[MouseWheel]
%endif
GUIClickCButton 124,43,byte[FilteredGUI]
GUIPButtonHole 48,108,byte[CurPalSelect],0
GUIPButtonHole 88,108,byte[CurPalSelect],1
GUIPButtonHole 135,108,byte[CurPalSelect],2

View File

@@ -4676,6 +4676,12 @@ DisplayGUIOptns:
.nocheckr
GUIDisplayIconWin 10,124,33,[GUITemp]
%endif
mov dword[GUITemp],GUIIconDataCheckBoxUC
cmp byte[FilteredGUI],1
jne .nocheckfg
mov dword[GUITemp],GUIIconDataCheckBoxC
.nocheckfg
GUIDisplayIconWin 10,124,43,[GUITemp]
mov dword[GUITemp],GUIIconDataCheckBoxUC
cmp byte[mousewrap],1
jne .nocheck
@@ -4783,6 +4789,7 @@ DisplayGUIOptns:
GUIOuttextwin2u 10,26,173,GUIGUIOptnsTextE,0
GUIOuttextwin2u 10,26,183,GUIGUIOptnsTextF,2
GUIOuttextwin2u 10,138,38,GUIGUIOptnsTextK,1
GUIOuttextwin2u 10,138,48,GUIGUIOptnsTextM,1
GUIOuttextwin2u 10,26,193,GUIGUIOptnsTextL,1
%endif
mov byte[GUIGUIOptnsText6],'R'
@@ -4808,6 +4815,7 @@ DisplayGUIOptns:
GUIOuttextwin2 10,25,172,GUIGUIOptnsTextE
GUIOuttextwin2 10,25,182,GUIGUIOptnsTextF
GUIOuttextwin2 10,137,37,GUIGUIOptnsTextK
GUIOuttextwin2 10,137,47,GUIGUIOptnsTextM
GUIOuttextwin2 10,25,192,GUIGUIOptnsTextL
%endif
mov byte[GUIGUIOptnsText6],'R'
@@ -4902,6 +4910,7 @@ GUIGUIOptnsTextI db 'WIN',0
GUIGUIOptnsTextJ db 'TRANSPARENT MSGS',0
GUIGUIOptnsTextK db 'WHEEL MOUSE',0
GUIGUIOptnsTextL db 'ALLOW MULTIPLE INSTANCES',0
GUIGUIOptnsTextM db 'FILTERED GUI',0
DisplayGUIAbout:
; cmp byte[OSPort],3