Enlightenment CVS committal Author : devilhorns Project : e_modules Module : tclock
Dir : e_modules/tclock Modified Files: e_mod_main.c tclock.edc Log Message: Use function to get module dir. Forgot to commit the edc, doh ! =================================================================== RCS file: /cvs/e/e_modules/tclock/e_mod_main.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -3 -r1.57 -r1.58 --- e_mod_main.c 26 Dec 2007 01:36:52 -0000 1.57 +++ e_mod_main.c 26 Dec 2007 16:47:23 -0000 1.58 @@ -212,7 +212,8 @@ if (!(inst = data)) return; if (!inst->ci->show_tip) return; if (inst->tip) return; - snprintf(buf, sizeof(buf), "%s/tclock.edj", tclock_config->module->dir); + snprintf(buf, sizeof(buf), "%s/tclock.edj", + e_module_dir_get(tclock_config->module)); zone = e_util_zone_current_get(e_manager_current_get()); inst->tip = e_popup_new(zone, 0, 0, 0, 0); =================================================================== RCS file: /cvs/e/e_modules/tclock/tclock.edc,v retrieving revision 1.22 retrieving revision 1.23 diff -u -3 -r1.22 -r1.23 --- tclock.edc 11 Oct 2006 19:36:51 -0000 1.22 +++ tclock.edc 26 Dec 2007 16:47:23 -0000 1.23 @@ -1,5 +1,12 @@ -fonts { - font: "VeraMono.ttf" "VeraMono"; +fonts +{ + font: "VeraMono.ttf" "VeraMono"; +} + +images +{ + image: "tip_bd.png" COMP; + image: "tip_bg.png" COMP; } collections @@ -103,6 +110,16 @@ visible: 1; } } + part + { + name: "over"; + type: RECT; + description + { + state: "default" 0.0; + color: 0 0 0 0; + } + } } /* Close Parts */ programs @@ -143,5 +160,92 @@ /* Close Programs */ } /* Close Group */ + group + { + name: "modules/tclock/tip"; + data.item: "shaped" "1"; + parts + { + part + { + name: "base"; + mouse_events: 0; + type: RECT; + description + { + state: "default" 0.0; + color: 221 221 221 255; + } + } + part + { + name: "bg"; + mouse_events: 0; + type: IMAGE; + description + { + state: "default" 0.0; + max: 99999 48; + align: 0.5 0.0; + rel1 + { + offset: 1 1; + to: "base"; + } + rel2 + { + offset: -2 -2; + to: "base"; + } + image.normal: "tip_bg.png"; + fill + { + origin.offset: 0 -6; + size.offset: 0 6; + } + } + } + part + { + name: "bd"; + mouse_events: 0; + type: IMAGE; + description + { + state: "default" 0.0; + image + { + normal: "tip_bd.png"; + border: 1 1 1 1; + middle: 0; + } + } + } + part + { + name: "e.text.tip"; + mouse_events: 0; + type: TEXT; + effect: SOFT_SHADOW; + description + { + state: "default" 0.0; + rel1.offset: 2 2; + rel2.offset: -3 -3; + color: 0 0 0 255; + color3: 255 255 255 32; + color_class: "module_label"; + text + { + text: ""; + font: "VeraBd"; + size: 12; + min: 1 1; + align: 0.5 0.5; + } + } + } + } + } } /* Close Coll */ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs