Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4083 → Rev 4084

/programs/system/icon_new/RButton.inc
159,34 → 159,15
 
;----------- ®¯à¥¤¥«ï¥¬ ¨ à¨á㥬 ª­®¯ª¨
mov ecx,[NumMenuButt]
xor eax,eax
.DrawUB:
push ecx
 
mov eax,[NumMenuButt]
sub eax,ecx
mov edx,eax ;button ID = ®â 0 ¤® NumMenuButt
or edx,60000000h
shl eax,4+16 ;*16*10000h
mov ecx,eax
mov cx,16
push eax
stdcall DrawRBLine,eax,0
pop eax
add eax,16
 
xor ebx,ebx
mov bx,[RMenuW]
mov esi,[sc.work]
mcall 8 ;®¯à¥¤¥«¨«¨
 
mov ebx,70000h
shr ecx,16
mov bx,cx
add bx,7
 
mov ecx,80000000h
 
mov eax,[NumMenuButt]
sub eax,[esp]
mov edx,[RBMenuCP+eax*8]
mcall 4 ;¯®¤¯¨á «¨
 
pop ecx
loop .DrawUB
;---------------
467,7 → 448,6
 
mcall
 
 
mov bx,[RMenuW] ;¯à ¢®
shl ebx,16
mov bx,[RMenuW]
484,10 → 464,6
 
mcall
 
 
 
 
 
mov eax,[y]
shr eax,4
mov edx,[RBMenuCP+eax*8]
504,8 → 480,6
mov ecx,[sc.work_text]
.L2:
 
 
 
or ecx,80000000h
 
mcall 4