Subversion Repositories Kolibri OS

Rev

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

Rev 2198 Rev 2531
Line 159... Line 159...
159
 
159
 
160
                                   ; DRAW WINDOW
160
                                   ; DRAW WINDOW
161
    mov  eax, 0                    ; function 0 : define and draw window
161
    mov  eax, 0                    ; function 0 : define and draw window
162
    mov  ebx, 100*65536+200        ; [x start] *65536 + [x size]
162
    mov  ebx, 100*65536+200        ; [x start] *65536 + [x size]
163
    mov  ecx, 100*65536+267        ; [y start] *65536 + [y size]
163
    mov  ecx, 100*65536+267        ; [y start] *65536 + [y size]
164
    mov  edx, [sc.work]            ; color of work area RRGGBB,8->color gl
164
    mov  edx, 0xffffff	;[sc.work] ; color of work area RRGGBB,8->color gl
165
    or   edx, 0x34000000
165
    or   edx, 0x34000000
166
    mov  edi, title                ; WINDOW LABEL
166
    mov  edi, title                ; WINDOW LABEL
Line 167... Line 167...
167
    mcall
167
    mcall
Line 192... Line 192...
192
    mov  cx,dx
192
    mov  cx,dx
193
    shl  ecx,16
193
    shl  ecx,16
194
    add  ecx,10
194
    add  ecx,10
195
    mov  eax,13   ; filled rectangle
195
    mov  eax,13   ; filled rectangle
196
    mov  ebx,15*65536+160
196
    mov  ebx,15*65536+160
197
    mov  edx,[sc.work]
197
    mov  edx,0xffffff	;[sc.work]
198
    mcall
198
    mcall
199
    popa
199
    popa
200
    pusha
200
    pusha
201
    mov  ebx,edx
201
    mov  ebx,edx
202
    add  ebx,70*65536
202
    add  ebx,70*65536
203
    mov  eax,4    ; text
203
    mov  eax,4    ; text
204
    mov  ecx,[sc.work_text]
204
;    mov  ecx,[sc.work_text]
-
 
205
    xor  ecx,ecx
205
    mov  edx,key_codes
206
    mov  edx,key_codes
206
    imul edi,12
207
    imul edi,12
207
    add  edx,edi
208
    add  edx,edi
208
    mov  esi,12
209
    mov  esi,12
209
    mcall
210
    mcall