Subversion Repositories Kolibri OS

Rev

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

Rev 5640 Rev 5674
Line 86... Line 86...
86
				
86
				
87
		case evReDraw: _MENU_DRAW:
87
		case evReDraw: _MENU_DRAW:
88
				if (menu_call_mouse) DefineAndDrawWindow(mouse.x+Form.left+5, mouse.y+Form.top+GetSkinHeight(),menu.w+3,menu.h+6,0x01, 0, 0, 0x01fffFFF);
88
				if (menu_call_mouse) DefineAndDrawWindow(mouse.x+Form.left+5, mouse.y+Form.top+GetSkinHeight(),menu.w+3,menu.h+6,0x01, 0, 0, 0x01fffFFF);
89
				else DefineAndDrawWindow(Form.left+files.x+15, files.line_h*files.current+files.y+Form.top+30,menu.w+3,menu.h+6,0x01, 0, 0, 0x01fffFFF);
89
				else DefineAndDrawWindow(Form.left+files.x+15, files.line_h*files.current+files.y+Form.top+30,menu.w+3,menu.h+6,0x01, 0, 0, 0x01fffFFF);
90
				GetProcessInfo(#MenuForm, SelfInfo);
90
				GetProcessInfo(#MenuForm, SelfInfo);
91
				DrawRectangle(0,0,menu.w+1,menu.h+2,sc.work_graph);
91
				DrawRectangle(0,0,menu.w+1,menu.h+2,system.color.work_graph);
92
				DrawBar(1,1,menu.w,1,0xFFFfff);
92
				DrawBar(1,1,menu.w,1,0xFFFfff);
93
				DrawPopupShadow(1,1,menu.w,menu.h,0);
93
				DrawPopupShadow(1,1,menu.w,menu.h,0);
94
				MenuListRedraw();
94
				MenuListRedraw();
95
	}
95
	}
Line 108... Line 108...
108
			cur_action_buf = file_captions[index*3+2];
108
			cur_action_buf = file_captions[index*3+2];
109
			DrawBar(2,start_y+2,menu.w-1,menu.line_h,0xFFFfff);
109
			DrawBar(2,start_y+2,menu.w-1,menu.line_h,0xFFFfff);
110
		}
110
		}
111
		else
111
		else
112
		{
112
		{
113
			DrawBar(2,start_y+2,menu.w-1,menu.line_h,sc.work);
113
			DrawBar(2,start_y+2,menu.w-1,menu.line_h,system.color.work);
114
			WriteText(8,start_y+menu.text_y+3,0x80,0xf2f2f2,file_captions[index*3]);
114
			WriteText(8,start_y+menu.text_y+3,0x80,0xf2f2f2,file_captions[index*3]);
115
		}
115
		}
116
		WriteText(7,start_y+menu.text_y+2,0x80,sc.work_text,file_captions[index*3]);
116
		WriteText(7,start_y+menu.text_y+2,0x80,system.color.work_text,file_captions[index*3]);
117
		WriteText(-strlen(file_captions[index*3+1])*6-6+menu.w,start_y+menu.text_y+2,0x80,0x888888,file_captions[index*3+1]);
117
		WriteText(-strlen(file_captions[index*3+1])*6-6+menu.w,start_y+menu.text_y+2,0x80,0x888888,file_captions[index*3+1]);
118
		start_y+=menu.line_h;
118
		start_y+=menu.line_h;
119
	}	
119
	}	
120
}
120
}
121
121