From 31e84c92d63cd0aec33074bad8656affb0bda945 Mon Sep 17 00:00:00 2001 From: Akyltist Date: Sun, 6 Apr 2014 10:06:51 +0000 Subject: [PATCH] skin: supported new system color table git-svn-id: svn://kolibrios.org@4778 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/gui/skincode.inc | 2 +- kernel/trunk/gui/window.inc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/trunk/gui/skincode.inc b/kernel/trunk/gui/skincode.inc index 6c3c1587ee..96943eadb7 100644 --- a/kernel/trunk/gui/skincode.inc +++ b/kernel/trunk/gui/skincode.inc @@ -121,7 +121,7 @@ parse_skin_data: lea esi, [ebx+SKIN_PARAMS.dtp.data] mov edi, common_colours mov ecx, [ebx+SKIN_PARAMS.dtp.size] - and ecx, 127 + and ecx, 255 rep movsb mov eax, dword[ebx+SKIN_PARAMS.margin.right] mov dword[_skinmargins+0], eax diff --git a/kernel/trunk/gui/window.inc b/kernel/trunk/gui/window.inc index d6d97681c1..ff85e95601 100644 --- a/kernel/trunk/gui/window.inc +++ b/kernel/trunk/gui/window.inc @@ -26,7 +26,7 @@ macro FuncTable name, table_name, [label] } uglobal - common_colours rd 32 + common_colours rd 48 draw_limits RECT endg @@ -173,7 +173,7 @@ align 4 syscall_display_settings.02: dec ebx mov esi, ecx - and edx, 127 + and edx, 255 mov edi, common_colours mov ecx, edx rep movsb @@ -183,7 +183,7 @@ syscall_display_settings.02: align 4 syscall_display_settings.03: mov edi, ecx - and edx, 127 + and edx, 255 mov esi, common_colours mov ecx, edx rep movsb