Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 341 → Rev 340

/programs/system/cpu/trunk/cpu.asm
126,7 → 126,7
;close program if we going to reboot
 
close:
or eax,-1 ; close this program
mov eax,-1 ; close this program
int 0x40
 
draw_next_process:
479,12 → 479,19
xor eax,eax ; function 0 : define and draw window
mov ebx,[winxpos] ; [x start] *65536 + [x size]
mov ecx,[winypos] ; [y start] *65536 + [y size]
mov edx,0x13ddffdd ;ffffff ; color of work area RRGGBB,8->color
mov edi,header ; WINDOW CAPTION;
mov edx,0x03ddffdd ;ffffff ; color of work area RRGGBB,8->color
mov esi,0x805080d0 ; color of grab bar RRGGBB,8->color gl
mov edi,0x005080d0 ; color of frames RRGGBB
int 0x40
 
; WINDOW CAPTION
mov eax,4 ; function 4 : write text to window
mov ebx,8*65536+8 ; [x start] *65536 + [y start]
mov ecx,0x10ffffff ; font 1 & color ( 0xF0RRGGBB )
mov edx,labelt ; pointer to text beginning
mov esi,labellen-labelt ; text length
int 0x40
mov eax,4 ; function 4 : write text to window
mov ebx,22*65536+35 ; draw info text with function 4
xor ecx,ecx
mov edx,text
594,7 → 601,9
tbts_3 db 'START'
tbte_2:
 
header db 'Prozesse - Ctrl/Alt/Del',0
labelt:
db 'Prozesse - Ctrl/Alt/Del'
labellen:
 
else if lang eq et
text:
608,7 → 617,9
tbts_3 db 'START'
tbte_2:
 
header db 'Protsessid - Ctrl/Alt/Del',0
labelt:
db 'Protsessid - Ctrl/Alt/Del'
labellen:
 
else
text:
622,7 → 633,9
tbts_3 db 'RUN'
tbte_2:
 
header db 'Processes - Ctrl/Alt/Del',0
labelt:
db 'Processes - Ctrl/Alt/Del'
labellen:
 
end if