Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 53 → Rev 52

/kernel/trunk/gui/skincode.inc
53,10 → 53,8
 
load_skin:
pushad
mov [_skinh],22
mov eax,_skin_file
mov edx,skin_data
mov [ebp+SKIN_HEADER.ident],'????'
call load_skin_file
call parse_skin_data
popad
178,12 → 176,6
.exit:
ret
 
sys_putimage_with_check:
or ebx,ebx
jz @f
call sys_putimage
@@: ret
 
drawwindow_IV:
;param1 - aw_yes
 
242,7 → 234,7
add ecx,[_skinh]
 
mov ebx, [ebp+SKIN_DATA.left.data]
call sys_putimage_with_check
call sys_putimage
 
mov esi,[esp]
mov eax,[esi+8]
251,9 → 243,8
cmp eax,[ebp+SKIN_DATA.base.left]
jng non_base
xor edx,edx
mov ecx,[ebp+SKIN_DATA.base.width]
jecxz non_base
div ecx
mov ebx,[ebp+SKIN_DATA.base.width]
div ebx
 
inc eax
 
270,7 → 261,7
shl edx,16
 
push eax ebx ecx edx
call sys_putimage_with_check
call sys_putimage
pop edx ecx ebx eax
 
dec eax
287,7 → 278,7
mov ecx,[ebp+SKIN_DATA.oper.width]
shl ecx,16
add ecx,[_skinh]
call sys_putimage_with_check
call sys_putimage
 
mov esi,[esp]
 
/kernel/trunk/kernel.asm
3901,15 → 3901,6
 
 
sys_putimage:
test ecx,0x80008000
jnz .exit
test ecx,0x0000FFFF
jz .exit
test ecx,0xFFFF0000
jnz @f
.exit:
ret
@@:
; inc [mouse_pause]
cmp [0xfe0c],word 0x12
jne spiv20