Subversion Repositories Kolibri OS

Rev

Rev 4644 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4644 Rev 4677
Line 15... Line 15...
15
"History"                ,03,
15
"History"                ,03,
16
#endif
16
#endif
17
0}; 
17
0}; 
Line 18... Line 18...
18
 
18
 
19
llist menu;
-
 
20
dword col_work    = 0xE4DFE1;
-
 
Line 21... Line 19...
21
dword col_border  = 0x9098B0;
19
llist menu;
22
 
20
 
23
void menu_rmb()
21
void menu_rmb()
24
{
22
{
Line 53... Line 51...
53
				}
51
				}
54
				break;
52
				break;
Line 55... Line 53...
55
				
53
				
56
		case evReDraw:
54
		case evReDraw:
57
				DefineAndDrawWindow(Form.left+m.x,Form.top+m.y+GetSkinHeight()+3,menu.w+2,menu.h+4,0x01, 0, 0, 0x01fffFFF);
55
				DefineAndDrawWindow(Form.left+m.x,Form.top+m.y+GetSkinHeight()+3,menu.w+2,menu.h+4,0x01, 0, 0, 0x01fffFFF);
58
				DrawPopup(0,0,menu.w,menu.h+3,0, col_work,col_border);
56
				DrawPopup(0,0,menu.w,menu.h+3,0, col_bg,border_color);
59
				DrawMenuList();				
57
				DrawMenuList();				
60
	}
58
	}
Line 61... Line 59...
61
}
59
}
Line 68... Line 66...
68
	{
66
	{
69
		if (N==menu.current) 
67
		if (N==menu.current) 
70
			DrawBar(menu.x, N*menu.line_h+menu.y, menu.w-3, menu.line_h, 0x94AECE);
68
			DrawBar(menu.x, N*menu.line_h+menu.y, menu.w-3, menu.line_h, 0x94AECE);
71
		else
69
		else
72
		{
70
		{
73
			DrawBar(menu.x, N*menu.line_h+menu.y, menu.w-3, menu.line_h, col_work);
71
			DrawBar(menu.x, N*menu.line_h+menu.y, menu.w-3, menu.line_h, col_bg);
74
			WriteText(19,N*menu.line_h+9,0x80,0xf2f2f2,ITEMS_LIST[N*2]);
72
			WriteText(19,N*menu.line_h+9,0x80,0xf2f2f2,ITEMS_LIST[N*2]);
75
		}
73
		}
76
		WriteText(18,N*menu.line_h+8,0x80,0x000000,ITEMS_LIST[N*2]);
74
		WriteText(18,N*menu.line_h+8,0x80,0x000000,ITEMS_LIST[N*2]);
77
	}
75
	}
78
	if (cur_encoding!=_DEFAULT)
76
	if (cur_encoding!=_DEFAULT)