fasm: changing program colors, while user changed the skin

git-svn-id: svn://kolibrios.org@2672 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2012-05-24 21:21:21 +00:00
parent dcb2887375
commit 681217c017

View File

@ -102,9 +102,6 @@ load_libraries l_libs_start,load_lib_end
mcall 40,0x27 ;¬ áª  á¨á⥬­ëå ᮡë⨩
;---------------------------------------------------------------------
init_checkboxes2 ch1_dbg,ch1_dbg+ch_struc_size
get_sys_colors 1,0
edit_boxes_set_sys_color edit1,editboxes_end,sc
check_boxes_set_sys_color2 ch1_dbg,ch1_dbg+ch_struc_size,sc
;---------------------------------------------------------------------
; OpenDialog initialisation
push dword OpenDialog_data
@ -185,7 +182,10 @@ mouse:
draw_window:
pusha
mcall 12,1 ; Start of draw
;get_sys_colors 1,0
get_sys_colors 1,0
edit_boxes_set_sys_color edit1,editboxes_end,sc
check_boxes_set_sys_color2 ch1_dbg,ch1_dbg+ch_struc_size,sc
mov edx,[sc.work]
or edx,0x33000000