boardmsg: small fix

git-svn-id: svn://kolibrios.org@6491 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Serhii Sakhno 2016-08-18 23:38:12 +00:00
parent d848f250cf
commit a1961fe2eb

View File

@ -31,14 +31,14 @@ int main()
unsigned int gui_event = KOLIBRI_EVENT_REDRAW;
oskey_t key;
kolibri_window *main_window = kolibri_new_window(50, 50, 400, 120, "BoardMsg: OpenDialog 0.12");
check_box *checkbox = kolibri_new_check_box(20, 45, 12, 12, "Append BOARDMSG to entered message.");
kolibri_window *main_window = kolibri_new_window(50, 50, 400, 120, "BoardMsg");
check_box *checkbox = kolibri_new_check_box(20, 25, 12, 12, "Append BOARDMSG to entered message.");
edit_box *editbox_interlock = NULL;
edit_box *textbox = kolibri_new_edit_box(20, 60, 40, &editbox_interlock);
edit_box *textbox2 = kolibri_new_edit_box(20, 80, 30, &editbox_interlock);
kolibri_button *button = kolibri_new_button(310, 60, 24, 14, 0x21, kolibri_color_table.color_work_button);
frame *fr = kolibri_new_frame(X_Y(12, 350), X_Y(35, 70), 0x00FCFCFC, 0x00DCDCDC, "Frame Title", 0, kolibri_color_table.color_work_text, kolibri_color_table.color_work_area);
edit_box *textbox = kolibri_new_edit_box(20, 40, 40, &editbox_interlock);
edit_box *textbox2 = kolibri_new_edit_box(20, 60, 30, &editbox_interlock);
kolibri_button *button = kolibri_new_button(310, 40, 24, 14, 0x21, kolibri_color_table.color_work_button);
frame *fr = kolibri_new_frame(X_Y(12, 350), X_Y(15, 70), 0x00FCFCFC, 0x00DCDCDC, "Frame Title", 0, kolibri_color_table.color_work_text, kolibri_color_table.color_work_area);
kolibri_window_add_element(main_window, KOLIBRI_EDIT_BOX, textbox);
kolibri_window_add_element(main_window, KOLIBRI_EDIT_BOX, textbox2);