Subversion Repositories Kolibri OS

Rev

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

Rev 340 Rev 341
Line 124... Line 124...
124
    mov  ebx,1
124
    mov  ebx,1
125
    int  0x40
125
    int  0x40
126
;close program if we going to reboot
126
;close program if we going to reboot
Line 127... Line 127...
127
 
127
 
128
  close:
128
  close:
129
    mov  eax,-1                 ; close this program
129
    or   eax,-1                 ; close this program
Line 130... Line 130...
130
    int  0x40
130
    int  0x40
131
 
131
 
132
draw_next_process:
132
draw_next_process:
Line 477... Line 477...
477
 
477
 
478
                                   ; DRAW WINDOW
478
                                   ; DRAW WINDOW
479
    xor  eax,eax                   ; function 0 : define and draw window
479
    xor  eax,eax                   ; function 0 : define and draw window
480
    mov  ebx,[winxpos]             ; [x start] *65536 + [x size]
480
    mov  ebx,[winxpos]             ; [x start] *65536 + [x size]
481
    mov  ecx,[winypos]             ; [y start] *65536 + [y size]
481
    mov  ecx,[winypos]             ; [y start] *65536 + [y size]
482
    mov  edx,0x03ddffdd  ;ffffff   ; color of work area RRGGBB,8->color
-
 
483
    mov  esi,0x805080d0            ; color of grab bar  RRGGBB,8->color gl
482
    mov  edx,0x13ddffdd  ;ffffff   ; color of work area RRGGBB,8->color
484
    mov  edi,0x005080d0            ; color of frames    RRGGBB
483
    mov  edi,header                ; WINDOW CAPTION;
Line 485... Line -...
485
    int  0x40
-
 
486
 
-
 
487
                                   ; WINDOW CAPTION
-
 
488
    mov  eax,4                     ; function 4 : write text to window
-
 
489
    mov  ebx,8*65536+8             ; [x start] *65536 + [y start]
-
 
490
    mov  ecx,0x10ffffff            ; font 1 & color ( 0xF0RRGGBB )
-
 
491
    mov  edx,labelt                ; pointer to text beginning
-
 
Line -... Line 484...
-
 
484
    int  0x40
492
    mov  esi,labellen-labelt       ; text length
485
 
493
    int  0x40
486
                                   
494
 
487
    mov  eax,4                     ; function 4 : write text to window
495
    mov  ebx,22*65536+35           ; draw info text with function 4
488
    mov  ebx,22*65536+35           ; draw info text with function 4
496
    xor  ecx,ecx
489
    xor  ecx,ecx
Line 599... Line 592...
599
tbte:
592
tbte:
600
tbts_2  db  '>'
593
tbts_2  db  '>'
601
tbts_3  db  'START'
594
tbts_3  db  'START'
602
tbte_2:
595
tbte_2:
Line 603... Line -...
603
 
-
 
604
labelt:
596
 
605
     db   'Prozesse  - Ctrl/Alt/Del'
-
 
Line 606... Line 597...
606
labellen:
597
header  db   'Prozesse  - Ctrl/Alt/Del',0
607
 
598
 
608
else if lang eq et
599
else if lang eq et
609
text:
600
text:
Line 615... Line 606...
615
tbte:
606
tbte:
616
tbts_2	db  '>'
607
tbts_2	db  '>'
617
tbts_3	db  'START'
608
tbts_3	db  'START'
618
tbte_2:
609
tbte_2:
Line 619... Line -...
619
 
-
 
620
labelt:
610
 
621
     db   'Protsessid - Ctrl/Alt/Del'
-
 
Line 622... Line 611...
622
labellen:
611
header  db   'Protsessid - Ctrl/Alt/Del',0
623
 
612
 
624
else
613
else
625
text:
614
text:
Line 631... Line 620...
631
tbte:
620
tbte:
632
tbts_2  db  '>'
621
tbts_2  db  '>'
633
tbts_3  db  'RUN'
622
tbts_3  db  'RUN'
634
tbte_2:
623
tbte_2:
Line 635... Line -...
635
 
-
 
636
labelt:
624
 
637
     db   'Processes - Ctrl/Alt/Del'
-
 
Line 638... Line 625...
638
labellen:
625
header  db   'Processes - Ctrl/Alt/Del',0
Line 639... Line 626...
639
 
626