Fix skin var

git-svn-id: svn://kolibrios.org@5775 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2015-08-26 23:59:27 +00:00
parent 3ac5f3fc32
commit eccb53cd41
3 changed files with 2 additions and 5 deletions

View File

@ -37,8 +37,8 @@ void ShowPopUp()
GetProcessInfo(#pop_up, SelfInfo); GetProcessInfo(#pop_up, SelfInfo);
DrawBar(0, 0, pop_up.width, pop_up.height, theme.color_list_bg); DrawBar(0, 0, pop_up.width, pop_up.height, theme.color_list_bg);
DrawRectangle(0, 0, pop_up.width, pop_up.height, theme.color_list_border); DrawRectangle(0, 0, pop_up.width, pop_up.height, theme.color_list_border);
WriteText(10, 20, 0x80, theme.color_list_text, "Pixie is not a default MP3 player."); WriteText(10, 20, 0x80, theme.color_list_text, "Hey! Pixie is not a default");
WriteText(10, 32, 0x80, theme.color_list_text, "Make it default?"); WriteText(10, 32, 0x80, theme.color_list_text, "MP3 player. Make it default?");
DrawCaptButton(10, pop_up.height - 30, 80, 20, 10, theme.color_list_active_bg, theme.color_list_active_text, "Yes"); DrawCaptButton(10, pop_up.height - 30, 80, 20, 10, theme.color_list_active_bg, theme.color_list_active_text, "Yes");
DrawCaptButton(pop_up.width-10-80, pop_up.height - 30, 80, 20, 11, theme.color_list_active_bg, theme.color_list_active_text, "No"); DrawCaptButton(pop_up.width-10-80, pop_up.height - 30, 80, 20, 11, theme.color_list_active_bg, theme.color_list_active_text, "No");
} }

View File

@ -22,7 +22,6 @@
scroll_bar scroll1 = { 5,200,398,44,0,2,115,15,0,0xeeeeee,0xBBBbbb,0xeeeeee,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1}; scroll_bar scroll1 = { 5,200,398,44,0,2,115,15,0,0xeeeeee,0xBBBbbb,0xeeeeee,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1};
llist list; llist list;
proc_info Form; proc_info Form;
libimg_image skin;
char pixie_ini_path[4096]; char pixie_ini_path[4096];

View File

@ -39,8 +39,6 @@ char window_title[128],
#define LIST_BACKGROUND_COLOR 0xF3F3F3 #define LIST_BACKGROUND_COLOR 0xF3F3F3
libimg_image skin;
void load_config() void load_config()
{ {
ini_get_str stdcall (#settings_ini_path, "Config", "window_title", #window_title, sizeof(window_title), "Software widget"); ini_get_str stdcall (#settings_ini_path, "Config", "window_title", #window_title, sizeof(window_title), "Software widget");