Added lowpass filter options to gui

This commit is contained in:
pagefault
2001-09-03 20:26:54 +00:00
parent e9a4c57936
commit ace679d23d
5 changed files with 50 additions and 5 deletions

View File

@@ -2183,6 +2183,9 @@ DisplayGUISound:
GUIOuttextwin2u 6,26,166,GUISoundTextQ,0
GUIOuttextwin2u 6,26,176,GUISoundTextR,0
GUIOuttextwin2u 6,26,186,GUISoundTextS,0
GUIOuttextwin2u 6,126,166,GUISoundTextU,1
GUIOuttextwin2u 6,126,176,GUISoundTextV,1
GUIOuttextwin2u 6,126,186,GUISoundTextW,0
add byte[GUItextcolor],15
GUIOuttextwin2 6,25,25,GUISoundText1
GUIOuttextwin2 6,25,34,GUISoundText3
@@ -2208,12 +2211,16 @@ DisplayGUISound:
GUIOuttextwin2 6,25,165,GUISoundTextQ
GUIOuttextwin2 6,25,175,GUISoundTextR
GUIOuttextwin2 6,25,185,GUISoundTextS
GUIOuttextwin2 6,125,165,GUISoundTextU
GUIOuttextwin2 6,125,175,GUISoundTextV
GUIOuttextwin2 6,125,185,GUISoundTextW
mov al,[GUIWincol]
mov byte[GUItextcolor],al
GUIOuttextwin2 6,6,16,GUISoundText6
GUIOuttextwin2u 6,6,53,GUISoundText2,9
GUIOuttextwin2 6,6,76,GUISoundText5
GUIOuttextwin2 6,6,156,GUISoundTextP
GUIOuttextwin2 6,106,156,GUISoundTextT
mov byte[GUItextcolor],163
cmp byte[GUIWincoladd],0
je .zero3
@@ -2223,6 +2230,7 @@ DisplayGUISound:
GUIOuttextwin2 6,5,52,GUISoundText2
GUIOuttextwin2 6,5,75,GUISoundText5
GUIOuttextwin2 6,5,155,GUISoundTextP
GUIOuttextwin2 6,105,155,GUISoundTextT
mov dword[GUITemp],GUIIconDataCheckBoxUC
cmp byte[cfgsoundon],0
je .nocheckbox
@@ -2306,6 +2314,24 @@ DisplayGUISound:
mov dword[GUITemp],GUIIconDataCheckBoxC
.nocheckbox9
GUIDisplayIconWin 6,11,181,[GUITemp]
mov dword[GUITemp],GUIIconDataCheckBoxUC
cmp byte[LowPassFilterType],1
jne .nocheckbox10
mov dword[GUITemp],GUIIconDataCheckBoxC
.nocheckbox10
GUIDisplayIconWin 6,111,161,[GUITemp]
mov dword[GUITemp],GUIIconDataCheckBoxUC
cmp byte[LowPassFilterType],2
jne .nocheckbox11
mov dword[GUITemp],GUIIconDataCheckBoxC
.nocheckbox11
GUIDisplayIconWin 6,111,171,[GUITemp]
mov dword[GUITemp],GUIIconDataCheckBoxUC
cmp byte[LowPassFilterType],3
jne .nocheckbox12
mov dword[GUITemp],GUIIconDataCheckBoxC
.nocheckbox12
GUIDisplayIconWin 6,111,181,[GUITemp]
DrawGUIWinBox 6,15,61,69,69,167
mov dword[GUITemp],GUISoundText7
xor eax,eax
@@ -2398,6 +2424,10 @@ GUISoundTextP db 'INTERPOLATION :',0
GUISoundTextQ db 'GAUSSEN',0
GUISoundTextR db 'CUBIC SPLINE',0
GUISoundTextS db '8-POINT',0
GUISoundTextT db 'LOWPASS :',0
GUISoundTextU db 'SIMPLE',0
GUISoundTextV db 'DYNAMIC',0
GUISoundTextW db 'HI QUALITY',0