comparison dwtest.c @ 1735:1a7b9b96d9d7

Minor layout changes to the test program so all buttons are visible on OS/2 without reszing the window.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 16 May 2012 19:18:25 +0000
parents 96fcc01693cf
children d93e860c38d1
comparison
equal deleted inserted replaced
1734:b7165e93628c 1735:1a7b9b96d9d7
1227 dw_window_set_color(buttonsbox, DW_CLR_RED, DW_CLR_RED); 1227 dw_window_set_color(buttonsbox, DW_CLR_RED, DW_CLR_RED);
1228 1228
1229 calbox = dw_box_new(DW_HORZ, 0); 1229 calbox = dw_box_new(DW_HORZ, 0);
1230 dw_box_pack_start(notebookbox5, calbox, 500, 200, TRUE, TRUE, 1); 1230 dw_box_pack_start(notebookbox5, calbox, 500, 200, TRUE, TRUE, 1);
1231 cal = dw_calendar_new(100); 1231 cal = dw_calendar_new(100);
1232 dw_box_pack_start(calbox, cal, 180, 160, TRUE, TRUE, 0); 1232 dw_box_pack_start(calbox, cal, 180, 120, TRUE, TRUE, 0);
1233 /* 1233 /*
1234 dw_calendar_set_date(cal, 2001, 1, 1); 1234 dw_calendar_set_date(cal, 2001, 1, 1);
1235 */ 1235 */
1236 /* 1236 /*
1237 * Create our file toolbar boxes... 1237 * Create our file toolbar boxes...
1714 dw_notebook_page_set_text( notebook, notebookpage9, "thread/event"); 1714 dw_notebook_page_set_text( notebook, notebookpage9, "thread/event");
1715 thread_add(); 1715 thread_add();
1716 1716
1717 dw_signal_connect(mainwindow, DW_SIGNAL_DELETE, DW_SIGNAL_FUNC(exit_callback), DW_POINTER(mainwindow)); 1717 dw_signal_connect(mainwindow, DW_SIGNAL_DELETE, DW_SIGNAL_FUNC(exit_callback), DW_POINTER(mainwindow));
1718 timerid = dw_timer_connect(2000, DW_SIGNAL_FUNC(timer_callback), 0); 1718 timerid = dw_timer_connect(2000, DW_SIGNAL_FUNC(timer_callback), 0);
1719 dw_window_set_size(mainwindow, 640, 520); 1719 dw_window_set_size(mainwindow, 640, 550);
1720 dw_window_show(mainwindow); 1720 dw_window_show(mainwindow);
1721 1721
1722 /* Now that the window is created and shown... 1722 /* Now that the window is created and shown...
1723 * run the main loop until we get dw_main_quit() 1723 * run the main loop until we get dw_main_quit()
1724 */ 1724 */