Rev 6491 | Rev 6589 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6491 | Rev 6516 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | kolibri_gui_init(); |
29 | kolibri_gui_init(); |
30 | /* Set gui_event to REDRAW so that window is drawn in first iteration */ |
30 | /* Set gui_event to REDRAW so that window is drawn in first iteration */ |
31 | unsigned int gui_event = KOLIBRI_EVENT_REDRAW; |
31 | unsigned int gui_event = KOLIBRI_EVENT_REDRAW; |
32 | oskey_t key; |
32 | oskey_t key; |
Line 33... | Line 33... | ||
33 | 33 | ||
34 | kolibri_window *main_window = kolibri_new_window(50, 50, 400, 120, "BoardMsg"); |
34 | kolibri_window *main_window = kolibri_new_window(50, 40, 400, 120, "BoardMsg"); |
Line 35... | Line 35... | ||
35 | check_box *checkbox = kolibri_new_check_box(20, 25, 12, 12, "Append BOARDMSG to entered message."); |
35 | check_box *checkbox = kolibri_new_check_box(20, 15, 12, 12, "Append BOARDMSG to entered message."); |
36 | 36 | ||
37 | edit_box *editbox_interlock = NULL; |
37 | edit_box *editbox_interlock = NULL; |
38 | edit_box *textbox = kolibri_new_edit_box(20, 40, 40, &editbox_interlock); |
38 | edit_box *textbox = kolibri_new_edit_box(20, 30, 40, &editbox_interlock); |
39 | edit_box *textbox2 = kolibri_new_edit_box(20, 60, 30, &editbox_interlock); |
39 | edit_box *textbox2 = kolibri_new_edit_box(20, 50, 30, &editbox_interlock); |
Line 40... | Line 40... | ||
40 | kolibri_button *button = kolibri_new_button(310, 40, 24, 14, 0x21, kolibri_color_table.color_work_button); |
40 | kolibri_button *button = kolibri_new_button(310, 30, 24, 14, 0x21, kolibri_color_table.color_work_button); |
41 | 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); |
41 | frame *fr = kolibri_new_frame(X_Y(12, 350), X_Y(5, 70), 0x00FCFCFC, 0x00DCDCDC, "Frame Title", 0, kolibri_color_table.color_work_text, kolibri_color_table.color_work_area); |
42 | 42 | ||
43 | kolibri_window_add_element(main_window, KOLIBRI_EDIT_BOX, textbox); |
43 | kolibri_window_add_element(main_window, KOLIBRI_EDIT_BOX, textbox); |