49 lines
890 B
C
49 lines
890 B
C
|
#ifndef E_MOD_MAIN_H
|
||
|
#define E_MOD_MAIN_H
|
||
|
|
||
|
typedef struct _Config Config;
|
||
|
typedef struct _Battery Battery;
|
||
|
typedef struct _Battery_Face Battery_Face;
|
||
|
|
||
|
struct _Config
|
||
|
{
|
||
|
int width;
|
||
|
double x, y;
|
||
|
};
|
||
|
|
||
|
struct _Battery
|
||
|
{
|
||
|
E_Menu *config_menu;
|
||
|
Battery_Face *face;
|
||
|
|
||
|
E_Config_DD *conf_edd;
|
||
|
Config *conf;
|
||
|
};
|
||
|
|
||
|
struct _Battery_Face
|
||
|
{
|
||
|
Battery *bat;
|
||
|
E_Container *con;
|
||
|
Evas *evas;
|
||
|
|
||
|
Evas_Object *bat_object;
|
||
|
Evas_Object *event_object;
|
||
|
|
||
|
Evas_Coord minsize, maxsize;
|
||
|
|
||
|
unsigned char move : 1;
|
||
|
unsigned char resize : 1;
|
||
|
Evas_Coord xx, yy;
|
||
|
Evas_Coord fx, fy, fw;
|
||
|
|
||
|
Ecore_Event_Handler *ev_handler_container_resize;
|
||
|
};
|
||
|
|
||
|
EAPI void *init (E_Module *m);
|
||
|
EAPI int shutdown (E_Module *m);
|
||
|
EAPI int save (E_Module *m);
|
||
|
EAPI int info (E_Module *m);
|
||
|
EAPI int about (E_Module *m);
|
||
|
|
||
|
#endif
|