VIEW3DS: header fix
git-svn-id: svn://kolibrios.org@2024 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
2724b73716
commit
3693107e89
|
@ -271,7 +271,7 @@ base_vector:
|
|||
if Ext=SSE2
|
||||
db ' (SSE2)'
|
||||
end if
|
||||
db ' 0.059'
|
||||
db ' 0.059',0
|
||||
labellen:
|
||||
STRdata db '-1 '
|
||||
|
||||
|
|
|
@ -475,7 +475,7 @@ still:
|
|||
mov eax,7 ; put image
|
||||
mov ebx,screen
|
||||
mov ecx,SIZE_X shl 16 + SIZE_Y
|
||||
mov edx,5 shl 16 + 20
|
||||
mov edx,5 shl 16 + 22
|
||||
int 0x40
|
||||
|
||||
|
||||
|
@ -2641,29 +2641,9 @@ ret
|
|||
mov cx,[size_y]
|
||||
add cx,30
|
||||
mov edx,0x14000000 ; color of work area RRGGBB,8->color gl
|
||||
mov esi,0x805080d0 ; color of grab bar RRGGBB,8->color gl
|
||||
mov edi,0x005080d0 ; color of frames RRGGBB
|
||||
mov edi,labelt ; WINDOW LABEL
|
||||
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
|
||||
|
||||
.Y_ADD equ 1 ;-> offset of 'add vector' buttons
|
||||
|
|
Loading…
Reference in New Issue