Subversion Repositories Kolibri OS

Rev

Rev 2083 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2083 Rev 7930
Line 679... Line 679...
679
    int  0x40
679
    int  0x40
Line 680... Line 680...
680
 
680
 
681
       ; DRAW WINDOW
681
       ; DRAW WINDOW
682
    mov  eax,0	    ; function 0 : define and draw window
682
    mov  eax,0	    ; function 0 : define and draw window
683
    mov  ebx,120*65536+SIZE_X+20    ; [x start] *65536 + [x size]
683
    mov  ebx,120*65536+SIZE_X+20    ; [x start] *65536 + [x size]
684
    mov  ecx,120*65536+SIZE_Y+45    ; [y start] *65536 + [y size]
684
    mov  ecx,120*65536+SIZE_Y+55    ; [y start] *65536 + [y size]
685
    mov  edx,0x34000000     ; color of work area RRGGBB,8->color gl
-
 
686
    ;mov  esi,0x805080d0     ; color of grab bar  RRGGBB,8->color gl
685
    mov  edx,0x34000000     ; color of work area RRGGBB,8->color gl
687
    mov  edi,labelt	; color of frames    RRGGBB
686
    mov  edi,win_title	; color of frames    RRGGBB
Line 688... Line 687...
688
    int  0x40
687
    int  0x40
689
 
688
 
690
      ; flag color button
689
      ; flag color button
691
    mov  eax,8	    ; function 8 : define and draw button
-
 
692
    mov  ebx,(SIZE_X-30)*65536+20    ; [x start] *65536 + [x size]
-
 
693
    mov  ecx,5*65536+12     ; [y start] *65536 + [y size]
-
 
694
    mov  edx,2	    ; button id
-
 
695
    mov  esi,0x555555	  ; button color RRGGBB
-
 
696
    int  0x40
-
 
697
       ; spped button
-
 
698
    mov  eax,8	    ; function 8 : define and draw button
690
    mov  eax,8	    ; function 8 : define and draw button
699
    mov  ebx,(SIZE_X-60)*65536+20    ; [x start] *65536 + [x size]
691
    mov  ebx,(SIZE_X-52)*65536+40    ; [x start] *65536 + [x size]
700
    mov  ecx,5*65536+12     ; [y start] *65536 + [y size]
692
    mov  ecx,5*65536+12     ; [y start] *65536 + [y size]
-
 
693
    mov  edx,3	    ; button id
-
 
694
    mov  esi,0x888888	  ; button color RRGGBB
-
 
695
    int  0x40
-
 
696
       ; speed button
-
 
697
    sub  ebx,48*65536    ; [x start] *65536 + [x size]
-
 
698
    dec  edx    ; button id
-
 
699
    int  0x40
-
 
700
	
-
 
701
	mov  eax, 4
-
 
702
	mov  ebx, (SIZE_X-100+6)*65536+8
701
    mov  edx,3	    ; button id
703
	mov  ecx, 0x80EEEeee
Line 702... Line 704...
702
    mov  esi,0x555555	  ; button color RRGGBB
704
	mov  edx, btn_title
703
    int  0x40
705
	int  0x40
704
 
706
 
Line 729... Line 731...
729
dw 38,39,29
731
dw 38,39,29
730
 dd 0xffffffff ;<- end marker
732
 dd 0xffffffff ;<- end marker
Line 731... Line -...
731
 
-
 
732
 
733
 
733
 
734
 
-
 
735
 
734
labelt:
736
win_title    db   '3d wavy rotaring area',0
735
     db   '3d wavy rotaring area',0
737
btn_title db 'Color   Speed',0
736
labellen:
738
 
737
sinbeta rd 1
739
sinbeta rd 1
738
cosbeta rd 1
740
cosbeta rd 1