|
|
|
@ -18,10 +18,10 @@ |
|
|
|
|
static E_Gadcon_Client *_gc_init (E_Gadcon * gc, const char *name, |
|
|
|
|
const char *id, const char *style); |
|
|
|
|
static void _gc_shutdown (E_Gadcon_Client * gcc); |
|
|
|
|
static void _gc_orient (E_Gadcon_Client * gcc); |
|
|
|
|
static char *_gc_label (void); |
|
|
|
|
static Evas_Object *_gc_icon (Evas * evas); |
|
|
|
|
static const char *_gc_id_new (void); |
|
|
|
|
static void _gc_orient (E_Gadcon_Client * gcc, E_Gadcon_Orient orient); |
|
|
|
|
static char *_gc_label (E_Gadcon_Client_Class *client_class); |
|
|
|
|
static Evas_Object *_gc_icon (E_Gadcon_Client_Class *client_class, Evas * evas); |
|
|
|
|
static const char *_gc_id_new (E_Gadcon_Client_Class *client_class); |
|
|
|
|
|
|
|
|
|
/* Module Protos */ |
|
|
|
|
static void _mpdule_cb_mouse_down (void *data, Evas * e, Evas_Object * obj, |
|
|
|
@ -180,7 +180,7 @@ _gc_shutdown (E_Gadcon_Client * gcc) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void |
|
|
|
|
_gc_orient (E_Gadcon_Client * gcc) |
|
|
|
|
_gc_orient (E_Gadcon_Client * gcc, E_Gadcon_Orient orient) |
|
|
|
|
{ |
|
|
|
|
Instance *inst; |
|
|
|
|
Evas_Coord mw, mh; |
|
|
|
@ -191,13 +191,13 @@ _gc_orient (E_Gadcon_Client * gcc) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static char * |
|
|
|
|
_gc_label (void) |
|
|
|
|
_gc_label (E_Gadcon_Client_Class *client_class) |
|
|
|
|
{ |
|
|
|
|
return D_ ("MPDule"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static Evas_Object * |
|
|
|
|
_gc_icon (Evas * evas) |
|
|
|
|
_gc_icon (E_Gadcon_Client_Class *client_class, Evas * evas) |
|
|
|
|
{ |
|
|
|
|
Evas_Object *o; |
|
|
|
|
char buf[4096]; |
|
|
|
@ -210,7 +210,7 @@ _gc_icon (Evas * evas) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static const char * |
|
|
|
|
_gc_id_new (void) |
|
|
|
|
_gc_id_new (E_Gadcon_Client_Class *client_class) |
|
|
|
|
{ |
|
|
|
|
Config_Item *ci; |
|
|
|
|
|
|
|
|
|