Subversion Repositories Kolibri OS

Rev

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

Rev 7484 Rev 7491
Line 91... Line 91...
91
{
91
{
92
	kos_WindowRedrawStatus(1);
92
	kos_WindowRedrawStatus(1);
93
	kos_DefineAndDrawWindow(10, 40, WINDOW_WIDTH + 8, WINDOW_HEIGHT + kos_GetSkinHeight() + 12, 0x34, BG_COLOR, 0, 0, (Dword)header);
93
	kos_DefineAndDrawWindow(10, 40, WINDOW_WIDTH + 8, WINDOW_HEIGHT + kos_GetSkinHeight() + 12, 0x34, BG_COLOR, 0, 0, (Dword)header);
94
	kos_WindowRedrawStatus(2);
94
	kos_WindowRedrawStatus(2);
Line 95... Line -...
95
 
-
 
96
	kos_WriteTextToWindow(8, 10, 0, TEXT_COLOR, "Population:    %", 16);
-
 
97
	kos_WriteTextToWindow(8, 22, 0, TEXT_COLOR, "Score:", 6);
-
 
98
 
95
 
Line 99... Line 96...
99
	OnMouseMove();
96
	OnMouseMove();
100
 
97
 
101
	// Draw buildings
98
	// Draw buildings
Line 221... Line 218...
221
	else
218
	else
222
	{
219
	{
223
		ms.lbclick = 0;
220
		ms.lbclick = 0;
224
	}
221
	}
Line -... Line 222...
-
 
222
 
-
 
223
	kos_DrawBar(8, 10, 6*11, 22, 0);
-
 
224
	kos_WriteTextToWindow(8, 10, 0, TEXT_COLOR, "Population:    %", 16);
-
 
225
	kos_WriteTextToWindow(8, 22, 0, TEXT_COLOR, "Score:", 6);
225
 
226
 
226
	kos_DisplayNumberToWindowBg(health, 3, 79, 10, TEXT_COLOR, BG_COLOR, nbDecimal, false);
227
	kos_DisplayNumberToWindowBg(health, 3, 79, 10, TEXT_COLOR, BG_COLOR, nbDecimal, false);
Line 227... Line 228...
227
	kos_DisplayNumberToWindowBg(score, 4, 49, 22, TEXT_COLOR, BG_COLOR, nbDecimal, false);
228
	kos_DisplayNumberToWindowBg(score, 4, 49, 22, TEXT_COLOR, BG_COLOR, nbDecimal, false);
228
 
229