Subversion Repositories Kolibri OS

Rev

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

Rev 7771 Rev 7806
Line 134... Line 134...
134
			}
134
			}
135
			break;
135
			break;
136
 
136
 
Line 137... Line 137...
137
		case evReDraw:
137
		case evReDraw:
138
			DefineAndDrawWindow(GetScreenWidth()-800/2-random(80),GetScreenHeight()-600/2-random(80),800,600,0x73,system.color.work,0,0);
138
			DefineAndDrawWindow(GetScreenWidth()-800/2-random(80),GetScreenHeight()-600/2-random(80),800,600,0x73,sc.work,0,0);
139
			GetProcessInfo(#Form, SelfInfo);
139
			GetProcessInfo(#Form, SelfInfo);
140
			system.color.get();
140
			sc.get();
141
			if (Form.status_window>2) break;
141
			if (Form.status_window>2) break;
142
			if (Form.height<120) { MoveSize(OLD,OLD,OLD,120); break; }
142
			if (Form.height<120) { MoveSize(OLD,OLD,OLD,120); break; }
143
			if (Form.width<280) { MoveSize(OLD,OLD,280,OLD); break; }
143
			if (Form.width<280) { MoveSize(OLD,OLD,280,OLD); break; }
144
			SetElementSizes();
144
			SetElementSizes();
145
			draw_window();
145
			draw_window();
Line 164... Line 164...
164
}
164
}
165
 
165
 
Line 166... Line 166...
166
void draw_window()
166
void draw_window()
167
{
167
{
168
	DrawBar(0,0, Form.cwidth,TOOLBAR_H-2, system.color.work);
168
	DrawBar(0,0, Form.cwidth,TOOLBAR_H-2, sc.work);
169
	DrawBar(0,TOOLBAR_H-2, Form.cwidth,1, 0xD7D0D3);
169
	DrawBar(0,TOOLBAR_H-2, Form.cwidth,1, 0xD7D0D3);
170
	DrawBar(0,TOOLBAR_H-1, Form.cwidth,1, system.color.work_graph);
170
	DrawBar(0,TOOLBAR_H-1, Form.cwidth,1, sc.work_graph);
171
	DrawRectangle(address_box.left-3, address_box.top-3, address_box.width+4, 25,system.color.work_graph);
171
	DrawRectangle(address_box.left-3, address_box.top-3, address_box.width+4, 25,sc.work_graph);
172
	DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,STATUSBAR_H, system.color.work);
172
	DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,STATUSBAR_H, sc.work);
173
	DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, system.color.work_graph);
173
	DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, sc.work_graph);
174
	DrawEditBoxWebView();
174
	DrawEditBoxWebView();
175
	if (!WB1.header) {
175
	if (!WB1.header) {
176
		OpenPage(#current_path);
176
		OpenPage(#current_path);
177
	} else { 
177
	} else { 
178
		WB1.DrawPage(); 
178
		WB1.DrawPage();