Added "Insert Chapter", "Next Chapter", and "Previous Chapter" dummy options to the Movie window

This commit is contained in:
ipher
2005-03-15 16:24:37 +00:00
parent 23562560f3
commit 4002e05114
3 changed files with 12 additions and 3 deletions

View File

@@ -677,7 +677,7 @@ SECTION .data ; Window sizes and positions
GUIwinposxo dd 0,5 ,60 ,30 ,55 ,50 ,35 ,5 ,30 ,10 ,10 ,50 ,65 ,20 ,70 ,50 ,3 ,50 ,50 ,5 ,20 GUIwinposxo dd 0,5 ,60 ,30 ,55 ,50 ,35 ,5 ,30 ,10 ,10 ,50 ,65 ,20 ,70 ,50 ,3 ,50 ,50 ,5 ,20
GUIwinposyo dd 0,20 ,70 ,30 ,20 ,20 ,20 ,20 ,30 ,20 ,20 ,20 ,60 ,30 ,65 ,50 ,22 ,60 ,60 ,20 ,60 GUIwinposyo dd 0,20 ,70 ,30 ,20 ,20 ,20 ,20 ,30 ,20 ,20 ,20 ,60 ,30 ,65 ,50 ,22 ,60 ,60 ,20 ,60
GUIwinsizex dd 0,244 ,126 ,189 ,167 ,180 ,188 ,244 ,8*16,235 ,240 ,190 ,9*16,8*16,9*16,140 ,250 ,160 ,160 ,244 ,200 GUIwinsizex dd 0,244 ,126 ,189 ,167 ,180 ,188 ,244 ,8*16,235 ,240 ,190 ,9*16,8*16,9*16,140 ,250 ,160 ,160 ,244 ,200
GUIwinsizey dd 0,190 ,3*16,166 ,190 ,192 ,188 ,191 ,40 ,189 ,150 ,190 ,42 ,40 ,42 ,70 ,190 ,100 ,100 ,190 ,100 GUIwinsizey dd 0,190 ,3*16,166 ,190 ,192 ,188 ,191 ,40 ,189 ,150 ,190 ,42 ,40 ,42 ,120 ,190 ,100 ,100 ,190 ,100
GUIwinptr db 0 GUIwinptr db 0
section .bss section .bss

View File

@@ -2042,6 +2042,9 @@ DisplayGUIMovieClick:
GUIPHoldbutton 7,17,49,28,16 GUIPHoldbutton 7,17,49,28,16
GUIPHoldbutton 7,33,49,44,17 GUIPHoldbutton 7,33,49,44,17
GUIPHoldbutton 7,49,49,60,18 GUIPHoldbutton 7,49,49,60,18
GUIPHoldbutton 7,65,106,76,29
GUIPHoldbutton 7,81,106,92,30
GUIPHoldbutton 7,97,106,108,31
GUIPButtonHole 60,25,byte[CMovieExt],'v' GUIPButtonHole 60,25,byte[CMovieExt],'v'
GUIPButtonHole 80,25,byte[CMovieExt],'1' GUIPButtonHole 80,25,byte[CMovieExt],'1'
GUIPButtonHole 100,25,byte[CMovieExt],'2' GUIPButtonHole 100,25,byte[CMovieExt],'2'

View File

@@ -5581,13 +5581,16 @@ DisplayGUIMovies:
DrawGUIButton 15,7,17,49,28,GUIMovieText1,16,0,0 DrawGUIButton 15,7,17,49,28,GUIMovieText1,16,0,0
DrawGUIButton 15,7,33,49,44,GUIMovieText2,17,0,0 DrawGUIButton 15,7,33,49,44,GUIMovieText2,17,0,0
DrawGUIButton 15,7,49,49,60,GUIMovieText3,18,0,0 DrawGUIButton 15,7,49,49,60,GUIMovieText3,18,0,0
DrawGUIButton 15,7,65,106,76,GUIMovieTextB,29,0,0
DrawGUIButton 15,7,81,106,92,GUIMovieTextC,30,0,0
DrawGUIButton 15,7,97,106,108,GUIMovieTextD,31,0,0
cmp byte[GUIWincoladd],0 cmp byte[GUIWincoladd],0
je .zero je .zero
mov byte[GUItextcolor],211 mov byte[GUItextcolor],211
.zero .zero
sub byte[GUItextcolor],15 sub byte[GUItextcolor],15
GUIOuttextwin2 15,61,16,GUIMovieText4 GUIOuttextwin2 15,61,16,GUIMovieText4
GUIOuttextwin2 15,7,70,GUIMovieTextA GUIOuttextwin2 15,7,115,GUIMovieTextA
mov byte[GUIChoseSaveText2],'0' mov byte[GUIChoseSaveText2],'0'
GUIOuttextwin2 15,71,28,GUIChoseSaveText2 GUIOuttextwin2 15,71,28,GUIChoseSaveText2
mov byte[GUIChoseSaveText2],'1' mov byte[GUIChoseSaveText2],'1'
@@ -5610,7 +5613,7 @@ DisplayGUIMovies:
GUIOuttextwin2 15,91,58,GUIChoseSaveText2 GUIOuttextwin2 15,91,58,GUIChoseSaveText2
add byte[GUItextcolor],15 add byte[GUItextcolor],15
GUIOuttextwin2 15,60,15,GUIMovieText4 GUIOuttextwin2 15,60,15,GUIMovieText4
GUIOuttextwin2 15,6,69,GUIMovieTextA GUIOuttextwin2 15,6,114,GUIMovieTextA
mov byte[GUIChoseSaveText2],'0' mov byte[GUIChoseSaveText2],'0'
GUIOuttextwin2 15,70,27,GUIChoseSaveText2 GUIOuttextwin2 15,70,27,GUIChoseSaveText2
mov byte[GUIChoseSaveText2],'1' mov byte[GUIChoseSaveText2],'1'
@@ -5654,6 +5657,9 @@ GUIMovieText7 db 'OKAY TO OVERWRITE?',0
GUIMovieText8 db 'YES',0 GUIMovieText8 db 'YES',0
GUIMovieText9 db 'NO',0 GUIMovieText9 db 'NO',0
GUIMovieTextA db 'STATUS : ',0 GUIMovieTextA db 'STATUS : ',0
GUIMovieTextB db 'INSERT CHAPTER',0
GUIMovieTextC db 'PREVIOUS CHAPTER',0
GUIMovieTextD db 'NEXT CHAPTER',0
NEWSYM CMovieExt, db 'v' NEWSYM CMovieExt, db 'v'
SECTION .text SECTION .text