Subversion Repositories Kolibri OS

Rev

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

Rev 4410 Rev 4411
Line 26... Line 26...
26
 
26
 
Line 27... Line 27...
27
unsigned char icons[sizeof(file "icons.raw")]= FROM "icons.raw";
27
unsigned char icons[sizeof(file "icons.raw")]= FROM "icons.raw";
28
 
28
 
29
 
29
 
Line 30... Line 30...
30
#define PANEL_H 30
30
#define PANEL_H 30
31
#define SKINS_STANDART_PATH "/sys/res/skins/"
31
#define SKINS_STANDART_PATH "/kolibrios/res/skins/"
32
#define WALP_STANDART_PATH "/sys/res/wallpapers/"
32
#define WALP_STANDART_PATH "/kolibrios/res/wallpapers/"
Line 92... Line 92...
92
		if (list[active].current-list[active].first==i)
92
		if (list[active].current-list[active].first==i)
93
		{
93
		{
94
			if (sc.work_button<>sc.work)
94
			if (sc.work_button<>sc.work)
95
			{
95
			{
96
				DrawBar(0, yyy, list[active].w, list[active].line_h, sc.work_button);
96
				DrawBar(0, yyy, list[active].w, list[active].line_h, sc.work_button);
97
				WriteText(11+23,yyy+list[active].text_y,0x80,sc.work_button_text, #temp_filename);
97
				WriteText(12,yyy+list[active].text_y,0x80,sc.work_button_text, #temp_filename);
98
			}
98
			}
99
			else
99
			else
100
			{
100
			{
101
				DrawBar(0, yyy, list[active].w, list[active].line_h, sc.grab_button);
101
				DrawBar(0, yyy, list[active].w, list[active].line_h, sc.grab_button);
102
				WriteText(11+23,yyy+list[active].text_y,0x80,sc.grab_button_text, #temp_filename);
102
				WriteText(12,yyy+list[active].text_y,0x80,sc.grab_button_text, #temp_filename);
103
			}
103
			}
104
		}
104
		}
105
		else
105
		else
106
		{
106
		{
107
			DrawBar(0,yyy,list[active].w, list[active].line_h, 0xFFFfff);
107
			DrawBar(0,yyy,list[active].w, list[active].line_h, 0xFFFfff);
108
			WriteText(11+23,yyy+list[active].text_y,0x80,0, #temp_filename);
108
			WriteText(12,yyy+list[active].text_y,0x80,0, #temp_filename);
109
		}
109
		}
110
		_PutImage(11,yyy+2,  16,15,   list[WALLPAPERS].active*16*15*3+#icons);
-
 
111
	}
110
	}
112
	DrawBar(0,list[active].visible*list[active].line_h+list[active].y, list[active].w, -list[active].visible*list[active].line_h+ list[active].h, 0xFFFfff);
111
	DrawBar(0,list[active].visible*list[active].line_h+list[active].y, list[active].w, -list[active].visible*list[active].line_h+ list[active].h, 0xFFFfff);
113
	DrawScroller();
112
	DrawScroller();
114
}
113
}
Line 251... Line 250...
251
		col_bg=sc.work;
250
		col_bg=sc.work;
252
		col_text=sc.work_text;
251
		col_text=sc.work_text;
253
	} 
252
	} 
254
	DrawRectangle(x,y, w,h, sc.work_graph);
253
	DrawRectangle(x,y, w,h, sc.work_graph);
255
	DrawCaptButton(x+1,y+1, w-2,h-1, but_id, col_bg, col_text, text);
254
	DrawCaptButton(x+1,y+1, w-2,h-1, but_id, col_bg, col_text, text);
-
 
255
	_PutImage(x+6,y+4,  16,15,   but_id-2*16*15*3+#icons);
256
}
256
}
Line 257... Line 257...
257
 
257
 
258
 
258