Subversion Repositories Kolibri OS

Rev

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

Rev 7490 Rev 7634
Line 91... Line 91...
91
				if (menu_call_mouse) 
91
				if (menu_call_mouse) 
92
					DefineAndDrawWindow(mouse.x+Form.left+5, mouse.y+Form.top+skin_height,rbmenu.w+3,rbmenu.h+6,0x01, 0, 0, 0x01fffFFF);
92
					DefineAndDrawWindow(mouse.x+Form.left+5, mouse.y+Form.top+skin_height,rbmenu.w+3,rbmenu.h+6,0x01, 0, 0, 0x01fffFFF);
93
				else 
93
				else 
94
					DefineAndDrawWindow(Form.left+files.x+15, files.item_h*files.cur_y+files.y+Form.top+30,rbmenu.w+3,rbmenu.h+6,0x01, 0, 0, 0x01fffFFF);
94
					DefineAndDrawWindow(Form.left+files.x+15, files.item_h*files.cur_y+files.y+Form.top+30,rbmenu.w+3,rbmenu.h+6,0x01, 0, 0, 0x01fffFFF);
95
				GetProcessInfo(#MenuForm, SelfInfo);
95
				GetProcessInfo(#MenuForm, SelfInfo);
96
				DrawRectangle(0,0,rbmenu.w+1,rbmenu.h+2,col_graph);
96
				DrawRectangle(0,0,rbmenu.w+1,rbmenu.h+2,col.graph);
97
				DrawBar(1,1,rbmenu.w,1,0xFFFfff);
97
				DrawBar(1,1,rbmenu.w,1,0xFFFfff);
98
				DrawPopupShadow(1,1,rbmenu.w,rbmenu.h,0);
98
				DrawPopupShadow(1,1,rbmenu.w,rbmenu.h,0);
99
				MenuListRedraw();
99
				MenuListRedraw();
100
	}
100
	}
101
}
101
}
Line 124... Line 124...
124
			m_col_sh_text = 0xFAFAFA;
124
			m_col_sh_text = 0xFAFAFA;
125
			m_col_text = 0;
125
			m_col_text = 0;
126
		}
126
		}
127
		else
127
		else
128
		{
128
		{
129
			m_col_bg = col_work;
129
			m_col_bg = col.work;
130
			m_col_text = system.color.work_text;
130
			m_col_text = system.color.work_text;
131
			m_col_sh_text = system.color.work_light;
131
			m_col_sh_text = system.color.work_light;
132
		}
132
		}
133
		DrawBar(2, start_y+2, rbmenu.w-1, rbmenu.item_h, m_col_bg);
133
		DrawBar(2, start_y+2, rbmenu.w-1, rbmenu.item_h, m_col_bg);
134
		WriteText(8, start_y + rbmenu.text_y + 4, rbmenu.font_type, m_col_sh_text, file_captions[index*3]);
134
		WriteText(8, start_y + rbmenu.text_y + 4, rbmenu.font_type, m_col_sh_text, file_captions[index*3]);