forked from KolibriOS/kolibrios
fix BUTTON.WIDTH in cpu.asm
git-svn-id: svn://kolibrios.org@9198 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
f3105b9785
commit
3dc5b3d654
@ -36,7 +36,7 @@ UNDERTABLE:
|
|||||||
.X = PROCESS_TABLE.X
|
.X = PROCESS_TABLE.X
|
||||||
.Y = PROCESS_TABLE.Y + PROCESS_TABLE.HEIGHT + 20
|
.Y = PROCESS_TABLE.Y + PROCESS_TABLE.HEIGHT + 20
|
||||||
BUTTON:
|
BUTTON:
|
||||||
.WIDTH = 120
|
.WIDTH = 130
|
||||||
.HEIGHT = 16 + 4
|
.HEIGHT = 16 + 4
|
||||||
EDITBOX:
|
EDITBOX:
|
||||||
.X = CHECKBOX.X + 100
|
.X = CHECKBOX.X + 100
|
||||||
@ -281,7 +281,7 @@ draw_empty_slot:
|
|||||||
mov ecx,[curposy]
|
mov ecx,[curposy]
|
||||||
shl ecx,16
|
shl ecx,16
|
||||||
mov cx, BUTTON.HEIGHT
|
mov cx, BUTTON.HEIGHT
|
||||||
mcall SF_DRAW_RECT, <132, PROCESS_TABLE.WIDTH-131>, , [bar_bacground_color]
|
mcall SF_DRAW_RECT, <141, PROCESS_TABLE.WIDTH-141>, , [bar_bacground_color]
|
||||||
@@:
|
@@:
|
||||||
ret
|
ret
|
||||||
;-------------------------------------------------------------------------------
|
;-------------------------------------------------------------------------------
|
||||||
@ -324,7 +324,7 @@ draw_next_process:
|
|||||||
@@:
|
@@:
|
||||||
;inc cx
|
;inc cx
|
||||||
|
|
||||||
mcall SF_DRAW_RECT, <131, PROCESS_TABLE.WIDTH-131>
|
mcall SF_DRAW_RECT, <141, PROCESS_TABLE.WIDTH-141>
|
||||||
|
|
||||||
mov [bar_bacground_color],edx
|
mov [bar_bacground_color],edx
|
||||||
;nothing else should be done if there is no process for this button
|
;nothing else should be done if there is no process for this button
|
||||||
|
Loading…
Reference in New Issue
Block a user