Subversion Repositories Kolibri OS

Rev

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

Rev 4072 Rev 4076
Line 90... Line 90...
90
				break;
90
				break;
Line 91... Line 91...
91
				
91
				
92
		case evReDraw: _MENU_DRAW:
92
		case evReDraw: _MENU_DRAW:
93
				DefineAndDrawWindow(menu.x, menu.y,menu.w+3,menu.h+6,0x01, 0, 0, 0x01fffFFF);
93
				DefineAndDrawWindow(menu.x, menu.y,menu.w+3,menu.h+6,0x01, 0, 0, 0x01fffFFF);
94
				GetProcessInfo(#MenuForm, SelfInfo);
94
				GetProcessInfo(#MenuForm, SelfInfo);
95
				DrawRectangle(0,0,menu.w+1,menu.h+2,col_border);
95
				DrawRectangle(0,0,menu.w+1,menu.h+2,sc.work_graph);
96
				DrawBar(1,1,menu.w,1,0xFFFfff);
96
				DrawBar(1,1,menu.w,1,0xFFFfff);
97
				DrawPopupShadow(1,1,menu.w,menu.h,0);
97
				DrawPopupShadow(1,1,menu.w,menu.h,0);
98
				MenuListRedraw();
98
				MenuListRedraw();
99
	}
99
	}
Line 113... Line 113...
113
			cur_action_buf = file_captions[index*3+2];
113
			cur_action_buf = file_captions[index*3+2];
114
			DrawBar(2,start_y+2,menu.w-1,menu.line_h,0xFFFfff);
114
			DrawBar(2,start_y+2,menu.w-1,menu.line_h,0xFFFfff);
115
		}
115
		}
116
		else
116
		else
117
		{
117
		{
118
			DrawBar(2,start_y+2,menu.w-1,menu.line_h,col_work);
118
			DrawBar(2,start_y+2,menu.w-1,menu.line_h,sc.work);
119
			WriteText(8,start_y+texty+3,0x80,0xf2f2f2,file_captions[index*3]);
119
			WriteText(8,start_y+texty+3,0x80,0xf2f2f2,file_captions[index*3]);
120
		}
120
		}
121
		WriteText(7,start_y+texty+2,0x80,0x000000,file_captions[index*3]);
121
		WriteText(7,start_y+texty+2,0x80,sc.work_text,file_captions[index*3]);
122
		WriteText(-strlen(file_captions[index*3+1])*6-6+menu.w,start_y+texty+2,0x80,0x888888,file_captions[index*3+1]);
122
		WriteText(-strlen(file_captions[index*3+1])*6-6+menu.w,start_y+texty+2,0x80,0x888888,file_captions[index*3+1]);
123
		start_y+=menu.line_h;
123
		start_y+=menu.line_h;
124
	}	
124
	}	
125
}
125
}
126
126