enlightenment/src/modules/dropshadow/e_mod_main.h

45 lines
814 B
C

#ifndef E_MOD_MAIN_H
#define E_MOD_MAIN_H
typedef struct _Dropshadow Dropshadow;
typedef struct _Shadow Shadow;
struct _Dropshadow
{
E_Module *module;
Evas_List *shadows;
Evas_List *cons;
E_Before_Idler *idler_before;
struct {
int shadow_x, shadow_y;
int blur_size;
double shadow_darkness;
} conf;
struct {
unsigned char *gauss;
int gauss_size;
} table;
};
struct _Shadow
{
Dropshadow *ds;
int x, y, w, h;
E_Container_Shape *shape;
Evas_Object *object[4];
unsigned char reshape : 1;
unsigned char square : 1;
};
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