Subversion Repositories Kolibri OS

Rev

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

Rev 6561 Rev 6589
Line 110... Line 110...
110
	uint32_t directory_path_area;  // not used
110
	uint32_t directory_path_area;  // not used
111
	uint32_t file_name_area;  // not used
111
	uint32_t file_name_area;  // not used
112
	uint32_t select_flag;  // widget have focus, set auto on mouseclick, but need to reset before mouse()
112
	uint32_t select_flag;  // widget have focus, set auto on mouseclick, but need to reset before mouse()
113
	color_t background_color;  // self explained, 0xffffff
113
	color_t background_color;  // self explained, 0xffffff
114
	color_t select_color; // self explained, 0xbbddff
114
	color_t select_color; // self explained, 0xbbddff
115
    color_t select_text_color; // self explained - have a bug - newer used
115
    color_t select_text_color; // self explained - have a bug - never really used
116
    color_t text_color; // self explained
116
    color_t text_color; // self explained
117
    color_t reduct_text_color; // 0xff0000  - spec color for cutted filenames
117
    color_t reduct_text_color; // 0xff0000  - spec color for cutted filenames
118
    color_t marked_text_color; // not used
118
    color_t marked_text_color; // not used
119
    uint32_t max_panel_line;    // moved to scrollbar->cur_area, - ìàêñèìàëüíîå ÷èñëî ñòðîê â îêíå, àâòîðàñ÷èòûâàåòñÿ
119
    uint32_t max_panel_line;    // moved to scrollbar->cur_area, - ìàêñèìàëüíîå ÷èñëî ñòðîê â îêíå, àâòîðàñ÷èòûâàåòñÿ
120
	uint32_t select_panel_counter;  // !=0 if want to draw multiselection ???
120
	uint32_t select_panel_counter;  // !=0 if want to draw multiselection ???
Line 214... Line 214...
214
    return kolibri_filebrowser(fb, x_w, y_h, X_Y(9, 16), X_Y(16, 16), icon_raw_area, icon_palette_raw, icon_res,
214
    return kolibri_filebrowser(fb, x_w, y_h, X_Y(9, 16), X_Y(16, 16), icon_raw_area, icon_palette_raw, icon_res,
215
                                         ini_file_start, ini_file_end,
215
                                         ini_file_start, ini_file_end,
216
                                         0x000000, 0xbbddff, kolibri_color_table.color_work_text, kolibri_color_table.color_work_area, 0xff0000);
216
                                         0x000000, 0xbbddff, kolibri_color_table.color_work_text, kolibri_color_table.color_work_area, 0xff0000);
217
}
217
}
218
*/
218
*/
219
/*
-
 
220
inline frame* kolibri_new_frame_def(uint32_t x_w, uint32_t y_h, char *text)
-
 
221
{
-
 
222
    return kolibri_new_frame(x_w, y_h, 0x00FCFCFC, 0x00DCDCDC, text, TOP, kolibri_color_table.color_work_text, kolibri_color_table.color_work_area);
-
 
223
}
219
 
224
*/
-
 
225
inline void gui_add_filebrowser(kolibri_window *wnd, filebrowser* f)
220
inline void gui_add_filebrowser(kolibri_window *wnd, filebrowser* f)
226
{
221
{
227
    kolibri_window_add_element(wnd, KOLIBRI_FILEBROWSE, f);
222
    kolibri_window_add_element(wnd, KOLIBRI_FILEBROWSE, f);
228
}
223
}