Subversion Repositories Kolibri OS

Rev

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

Rev 7634 Rev 7635
Line 163... Line 163...
163
	
163
	
164
	SetAppColors();
164
	SetAppColors();
165
	LoadIniSettings();
165
	LoadIniSettings();
Line 166... Line -...
166
	SystemDiscs.Get();
-
 
167
 
-
 
168
	Libimg_LoadImage(#icons16_default, "/sys/icons16.png");
-
 
169
	Libimg_LoadImage(#icons16_selected, "/sys/icons16.png");
-
 
170
	Libimg_ReplaceColor(icons16_selected.image, icons16_selected.w, icons16_selected.h, 0xffFFFfff, col.selec);
-
 
171
	Libimg_ReplaceColor(icons16_selected.image, icons16_selected.w, icons16_selected.h, 0xffCACBD6, MixColors(col.selec, 0, 200));
-
 
172
	if (col.list_bg!=0xFFFfff) {
-
 
173
		Libimg_ReplaceColor(icons16_default.image, icons16_selected.w, icons16_selected.h, 0xffFFFfff, col.list_bg);
-
 
174
		Libimg_ReplaceColor(icons16_default.image, icons16_selected.w, icons16_selected.h, 0xffCACBD6, MixColors(col.list_bg, 0, 200));		
-
 
175
	}
166
	SystemDiscs.Get();
176
 
167
 
177
	//-p just show file/folder properties dialog
168
	//-p just show file/folder properties dialog
178
	if (param) && (param[0]=='-') && (param[1]=='p')
169
	if (param) && (param[0]=='-') && (param[1]=='p')
179
	{
170
	{
Line 580... Line 571...
580
	if (Form.status_window>2) return;
571
	if (Form.status_window>2) return;
581
	if (Form.height < 350) { MoveSize(OLD,OLD,OLD,350); return; }
572
	if (Form.height < 350) { MoveSize(OLD,OLD,OLD,350); return; }
582
	if (!two_panels.checked) && (Form.width < 480) { MoveSize(OLD,OLD,480,OLD); return; }
573
	if (!two_panels.checked) && (Form.width < 480) { MoveSize(OLD,OLD,480,OLD); return; }
583
	if ( two_panels.checked) && (Form.width < 573) { MoveSize(OLD,OLD,573,OLD); return; }
574
	if ( two_panels.checked) && (Form.width < 573) { MoveSize(OLD,OLD,573,OLD); return; }
584
	GetProcessInfo(#Form, SelfInfo);
575
	GetProcessInfo(#Form, SelfInfo);
-
 
576
	SetAppColors();
585
	ESDWORD[#toolbar_pal] = col.work;
577
	ESDWORD[#toolbar_pal] = col.work;
586
	ESDWORD[#toolbar_pal+4] = MixColors(0, col.work, 35);
578
	ESDWORD[#toolbar_pal+4] = MixColors(0, col.work, 35);
587
	PutPaletteImage(#toolbar, 246, 34, 0, 0, 8, #toolbar_pal);
579
	PutPaletteImage(#toolbar, 246, 34, 0, 0, 8, #toolbar_pal);
588
	DrawBar(127, 8, 1, 25, col.graph);
580
	DrawBar(127, 8, 1, 25, col.graph);
589
	for (i=0; i<3; i++) DefineHiddenButton(toolbar_buttons_x[i]+2,7,31-5,29-5,21+i);
581
	for (i=0; i<3; i++) DefineHiddenButton(toolbar_buttons_x[i]+2,7,31-5,29-5,21+i);