Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Окно добавить иконку
- #define WIN_ADDICO_X 23
- #define WIN_ADDICO_Y 7
- EVENT_PROC win_add_ico_cancel_event = {EVENT_TYPE_LBM_CLICK, NULL_PTR, win_add_ico_cancel_proc};
- EVENT_PROC win_add_ico_save_event = {EVENT_TYPE_LBM_CLICK, NULL_PTR, win_add_ico_save_proc};
- EVENT_PROC ico_inp_path_event = {EVENT_TYPE_LBM_CLICK, NULL_PTR, getns};
- EVENT_PROC ico_inp_ico_event = {EVENT_TYPE_LBM_CLICK, NULL_PTR, getns};
- W_TEXT cnt_add_ico_ico = {NULL_PTR, PAPER_BLACK | INK_WHITE,
- WIN_ADDICO_X + 5, WIN_ADDICO_Y + 3, 5, 3,
- " \n \n ", &ico_inp_ico_event};
- W_TEXT cnt_add_ico_path = {&cnt_add_ico_ico, PAPER_BLACK | INK_WHITE,
- WIN_ADDICO_X, WIN_ADDICO_Y + 1, 32, 1,
- inp_buf, &ico_inp_path_event};
- W_TEXT cnt_add_ico_cancel = {&cnt_add_ico_path, PAPER_GREEN | INK_BLACK,
- WIN_ADDICO_X + 21, WIN_ADDICO_Y + 5, 6, 1,
- "Cancel", &win_add_ico_cancel_event};
- W_TEXT cnt_add_ico_save = {&cnt_add_ico_cancel, PAPER_GREEN | INK_BLACK,
- WIN_ADDICO_X + 21, WIN_ADDICO_Y + 3, 6, 1,
- "< OK >", &win_add_ico_save_event};
- W_TEXT win_add_ico = {&cnt_add_ico_save, PAPER_RED | INK_BLACK, WIN_ADDICO_X, WIN_ADDICO_Y, 32, 7,
- "path:\n\nIcon:", NULL_PTR};
Add Comment
Please, Sign In to add comment