Subversion Repositories Kolibri OS

Rev

Rev 135 | Rev 274 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 135 Rev 195
Line 40... Line 40...
40
    shl  ecx,16
40
    shl  ecx,16
41
;    add  ecx,100
41
;    add  ecx,100
42
    sub  ecx,50*10000h - 100
42
    sub  ecx,50*10000h - 100
Line 43... Line 43...
43
 
43
 
44
    mov  eax,0			   ; define and draw window
44
    mov  eax,0			   ; define and draw window
45
    mov  edx,[sc.work_button]
45
    mov  edx,[sc.work]
46
    mov  esi,edx ;[sc.work_button]
46
    mov  esi,edx
47
    xor edi,edi
47
    mov  edi,edx
Line 48... Line 48...
48
    int  0x40
48
    int  0x40
49
 
49
 
50
   xor edx,edx
50
   mov edx,0x444444
51
   mov al,13
51
   mov al,13
52
   mcall ,14 shl 16+90,25 shl 16+27
52
   mcall ,18 shl 16+90,29 shl 16+27
53
   push ebx
53
   push ebx
54
   mcall ,117 shl 16+90,
54
   mcall ,121 shl 16+90,
55
   xchg ebx,[esp]
55
   xchg ebx,[esp]
56
   mcall ,,59 shl 16+27
56
   mcall ,,63 shl 16+27
Line -... Line 57...
-
 
57
   pop  ebx
57
   pop  ebx
58
   mcall
58
   mcall
59
 
59
 
60
   xor edx,edx
60
   mov al,8
61
   mov al,8
61
   inc edx
62
   inc edx
62
   mcall ,15 shl 16+87,26 shl 16+24,,0xdd7700
63
   mcall ,15 shl 16+87,26 shl 16+24,,0xbb0055
63
   inc edx
64
   inc edx
64
   mcall ,118 shl 16+87,,,0xbbbb   ;cccc
65
   mcall ,118 shl 16+87,,,0xaaaa   ;cccc
65
   inc edx
66
   inc edx
Line 66... Line 67...
66
   mcall ,15 shl 16+87,60 shl 16+24,,0xbb00
67
   mcall ,15 shl 16+87,60 shl 16+24,,0x9900
67
   inc edx
68
   inc edx
68
   mcall ,118 shl 16+87,,,0xbbbbbb ;cccccc
69
   mcall ,118 shl 16+87,,,0xaaaaaa ;cccccc
69
 
70
 
70
    mov  al,4			   ; 0x00000004 = write text
71
    mov  al,4			   ; 0x00000004 = write text
71
    mov  ebx,75*65536+10
72
    mov  ebx,75*65536+10
72
    mov  ecx,[sc.work_button_text] ; 8b window nro - RR GG BB color
73
    mov  ecx,[sc.work_text] ; 8b window nro - RR GG BB color
Line -... Line 74...
-
 
74
    or   ecx,0x10000000
73
    or	 ecx,0x10000000
75
    mov  edx,label1		   ; pointer to text beginning
74
    mov  edx,label1		   ; pointer to text beginning
76
    mov  esi,label1_len 	   ; text length
75
    mov  esi,label1_len 	   ; text length
77
    int  0x40
76
    int  0x40
78
 
77
 
79
    mov  ecx,[sc.work_button_text] ; 8b window nro - RR GG BB color