Rev 1416 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1416 | Rev 2493 | ||
---|---|---|---|
Line 293... | Line 293... | ||
293 | ; ********************************************* |
293 | ; ********************************************* |
Line 294... | Line 294... | ||
294 | 294 | ||
Line 295... | Line -... | ||
295 | - | ||
296 | draw_window: |
- | |
297 | 295 | ||
298 | mov eax,12 ; function 12:tell os about windowdraw |
296 | draw_window: |
299 | mov ebx,1 ; 1, start of draw |
297 | |
300 | mcall |
- | |
301 | 298 | mcall 12,1 |
|
302 | ; DRAW WINDOW |
299 | |
303 | mov eax,0 ; function 0 : define and draw window |
- | |
304 | mov ebx,50*65536+649 ; [x start] *65536 + [x size] |
- | |
305 | mov ecx,50*65536+506 ; [y start] *65536 + [y size] |
- | |
306 | mov edx,0x74ffffff ; color of work area RRGGBB,8->color gl |
300 | mcall 48, 4 ;get skin width |
307 | mov edi,title |
- | |
308 | mcall |
- | |
309 | 301 | lea ecx, [50*65536+484+eax] ;[y start] *65536 + [y size] + [skin_height] |
|
Line 310... | Line 302... | ||
310 | mov eax,12 ; function 12:tell os about windowdraw |
302 | mcall 0,<50,649>,,0x34ffffff,,title ;draw window |
Line 311... | Line 303... | ||
311 | mov ebx,2 ; 2, end of draw |
303 | |
312 | mcall |
304 | mcall 12,2 |