Subversion Repositories Kolibri OS

Rev

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

Rev 8949 Rev 9445
Line 3... Line 3...
3
#include "../lib/fs.h"
3
#include "../lib/fs.h"
4
#include "../lib/gui.h"
4
#include "../lib/gui.h"
5
#include "../lib/list_box.h"
5
#include "../lib/list_box.h"
6
#include "../lib/obj/box_lib.h"
6
#include "../lib/obj/box_lib.h"
7
#include "../lib/obj/proc_lib.h"
7
#include "../lib/obj/proc_lib.h"
8
#include "../lib/obj/libimg.h"
-
 
9
#include "../lib/obj/libini.h"
8
#include "../lib/obj/libini.h"
10
#include "../lib/patterns/select_list.h"
9
#include "../lib/patterns/select_list.h"
Line 11... Line 10...
11
 
10
 
12
//===================================================//
11
//===================================================//
Line 100... Line 99...
100
 
99
 
101
void main()
100
void main()
102
{  
101
{  
103
	int prev_first, prev_cur_y;
102
	int prev_first, prev_cur_y;
104
	load_dll(boxlib, #box_lib_init,0);
-
 
105
	load_dll(libimg, #libimg_init,1);
103
	load_dll(boxlib, #box_lib_init,0);
106
	load_dll(libini, #lib_init,1);
104
	load_dll(libini, #lib_init,1);
107
	load_dll(Proc_lib, #OpenDialog_init,0);
105
	load_dll(Proc_lib, #OpenDialog_init,0);
Line 108... Line 106...
108
	OpenDialog_init stdcall (#open_folder_dialog);
106
	OpenDialog_init stdcall (#open_folder_dialog);
Line 207... Line 205...
207
	}
205
	}
Line 208... Line 206...
208
 
206
 
209
	#define ICONX 7
207
	#define ICONX 7
210
	DrawBar(select_list.x, yyy, ICONX-1, select_list.item_h, 0xFFFfff);
208
	DrawBar(select_list.x, yyy, ICONX-1, select_list.item_h, 0xFFFfff);
211
	DrawBar(select_list.x+ICONX+18, yyy, select_list.w-ICONX-18, select_list.item_h, bg);
209
	DrawBar(select_list.x+ICONX+18, yyy, select_list.w-ICONX-18, select_list.item_h, bg);
Line 212... Line 210...
212
	DrawIcon16(select_list.x+ICONX, yyy+1, 0xFFFfff, icon);
210
	draw_icon_16(select_list.x+ICONX, yyy+1, icon);
213
 
211
 
214
	WriteText(select_list.x + ICONX+18+4,yyy+select_list.text_y,0x90, col, results.name.get(select_list.first + i));
212
	WriteText(select_list.x + ICONX+18+4,yyy+select_list.text_y,0x90, col, results.name.get(select_list.first + i));