forked from KolibriOS/kolibrios
calc: better vertical align of digits on buttons, basic skin height handling, window width increased (visual fix)
git-svn-id: svn://kolibrios.org@2745 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3278228a4b
commit
cef1d79688
@ -653,9 +653,13 @@ draw_window:
|
|||||||
mov edx,sizeof.system_colors
|
mov edx,sizeof.system_colors
|
||||||
mcall
|
mcall
|
||||||
|
|
||||||
|
mov eax,48
|
||||||
|
mov ebx,4
|
||||||
|
int 0x40
|
||||||
|
mov ecx, eax
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov ebx,200 shl 16+255
|
mov ebx,200 shl 16+256
|
||||||
mov ecx,200 shl 16+180
|
add ecx,200 shl 16+158
|
||||||
mov edx,[sc.work]
|
mov edx,[sc.work]
|
||||||
or edx,0x34000000
|
or edx,0x34000000
|
||||||
mov edi,title
|
mov edi,title
|
||||||
@ -684,7 +688,7 @@ draw_window:
|
|||||||
mcall ,220 shl 16+8,7 shl 16+8,3 ; 'dec-bin-hex'
|
mcall ,220 shl 16+8,7 shl 16+8,3 ; 'dec-bin-hex'
|
||||||
|
|
||||||
mov eax,4
|
mov eax,4
|
||||||
mov ebx,27 shl 16+54
|
mov ebx,27 shl 16+55
|
||||||
mov ecx,[sc.work_button_text]
|
mov ecx,[sc.work_button_text]
|
||||||
mov edx,text
|
mov edx,text
|
||||||
mov esi,33
|
mov esi,33
|
||||||
|
Loading…
Reference in New Issue
Block a user