Some say "Why? Why add a border to the frame skip box?". I say "Why Not?".
This commit is contained in:
@@ -1524,8 +1524,32 @@ DisplayGUIOption:
|
|||||||
.nocheckbox14
|
.nocheckbox14
|
||||||
GUIDisplayIconWin 4,11,160,[GUITemp]
|
GUIDisplayIconWin 4,11,160,[GUITemp]
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
cmp byte[frameskip],0
|
cmp byte[frameskip],0
|
||||||
je near .auto
|
je near .auto
|
||||||
|
; Draw borders
|
||||||
|
mov dword[GUIWincol],148+10
|
||||||
|
cmp byte[cwindrawn],1
|
||||||
|
jne .noone3
|
||||||
|
mov dword[GUIWincol],148+5
|
||||||
|
.noone3
|
||||||
|
cmp byte[cwindrawn],0
|
||||||
|
jne .nozero3
|
||||||
|
mov dword[GUIWincol],148
|
||||||
|
.nozero3
|
||||||
|
mov dl,[GUIWincol]
|
||||||
|
DrawGUIWinBox 4,74,11,94,11,dl
|
||||||
|
mov dl,[GUIWincol]
|
||||||
|
add dl,1
|
||||||
|
DrawGUIWinBox 4,73,11,73,19,dl
|
||||||
|
mov dl,[GUIWincol]
|
||||||
|
add dl,4
|
||||||
|
DrawGUIWinBox 4,74,20,94,20,dl
|
||||||
|
mov dl,[GUIWincol]
|
||||||
|
add dl,3
|
||||||
|
DrawGUIWinBox 4,95,12,94,19,dl
|
||||||
|
; End draw borders
|
||||||
DrawGUIWinBox 4,75,12,93,19,167
|
DrawGUIWinBox 4,75,12,93,19,167
|
||||||
mov al,[frameskip]
|
mov al,[frameskip]
|
||||||
add al,47
|
add al,47
|
||||||
@@ -1546,7 +1570,30 @@ DisplayGUIOption:
|
|||||||
DrawGUIButton 4,97,12,105,20,GUIOptionTextY,12,-2,-1
|
DrawGUIButton 4,97,12,105,20,GUIOptionTextY,12,-2,-1
|
||||||
DrawGUIButton 4,108,12,116,20,GUIOptionTextZ,13,-2,-1
|
DrawGUIButton 4,108,12,116,20,GUIOptionTextZ,13,-2,-1
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.auto
|
.auto
|
||||||
|
; Draw borders
|
||||||
|
mov dword[GUIWincol],148+10
|
||||||
|
cmp byte[cwindrawn],1
|
||||||
|
jne .noone2
|
||||||
|
mov dword[GUIWincol],148+5
|
||||||
|
.noone2
|
||||||
|
cmp byte[cwindrawn],0
|
||||||
|
jne .nozero2
|
||||||
|
mov dword[GUIWincol],148
|
||||||
|
.nozero2
|
||||||
|
mov dl,[GUIWincol]
|
||||||
|
DrawGUIWinBox 4,95,11,115,11,dl
|
||||||
|
mov dl,[GUIWincol]
|
||||||
|
add dl,1
|
||||||
|
DrawGUIWinBox 4,94,11,93,19,dl
|
||||||
|
mov dl,[GUIWincol]
|
||||||
|
add dl,4
|
||||||
|
DrawGUIWinBox 4,95,20,115,20,dl
|
||||||
|
mov dl,[GUIWincol]
|
||||||
|
add dl,3
|
||||||
|
DrawGUIWinBox 4,115,12,115,19,dl
|
||||||
|
; End draw borders
|
||||||
DrawGUIWinBox 4,96,12,114,19,167
|
DrawGUIWinBox 4,96,12,114,19,167
|
||||||
mov al,[maxskip]
|
mov al,[maxskip]
|
||||||
add al,48
|
add al,48
|
||||||
|
|||||||
Reference in New Issue
Block a user