fix BUTTON.WIDTH in cpu.asm

git-svn-id: svn://kolibrios.org@9198 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Doczom 2021-09-22 14:50:17 +00:00
parent f3105b9785
commit 3dc5b3d654

View File

@ -36,7 +36,7 @@ UNDERTABLE:
.X = PROCESS_TABLE.X
.Y = PROCESS_TABLE.Y + PROCESS_TABLE.HEIGHT + 20
BUTTON:
.WIDTH = 120
.WIDTH = 130
.HEIGHT = 16 + 4
EDITBOX:
.X = CHECKBOX.X + 100
@ -281,7 +281,7 @@ draw_empty_slot:
mov ecx,[curposy]
shl ecx,16
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
;-------------------------------------------------------------------------------
@ -324,7 +324,7 @@ draw_next_process:
@@:
;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
;nothing else should be done if there is no process for this button