forked from KolibriOS/kolibrios
bugfixes in KIV
git-svn-id: svn://kolibrios.org@1087 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
4f860a13de
commit
07ed9100ad
@ -189,12 +189,12 @@ button:
|
|||||||
cmp eax, 'bck'
|
cmp eax, 'bck'
|
||||||
jnz @f
|
jnz @f
|
||||||
call prev_image
|
call prev_image
|
||||||
jmp still
|
jmp red
|
||||||
@@:
|
@@:
|
||||||
cmp eax, 'fwd'
|
cmp eax, 'fwd'
|
||||||
jnz @f
|
jnz @f
|
||||||
call next_image
|
call next_image
|
||||||
jmp still
|
jmp red
|
||||||
@@:
|
@@:
|
||||||
|
|
||||||
cmp eax, 1
|
cmp eax, 1
|
||||||
@ -587,7 +587,7 @@ draw_window:
|
|||||||
mcall 9, procinfo
|
mcall 9, procinfo
|
||||||
|
|
||||||
cmp dword [ebx + 66], 0
|
cmp dword [ebx + 66], 0
|
||||||
jle .noredraw
|
jle .posok
|
||||||
|
|
||||||
mov edx, ecx
|
mov edx, ecx
|
||||||
mov esi, ecx
|
mov esi, ecx
|
||||||
@ -619,7 +619,9 @@ draw_window:
|
|||||||
|
|
||||||
mcall 9, procinfo, -1
|
mcall 9, procinfo, -1
|
||||||
mov [bFirstDraw], 1
|
mov [bFirstDraw], 1
|
||||||
mov ebx, [procinfo + 62]
|
cmp dword [ebx + 66], 0
|
||||||
|
jle .nodraw
|
||||||
|
mov ebx, [ebx + 62]
|
||||||
inc ebx
|
inc ebx
|
||||||
mcall 13, , <0, 35>, 0xFFFFFF
|
mcall 13, , <0, 35>, 0xFFFFFF
|
||||||
mov ecx, [procinfo + 66]
|
mov ecx, [procinfo + 66]
|
||||||
@ -702,9 +704,9 @@ draw_window:
|
|||||||
|
|
||||||
call draw_cur_frame
|
call draw_cur_frame
|
||||||
|
|
||||||
|
.nodraw:
|
||||||
mcall 12, 2
|
mcall 12, 2
|
||||||
|
|
||||||
.noredraw:
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
draw_cur_frame:
|
draw_cur_frame:
|
||||||
|
Loading…
Reference in New Issue
Block a user