forked from KolibriOS/kolibrios
skin: supported new system color table
git-svn-id: svn://kolibrios.org@4778 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ea2aa2b26e
commit
31e84c92d6
@ -121,7 +121,7 @@ parse_skin_data:
|
|||||||
lea esi, [ebx+SKIN_PARAMS.dtp.data]
|
lea esi, [ebx+SKIN_PARAMS.dtp.data]
|
||||||
mov edi, common_colours
|
mov edi, common_colours
|
||||||
mov ecx, [ebx+SKIN_PARAMS.dtp.size]
|
mov ecx, [ebx+SKIN_PARAMS.dtp.size]
|
||||||
and ecx, 127
|
and ecx, 255
|
||||||
rep movsb
|
rep movsb
|
||||||
mov eax, dword[ebx+SKIN_PARAMS.margin.right]
|
mov eax, dword[ebx+SKIN_PARAMS.margin.right]
|
||||||
mov dword[_skinmargins+0], eax
|
mov dword[_skinmargins+0], eax
|
||||||
|
@ -26,7 +26,7 @@ macro FuncTable name, table_name, [label]
|
|||||||
}
|
}
|
||||||
|
|
||||||
uglobal
|
uglobal
|
||||||
common_colours rd 32
|
common_colours rd 48
|
||||||
draw_limits RECT
|
draw_limits RECT
|
||||||
endg
|
endg
|
||||||
|
|
||||||
@ -173,7 +173,7 @@ align 4
|
|||||||
syscall_display_settings.02:
|
syscall_display_settings.02:
|
||||||
dec ebx
|
dec ebx
|
||||||
mov esi, ecx
|
mov esi, ecx
|
||||||
and edx, 127
|
and edx, 255
|
||||||
mov edi, common_colours
|
mov edi, common_colours
|
||||||
mov ecx, edx
|
mov ecx, edx
|
||||||
rep movsb
|
rep movsb
|
||||||
@ -183,7 +183,7 @@ syscall_display_settings.02:
|
|||||||
align 4
|
align 4
|
||||||
syscall_display_settings.03:
|
syscall_display_settings.03:
|
||||||
mov edi, ecx
|
mov edi, ecx
|
||||||
and edx, 127
|
and edx, 255
|
||||||
mov esi, common_colours
|
mov esi, common_colours
|
||||||
mov ecx, edx
|
mov ecx, edx
|
||||||
rep movsb
|
rep movsb
|
||||||
|
Loading…
Reference in New Issue
Block a user