From: <enl...@li...> - 2002-01-22 16:33:56
|
Enlightenment CVS committal Author : atmosphere Project : e17 Module : libs/ebg Dir : e17/libs/ebg/test Modified Files: e_bg_test.c Log Message: make the default window a little larger ./ebg_test dbs/*.bg.db to test it use left and right arrow keys to navigate between different bgs mouse buttons to mess with layering =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ebg/test/e_bg_test.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_bg_test.c 2002/01/22 16:15:41 1.1 +++ e_bg_test.c 2002/01/22 16:33:55 1.2 @@ -45,7 +45,6 @@ e_window_configure(Ecore_Event *ev) { Ecore_Event_Window_Configure *e; - int win_w, win_h; double tw, th; e = (Ecore_Event_Window_Configure*)ev->event; @@ -229,7 +228,7 @@ ecore_event_filter_handler_add(ECORE_EVENT_KEY_UP, e_window_key_up); ecore_event_filter_idle_handler_add(e_idle, NULL); - win = ecore_window_new(0,0,0, WINDOW_MIN_W, WINDOW_MIN_H); + win = ecore_window_new(0,0,0, win_w, win_h); ecore_window_set_events(win, XEV_CONFIGURE); ecore_window_set_min_size(win, WINDOW_MIN_W, WINDOW_MIN_W); ecore_window_set_max_size(win, WINDOW_MAX_W, WINDOW_MAX_H); |