forked from KolibriOS/kolibrios
spanel: minimal fixes
git-svn-id: svn://kolibrios.org@2191 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
be53c6ad29
commit
b13687630b
@ -186,17 +186,8 @@ draw_window:
|
|||||||
mov eax,0 ; function 0 : define and draw window
|
mov eax,0 ; function 0 : define and draw window
|
||||||
mov ebx,100*65536+385 ; [x start] *65536 + [x size]
|
mov ebx,100*65536+385 ; [x start] *65536 + [x size]
|
||||||
mov ecx,100*65536+190 ; [y start] *65536 + [y size]
|
mov ecx,100*65536+190 ; [y start] *65536 + [y size]
|
||||||
mov edx,0x03ffffff ; color of work area RRGGBB,8->color gl
|
mov edx,0x14ffffff ; color of work area RRGGBB,8->color gl
|
||||||
mov esi,0x805080d0 ; color of grab bar RRGGBB,8->color gl
|
mov edi,labelt ; color of frames RRGGBB
|
||||||
mov edi,0x005080d0 ; color of frames RRGGBB
|
|
||||||
int 0x40
|
|
||||||
|
|
||||||
; WINDOW LABEL
|
|
||||||
mov eax,4 ; function 4 : write text to window
|
|
||||||
mov ebx,8*65536+8 ; [x start] *65536 + [y start]
|
|
||||||
mov ecx,0x10ddeeff ; color of text RRGGBB
|
|
||||||
mov edx,labelt ; pointer to text beginning
|
|
||||||
mov esi,labellen-labelt ; text length
|
|
||||||
int 0x40
|
int 0x40
|
||||||
|
|
||||||
mov eax,8
|
mov eax,8
|
||||||
@ -259,7 +250,7 @@ db 'x'
|
|||||||
|
|
||||||
|
|
||||||
labelt:
|
labelt:
|
||||||
db 'PANEL SETUP'
|
db 'Panel setup'
|
||||||
labellen:
|
labellen:
|
||||||
|
|
||||||
I_END:
|
I_END:
|
||||||
|
Loading…
Reference in New Issue
Block a user