Subversion Repositories Kolibri OS

Compare Revisions

Ignore whitespace Rev 7660 → Rev 7778

/programs/cmm/appearance/appearance.c
32,7 → 32,7
?define T_SKINS "‘â¨«ì ®ª®­"
?define T_WALLPAPERS "Ž¡®¨"
?define T_SELECT_FOLDER "‚ë¡à âì ¯ ¯ªã"
?define MENU_LIST "Žâªàëâì ä ©« Enter\n“¤ «¨âì ä ©« Del"
?define MENU_LIST "Žâªàëâì ä ©« |Enter\n“¤ «¨âì ä ©« |Del"
?define T_PICTURE_MODE " ®«®¦¥­¨¥ ª à⨭ª¨ "
?define T_CHECKBOX_STRETCH " áâï­ãâì"
?define T_CHECKBOX_TILED "‡ ¬®áâ¨âì"
42,7 → 42,7
?define T_SKINS "Skins"
?define T_WALLPAPERS "Wallpapers"
?define T_SELECT_FOLDER "Select folder"
?define MENU_LIST "Open file Enter\nDelete file Del"
?define MENU_LIST "Open file |Enter\nDelete file |Del"
?define T_PICTURE_MODE " Picture Mode "
?define T_CHECKBOX_STRETCH "Stretch"
?define T_CHECKBOX_TILED "Tiled"
121,11 → 121,12
edit_box_mouse stdcall (#edit_st);
}
 
if (mouse.pkm)&&(select_list.MouseOver(mouse.x, mouse.y)) {
if (mouse.key&MOUSE_RIGHT) && (mouse.up)
&&(select_list.MouseOver(mouse.x, mouse.y)) {
select_list.ProcessMouse(mouse.x, mouse.y);
SelectList_Draw();
EventSetNewCurrent();
menu.show(Form.left+mouse.x, Form.top+mouse.y+skin_height, 146, MENU_LIST, 10);
open_lmenu(Form.left+mouse.x+5, Form.top+mouse.y+skin_height, 1, 0, MENU_LIST);
}
break;
 
174,11 → 175,7
case evReDraw:
draw_window();
if (menu.cur_y) {
if (menu.cur_y == 10) EventOpenFile();
if (menu.cur_y == 11) EventDeleteFile();
menu.cur_y = 0;
};
EventHandleMenuClick();
}
}
 
408,4 → 405,17
ExitProcess();
}
 
void EventHandleMenuClick()
{
switch (get_menu_click())
{
case 1:
EventOpenFile();
break;
case 2:
EventDeleteFile();
break;
};
}
 
stop: