Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4006 → Rev 4007

/programs/system/icon_new/DlgAdd.inc
142,7 → 142,7
edit_boxes_set_sys_color edtParams,edtIcon,sc
;edit_boxes_set_sys_color edtIcon,endEdits,sc
 
call DRedraw
call DRedrawWin
 
DMessages:
mcall 10 ;WaitMessage
201,9 → 201,9
 
.DNE3:
and [edtParams.flags],not ed_focus
or [edtIcon.flags],ed_focus
or [edtName.flags],ed_focus
stdcall [edit_box_draw],edtParams
stdcall [edit_box_draw],edtIcon
stdcall [edit_box_draw],edtName
jmp DMessages
 
;.DNE4:
377,7 → 377,7
mcall -1 ;ExitThread
 
;##################################################################
proc DRedraw
proc DRedrawWin
mcall 12,1 ;RedrawWinBeg
mov edx,[sc.work]
or edx,34000000h
474,6 → 474,15
IcoY:DWORD,\
iIcon:DWORD
 
@@: ;¦¤ñ¬, ª®£¤  ®á¢®¡®¤¨âáï ¡ãää¥à
cmp [bIcoBuff],1
jne @f
mcall 5,1
jmp @b
@@:
 
mov [bIcoBuff],1 ;¡«®ª¨à㥬 IconArea
 
mov ecx,[sbIcons.position]
xor eax,eax
m2m dword[iIcon],0
491,7 → 500,6
 
mov [IcoX],ICONSX
 
 
mov ecx,ICONS_DRAW_COUNTW
.DrawIcons:
push ecx
517,7 → 525,7
mov eax,[sc.work]
@@:
 
mov word[edi],ax
mov [edi],ax
shr eax,16
mov [edi+2],al
add edi,3
585,6 → 593,8
loop .DrawIcons2
 
.endProc:
 
mov [bIcoBuff],0 ;à §¡«®ª¨à㥬 ¡ãä¥à
ret
endp