Subversion Repositories Kolibri OS

Rev

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

Rev 5992 Rev 6176
Line 29... Line 29...
29
			DefineAndDrawWindow(215,100,500,320,0x74,0xFFFFFF,#title);
29
			DefineAndDrawWindow(215,100,500,320,0x74,0xFFFFFF,#title);
30
			GetProcessInfo(#Form, SelfInfo);
30
			GetProcessInfo(#Form, SelfInfo);
31
			if (Form.status_window>2) break;
31
			if (Form.status_window>2) break;
32
			_DRAW_WINDOW_CONTENT:
32
			_DRAW_WINDOW_CONTENT:
33
			DrawBar(0, 0, Form.cwidth, PANELH, 0xCCCccc);
33
			DrawBar(0, 0, Form.cwidth, PANELH, 0xCCCccc);
34
			CheckBox2(10, 8, 2, "Bold",  label.bold);
34
			CheckBox(10, 8, 2, "Bold",  label.bold);
35
			CheckBox2(70, 8, 3, "Italic",  label.italic);
35
			CheckBox(70, 8, 3, "Italic",  label.italic);
36
			CheckBox2(140, 8, 4, "Smooth",  label.smooth);
36
			CheckBox(140, 8, 4, "Smooth",  label.smooth);
37
			label.raw_size = free(label.raw);
37
			label.raw_size = free(label.raw);
38
			if (!label.font)
38
			if (!label.font)
39
			{
39
			{
40
				DrawBar(0, PANELH, Form.cwidth, Form.cheight - PANELH, 0xFFFfff);
40
				DrawBar(0, PANELH, Form.cwidth, Form.cheight - PANELH, 0xFFFfff);
41
				WriteText(10, 50, 0x82, 0xFF00FF, "Font is not loaded.");
41
				WriteText(10, 50, 0x82, 0xFF00FF, "Font is not loaded.");
Line 48... Line 48...
48
			if (label.smooth) label.apply_smooth();
48
			if (label.smooth) label.apply_smooth();
49
			label.show_buf(0, PANELH);
49
			label.show_buf(0, PANELH);
50
	  }
50
	  }
51
	}
51
	}
52
}
52
}
53
 
-
 
54
void CheckBox2(dword x, y, id, text, byte value) {
-
 
55
	CheckBox(x, y, 14, 14, id, text, system.color.work_graph, system.color.work_text, value);
-
 
56
}
-
 
57
53