/programs/cmm/lib/gui.h |
---|
116,19 → 116,27 |
:void DrawEditBox(dword edit_box_pointer) |
{ |
dword x,y,w,h,bg; |
dword x,y,w,h,bg,t; |
ESI = edit_box_pointer; |
x = ESI.edit_box.left; |
y = ESI.edit_box.top; |
w = ESI.edit_box.width+1; |
h = 22; |
if (ESI.edit_box.flags & 100000000000b) bg = 0xCACACA; else bg = 0xFFFfff; |
edit_box_draw stdcall (edit_box_pointer); |
h = 22; |
DrawRectangle3D(x-1, y-1, w+1, h+1, 0xE7E7E7, bg); |
DrawRectangle(x-2, y-2, w+3, h+3, system.color.work_graph); |
DrawRectangle3D(x-3, y-3, w+5, h+5, system.color.work_dark, system.color.work_light); |
} |
:void DrawEditBoxPos(dword x,y, edit_box_pointer) |
{ |
ESI = edit_box_pointer; |
ESI.edit_box.left = x; |
ESI.edit_box.top = y; |
DrawEditBox(dword edit_box_pointer); |
} |
:void DrawProgressBar(dword st_x, st_y, st_w, st_h, col_fon, col_border, col_fill, col_text, progress_percent) |
{ |
int progress_w; |
/programs/cmm/lib/obj/libimg.h |
---|
221,7 → 221,7 |
notify(#save_success_message); |
} |
else { |
notify("'Error saving file! Probably not enought space or file system is not writable!' -E"); |
notify("'Error saving image file!\nProbably not enought space or file system is not writable!\nPlease, check saving path.' -E"); |
} |
} |
} |
/programs/cmm/lib/obj/proc_lib.h |
---|
21,7 → 21,7 |
struct opendialog |
{ |
dword type; |
dword type; //0-file, 2-save, 3-select folder |
dword procinfo; |
dword com_area_name; |
dword com_area; |
30,15 → 30,17 |
dword start_path; |
dword draw_window; |
dword status; |
dword openfile_pach; |
dword openfile_path; |
dword filename_area; |
dword filter_area; |
word x_size; |
word x_start; |
word y_size; |
word y_start; |
word w; |
word x; |
word h; |
word y; |
}; |
char communication_area_name[] = "FFFFFFFF_open_dialog"; |
char open_dialog_path[] = "/rd/1/File managers/opendial"; |
#endif |
/programs/cmm/lib/patterns/simple_open_dialog.h |
---|
4,15 → 4,11 |
char ext[16]; |
}; |
proc_info pr_inf; |
char communication_area_name[] = "FFFFFFFF_open_dialog"; |
char opendir_path[3072]; |
char open_dialog_path[] = "/rd/1/File managers/opendial"; |
char openfile_path[4096]; |
char filename_area[1024]; |
opendialog o_dialog = { |
0, |
#pr_inf, |