Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/start Modified Files: e_mod_main.c Log Message: add frame object selection ability - broke move of the framed "ibar" test. need to fix framed gadcon clients to account for frame size. =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/start/e_mod_main.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- e_mod_main.c 4 Apr 2006 09:54:50 -0000 1.20 +++ e_mod_main.c 4 Apr 2006 15:42:25 -0000 1.21 @@ -7,7 +7,7 @@ /***************************************************************************/ /**/ /* gadcon requirements */ -static E_Gadcon_Client *_gc_init(E_Gadcon *gc, char *name, char *id); +static E_Gadcon_Client *_gc_init(E_Gadcon *gc, char *name, char *id, char *style); static void _gc_shutdown(E_Gadcon_Client *gcc); static void _gc_orient(E_Gadcon_Client *gcc); /* and actually define the gadcon class that this module provides (just 1) */ @@ -39,7 +39,7 @@ static void _menu_cb_post(void *data, E_Menu *m); static E_Gadcon_Client * -_gc_init(E_Gadcon *gc, char *name, char *id) +_gc_init(E_Gadcon *gc, char *name, char *id, char *style) { Evas_Object *o; E_Gadcon_Client *gcc; @@ -52,7 +52,7 @@ e_theme_edje_object_set(o, "base/theme/modules/start", "modules/start/main"); edje_object_signal_emit(o, "passive", ""); - gcc = e_gadcon_client_new(gc, name, id, o); + gcc = e_gadcon_client_new(gc, name, id, style, o); gcc->data = inst; inst->gcc = gcc; @@ -85,6 +85,7 @@ inst = gcc->data; printf("OREINT to %i\n", gcc->gadcon->orient); + e_gadcon_client_aspect_set(gcc, 20, 20); e_gadcon_client_min_size_set(gcc, 20, 20); } /**/ ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs