DIGITAL CLOCK!!!!! see clock settings for how to turn it on blah blah
blah. SVN revision: 59973
|
@ -423,4 +423,34 @@ connman-connecting-4.png \
|
||||||
comp-sh1.png \
|
comp-sh1.png \
|
||||||
shelf_alt_vert_bg.png \
|
shelf_alt_vert_bg.png \
|
||||||
icon_look.png \
|
icon_look.png \
|
||||||
icon_gadget.png
|
icon_gadget.png \
|
||||||
|
flip_0b.png \
|
||||||
|
flip_0t.png \
|
||||||
|
flip_1b.png \
|
||||||
|
flip_1t.png \
|
||||||
|
flip_2b.png \
|
||||||
|
flip_2t.png \
|
||||||
|
flip_3b.png \
|
||||||
|
flip_3t.png \
|
||||||
|
flip_4b.png \
|
||||||
|
flip_4t.png \
|
||||||
|
flip_5b.png \
|
||||||
|
flip_5t.png \
|
||||||
|
flip_6b.png \
|
||||||
|
flip_6t.png \
|
||||||
|
flip_7b.png \
|
||||||
|
flip_7t.png \
|
||||||
|
flip_8b.png \
|
||||||
|
flip_8t.png \
|
||||||
|
flip_9b.png \
|
||||||
|
flip_9t.png \
|
||||||
|
flip_amb.png \
|
||||||
|
flip_amt.png \
|
||||||
|
flip_base.png \
|
||||||
|
flip_base_shad.png \
|
||||||
|
flip_b.png \
|
||||||
|
flip_pmb.png \
|
||||||
|
flip_pmt.png \
|
||||||
|
flip_shad.png \
|
||||||
|
flip_t.png \
|
||||||
|
flip_colon.png
|
||||||
|
|
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 451 B |
After Width: | Height: | Size: 666 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 705 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 824 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 996 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 963 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 384 B |
After Width: | Height: | Size: 598 B |
After Width: | Height: | Size: 826 B |
After Width: | Height: | Size: 403 B |
After Width: | Height: | Size: 709 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 918 B |
After Width: | Height: | Size: 442 B |
|
@ -413,6 +413,21 @@ _clock_cb_mouse_down(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSE
|
||||||
EVAS_BUTTON_NONE, ev->timestamp, NULL);
|
EVAS_BUTTON_NONE, ev->timestamp, NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
static void
|
||||||
|
_clock_sizing_changed_cb(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
|
||||||
|
{
|
||||||
|
Instance *inst = data;
|
||||||
|
Evas_Coord mw, mh;
|
||||||
|
|
||||||
|
mw = 0, mh = 0;
|
||||||
|
edje_object_size_min_get(inst->o_clock, &mw, &mh);
|
||||||
|
if ((mw < 1) || (mh < 1))
|
||||||
|
edje_object_size_min_calc(inst->o_clock, &mw, &mh);
|
||||||
|
if (mw < 4) mw = 4;
|
||||||
|
if (mh < 4) mh = 4;
|
||||||
|
e_gadcon_client_aspect_set(inst->gcc, mw, mh);
|
||||||
|
e_gadcon_client_min_size_set(inst->gcc, mw, mh);
|
||||||
|
}
|
||||||
|
|
||||||
static E_Gadcon_Client *
|
static E_Gadcon_Client *
|
||||||
_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
|
_gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
|
||||||
|
@ -424,6 +439,8 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
|
||||||
inst = E_NEW(Instance, 1);
|
inst = E_NEW(Instance, 1);
|
||||||
|
|
||||||
o = edje_object_add(gc->evas);
|
o = edje_object_add(gc->evas);
|
||||||
|
edje_object_signal_callback_add(o, "e,state,sizing,changed", "*",
|
||||||
|
_clock_sizing_changed_cb, inst);
|
||||||
if (clock_cfg->digital_clock)
|
if (clock_cfg->digital_clock)
|
||||||
e_theme_edje_object_set(o, "base/theme/modules/clock",
|
e_theme_edje_object_set(o, "base/theme/modules/clock",
|
||||||
"e/modules/clock/digital");
|
"e/modules/clock/digital");
|
||||||
|
|