VIEW3DS: header fix

git-svn-id: svn://kolibrios.org@2024 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2011-07-25 22:17:54 +00:00
parent 2724b73716
commit 3693107e89
2 changed files with 3 additions and 23 deletions

View File

@ -271,7 +271,7 @@ base_vector:
if Ext=SSE2 if Ext=SSE2
db ' (SSE2)' db ' (SSE2)'
end if end if
db ' 0.059' db ' 0.059',0
labellen: labellen:
STRdata db '-1 ' STRdata db '-1 '

View File

@ -475,7 +475,7 @@ still:
mov eax,7 ; put image mov eax,7 ; put image
mov ebx,screen mov ebx,screen
mov ecx,SIZE_X shl 16 + SIZE_Y mov ecx,SIZE_X shl 16 + SIZE_Y
mov edx,5 shl 16 + 20 mov edx,5 shl 16 + 22
int 0x40 int 0x40
@ -2641,29 +2641,9 @@ ret
mov cx,[size_y] mov cx,[size_y]
add cx,30 add cx,30
mov edx,0x14000000 ; color of work area RRGGBB,8->color gl mov edx,0x14000000 ; color of work area RRGGBB,8->color gl
mov esi,0x805080d0 ; color of grab bar RRGGBB,8->color gl mov edi,labelt ; WINDOW LABEL
mov edi,0x005080d0 ; color of frames RRGGBB
int 0x40 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,0x20ddeeff ; font 1 & color ( 0xF0RRGGBB )
mov edx,labelt ; pointer to text beginning
mov esi,labellen-labelt ; text length
int 0x40
; CLOSE BUTTON
; mov eax,8 ; function 8 : define and draw button
; movzx ebx,[size_x]
; shl ebx,16
; add ebx, 91 shl 16 + 12
;; mov ebx,(SIZE_X+80+30-19)*65536+12 ; [x start] *65536 + [x size]
; mov ecx,5*65536+12 ; [y start] *65536 + [y size]
; mov edx,1 ; button id
; mov esi,0x6688dd ; button color RRGGBB
; int 0x40
call buttons ; more buttons call buttons ; more buttons
.Y_ADD equ 1 ;-> offset of 'add vector' buttons .Y_ADD equ 1 ;-> offset of 'add vector' buttons