forked from enlightenment/efl
parent
9d2fb4b4b5
commit
7908a77ad8
|
@ -8,7 +8,8 @@ struct _Widget_Data
|
||||||
Evas_Object *base, *rect, *img, *overlay;
|
Evas_Object *base, *rect, *img, *overlay;
|
||||||
const char *file, *group;
|
const char *file, *group;
|
||||||
Elm_Bg_Option option;
|
Elm_Bg_Option option;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Coord w, h;
|
Evas_Coord w, h;
|
||||||
} load_opts;
|
} load_opts;
|
||||||
};
|
};
|
||||||
|
|
|
@ -53,7 +53,8 @@ struct _Widget_Data
|
||||||
Elm_Input_Panel_Return_Key_Type input_panel_return_key_type;
|
Elm_Input_Panel_Return_Key_Type input_panel_return_key_type;
|
||||||
void *input_panel_imdata;
|
void *input_panel_imdata;
|
||||||
int input_panel_imdata_len;
|
int input_panel_imdata_len;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Object *hover_parent;
|
Evas_Object *hover_parent;
|
||||||
Evas_Object *pop, *hover;
|
Evas_Object *pop, *hover;
|
||||||
const char *hover_style;
|
const char *hover_style;
|
||||||
|
|
|
@ -30,7 +30,8 @@ struct _Widget_Data
|
||||||
Elm_Flip_Mode mode;
|
Elm_Flip_Mode mode;
|
||||||
Evas_Object *clip;
|
Evas_Object *clip;
|
||||||
Evas_Object *event[4];
|
Evas_Object *event[4];
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Object *content, *clip;
|
Evas_Object *content, *clip;
|
||||||
} front, back;
|
} front, back;
|
||||||
Ecore_Job *job;
|
Ecore_Job *job;
|
||||||
|
|
|
@ -17,8 +17,10 @@ struct _Widget_Data
|
||||||
Elm_Icon_Lookup_Order lookup_order;
|
Elm_Icon_Lookup_Order lookup_order;
|
||||||
|
|
||||||
#ifdef HAVE_ELEMENTARY_ETHUMB
|
#ifdef HAVE_ELEMENTARY_ETHUMB
|
||||||
struct {
|
struct
|
||||||
struct {
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
const char *path;
|
const char *path;
|
||||||
const char *key;
|
const char *key;
|
||||||
} file, thumb;
|
} file, thumb;
|
||||||
|
@ -34,7 +36,8 @@ struct _Widget_Data
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ELM_EFREET
|
#ifdef ELM_EFREET
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
int requested_size;
|
int requested_size;
|
||||||
Eina_Bool use : 1;
|
Eina_Bool use : 1;
|
||||||
} freedesktop;
|
} freedesktop;
|
||||||
|
|
|
@ -19,7 +19,8 @@ struct _Subinfo
|
||||||
{
|
{
|
||||||
const char *part;
|
const char *part;
|
||||||
Evas_Object *obj;
|
Evas_Object *obj;
|
||||||
enum {
|
enum
|
||||||
|
{
|
||||||
SWALLOW,
|
SWALLOW,
|
||||||
BOX_APPEND,
|
BOX_APPEND,
|
||||||
BOX_PREPEND,
|
BOX_PREPEND,
|
||||||
|
@ -28,15 +29,19 @@ struct _Subinfo
|
||||||
TABLE_PACK,
|
TABLE_PACK,
|
||||||
TEXT
|
TEXT
|
||||||
} type;
|
} type;
|
||||||
union {
|
union
|
||||||
union {
|
{
|
||||||
|
union
|
||||||
|
{
|
||||||
const Evas_Object *reference;
|
const Evas_Object *reference;
|
||||||
unsigned int pos;
|
unsigned int pos;
|
||||||
} box;
|
} box;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
unsigned short col, row, colspan, rowspan;
|
unsigned short col, row, colspan, rowspan;
|
||||||
} table;
|
} table;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
const char *text;
|
const char *text;
|
||||||
} text;
|
} text;
|
||||||
} p;
|
} p;
|
||||||
|
|
|
@ -18,7 +18,8 @@ struct _Widget_Data
|
||||||
Elm_Object_Select_Mode select_mode;
|
Elm_Object_Select_Mode select_mode;
|
||||||
int walking;
|
int walking;
|
||||||
int movements;
|
int movements;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Coord x, y;
|
Evas_Coord x, y;
|
||||||
} history[SWIPE_MOVES];
|
} history[SWIPE_MOVES];
|
||||||
Eina_Bool scr_minw : 1;
|
Eina_Bool scr_minw : 1;
|
||||||
|
|
|
@ -14,7 +14,8 @@ struct _Elm_Menu_Item
|
||||||
Evas_Smart_Cb func;
|
Evas_Smart_Cb func;
|
||||||
unsigned int idx;
|
unsigned int idx;
|
||||||
|
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Object *hv, *bx, *location;
|
Evas_Object *hv, *bx, *location;
|
||||||
Eina_List *items;
|
Eina_List *items;
|
||||||
Eina_Bool open : 1;
|
Eina_Bool open : 1;
|
||||||
|
|
|
@ -14,10 +14,12 @@ struct _Widget_Data
|
||||||
Ecore_Timer *longtimer;
|
Ecore_Timer *longtimer;
|
||||||
|
|
||||||
#ifdef HAVE_ELEMENTARY_ETHUMB
|
#ifdef HAVE_ELEMENTARY_ETHUMB
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
int id;
|
int id;
|
||||||
|
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
const char *path;
|
const char *path;
|
||||||
const char *key;
|
const char *key;
|
||||||
} file, thumb;
|
} file, thumb;
|
||||||
|
|
|
@ -33,7 +33,8 @@ struct _Widget_Data
|
||||||
double timeout;
|
double timeout;
|
||||||
Eina_Bool loop:1;
|
Eina_Bool loop:1;
|
||||||
|
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
const char *current;
|
const char *current;
|
||||||
Eina_List *list; //list of const char *
|
Eina_List *list; //list of const char *
|
||||||
} layout;
|
} layout;
|
||||||
|
|
|
@ -13,7 +13,8 @@ struct _Elm_Store
|
||||||
{
|
{
|
||||||
EINA_MAGIC;
|
EINA_MAGIC;
|
||||||
void (*free)(Elm_Store *store);
|
void (*free)(Elm_Store *store);
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
void (*free)(Elm_Store_Item *item);
|
void (*free)(Elm_Store_Item *item);
|
||||||
} item;
|
} item;
|
||||||
Evas_Object *genlist;
|
Evas_Object *genlist;
|
||||||
|
@ -22,16 +23,20 @@ struct _Elm_Store
|
||||||
Eina_List *realized;
|
Eina_List *realized;
|
||||||
int realized_count;
|
int realized_count;
|
||||||
int cache_max;
|
int cache_max;
|
||||||
struct {
|
struct
|
||||||
struct {
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
Elm_Store_Item_List_Cb func;
|
Elm_Store_Item_List_Cb func;
|
||||||
void *data;
|
void *data;
|
||||||
} list;
|
} list;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Elm_Store_Item_Fetch_Cb func;
|
Elm_Store_Item_Fetch_Cb func;
|
||||||
void *data;
|
void *data;
|
||||||
} fetch;
|
} fetch;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Elm_Store_Item_Unfetch_Cb func;
|
Elm_Store_Item_Unfetch_Cb func;
|
||||||
void *data;
|
void *data;
|
||||||
} unfetch;
|
} unfetch;
|
||||||
|
|
|
@ -36,7 +36,8 @@ struct _Elm_Toolbar_Item
|
||||||
Evas_Object *object;
|
Evas_Object *object;
|
||||||
Evas_Object *o_menu;
|
Evas_Object *o_menu;
|
||||||
Evas_Smart_Cb func;
|
Evas_Smart_Cb func;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
int priority;
|
int priority;
|
||||||
Eina_Bool visible : 1;
|
Eina_Bool visible : 1;
|
||||||
} prio;
|
} prio;
|
||||||
|
|
|
@ -31,18 +31,21 @@ struct _Elm_Transit
|
||||||
Elm_Transit *prev_chain_transit;
|
Elm_Transit *prev_chain_transit;
|
||||||
Eina_List *next_chain_transits;
|
Eina_List *next_chain_transits;
|
||||||
Elm_Transit_Tween_Mode tween_mode;
|
Elm_Transit_Tween_Mode tween_mode;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Elm_Transit_Del_Cb func;
|
Elm_Transit_Del_Cb func;
|
||||||
void *arg;
|
void *arg;
|
||||||
} del_data;
|
} del_data;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
double delayed;
|
double delayed;
|
||||||
double paused;
|
double paused;
|
||||||
double duration;
|
double duration;
|
||||||
double begin;
|
double begin;
|
||||||
double current;
|
double current;
|
||||||
} time;
|
} time;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
int count;
|
int count;
|
||||||
int current;
|
int current;
|
||||||
Eina_Bool reverse;
|
Eina_Bool reverse;
|
||||||
|
|
|
@ -18,7 +18,8 @@ typedef struct _View_Smart_Data View_Smart_Data;
|
||||||
struct _View_Smart_Data
|
struct _View_Smart_Data
|
||||||
{
|
{
|
||||||
Ewk_View_Smart_Data base;
|
Ewk_View_Smart_Data base;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Event_Mouse_Down event;
|
Evas_Event_Mouse_Down event;
|
||||||
Evas_Coord x, y;
|
Evas_Coord x, y;
|
||||||
unsigned int move_count;
|
unsigned int move_count;
|
||||||
|
@ -34,7 +35,8 @@ struct _Widget_Data
|
||||||
Evas_Object *self;
|
Evas_Object *self;
|
||||||
#ifdef HAVE_ELEMENTARY_WEB
|
#ifdef HAVE_ELEMENTARY_WEB
|
||||||
Evas_Object *ewk_view;
|
Evas_Object *ewk_view;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Elm_Web_Window_Open window_create;
|
Elm_Web_Window_Open window_create;
|
||||||
void *window_create_data;
|
void *window_create_data;
|
||||||
Elm_Web_Dialog_Alert alert;
|
Elm_Web_Dialog_Alert alert;
|
||||||
|
@ -49,15 +51,18 @@ struct _Widget_Data
|
||||||
void *console_message_data;
|
void *console_message_data;
|
||||||
} hook;
|
} hook;
|
||||||
Elm_Win_Keyboard_Mode input_method;
|
Elm_Win_Keyboard_Mode input_method;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Elm_Web_Zoom_Mode mode;
|
Elm_Web_Zoom_Mode mode;
|
||||||
float current;
|
float current;
|
||||||
float min, max;
|
float min, max;
|
||||||
Eina_Bool no_anim;
|
Eina_Bool no_anim;
|
||||||
Ecore_Timer *timer;
|
Ecore_Timer *timer;
|
||||||
} zoom;
|
} zoom;
|
||||||
struct {
|
struct
|
||||||
struct {
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
int x, y;
|
int x, y;
|
||||||
} start, end;
|
} start, end;
|
||||||
Ecore_Animator *animator;
|
Ecore_Animator *animator;
|
||||||
|
|
|
@ -20,7 +20,8 @@ struct _Elm_Win
|
||||||
Elm_Win_Keyboard_Mode kbdmode;
|
Elm_Win_Keyboard_Mode kbdmode;
|
||||||
Elm_Win_Indicator_Mode indmode;
|
Elm_Win_Indicator_Mode indmode;
|
||||||
Elm_Win_Indicator_Opacity_Mode ind_o_mode;
|
Elm_Win_Indicator_Opacity_Mode ind_o_mode;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
const char *info;
|
const char *info;
|
||||||
Ecore_Timer *timer;
|
Ecore_Timer *timer;
|
||||||
int repeat_count;
|
int repeat_count;
|
||||||
|
@ -29,7 +30,8 @@ struct _Elm_Win
|
||||||
int resize_location;
|
int resize_location;
|
||||||
int *autodel_clear, rot;
|
int *autodel_clear, rot;
|
||||||
int show_count;
|
int show_count;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
int x, y;
|
int x, y;
|
||||||
} screen;
|
} screen;
|
||||||
struct
|
struct
|
||||||
|
@ -39,10 +41,12 @@ struct _Elm_Win
|
||||||
Evas_Object *obj, *hot_obj;
|
Evas_Object *obj, *hot_obj;
|
||||||
int hot_x, hot_y;
|
int hot_x, hot_y;
|
||||||
} pointer;
|
} pointer;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Object *top;
|
Evas_Object *top;
|
||||||
|
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Object *target;
|
Evas_Object *target;
|
||||||
Eina_Bool visible : 1;
|
Eina_Bool visible : 1;
|
||||||
Eina_Bool handled : 1;
|
Eina_Bool handled : 1;
|
||||||
|
|
|
@ -26,7 +26,8 @@ struct _Smart_Data
|
||||||
|
|
||||||
Elm_Smart_Scroller_Policy hbar_flags, vbar_flags;
|
Elm_Smart_Scroller_Policy hbar_flags, vbar_flags;
|
||||||
|
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Coord x, y;
|
Evas_Coord x, y;
|
||||||
Evas_Coord sx, sy;
|
Evas_Coord sx, sy;
|
||||||
Evas_Coord dx, dy;
|
Evas_Coord dx, dy;
|
||||||
|
@ -36,11 +37,13 @@ struct _Smart_Data
|
||||||
Evas_Coord bx0, by0;
|
Evas_Coord bx0, by0;
|
||||||
Evas_Coord b0x, b0y;
|
Evas_Coord b0x, b0y;
|
||||||
Evas_Coord b2x, b2y;
|
Evas_Coord b2x, b2y;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Coord x, y;
|
Evas_Coord x, y;
|
||||||
double timestamp, localtimestamp;
|
double timestamp, localtimestamp;
|
||||||
} history[60];
|
} history[60];
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
double tadd, dxsum, dysum;
|
double tadd, dxsum, dysum;
|
||||||
double est_timestamp_diff;
|
double est_timestamp_diff;
|
||||||
} hist;
|
} hist;
|
||||||
|
@ -73,15 +76,18 @@ struct _Smart_Data
|
||||||
Eina_Bool want_reset : 1;
|
Eina_Bool want_reset : 1;
|
||||||
} down;
|
} down;
|
||||||
|
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Coord w, h;
|
Evas_Coord w, h;
|
||||||
Eina_Bool resized : 1;
|
Eina_Bool resized : 1;
|
||||||
} child;
|
} child;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Coord x, y;
|
Evas_Coord x, y;
|
||||||
} step, page;
|
} step, page;
|
||||||
|
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
void (*set) (Evas_Object *obj, Evas_Coord x, Evas_Coord y);
|
void (*set) (Evas_Object *obj, Evas_Coord x, Evas_Coord y);
|
||||||
void (*get) (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y);
|
void (*get) (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y);
|
||||||
void (*max_get) (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y);
|
void (*max_get) (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y);
|
||||||
|
@ -91,8 +97,10 @@ struct _Smart_Data
|
||||||
void (*gravity_get) (Evas_Object *obj, double *x, double *y);
|
void (*gravity_get) (Evas_Object *obj, double *x, double *y);
|
||||||
} pan_func;
|
} pan_func;
|
||||||
|
|
||||||
struct {
|
struct
|
||||||
struct {
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
Evas_Coord start, end;
|
Evas_Coord start, end;
|
||||||
double t_start, t_end;
|
double t_start, t_end;
|
||||||
Ecore_Animator *animator;
|
Ecore_Animator *animator;
|
||||||
|
@ -1836,7 +1844,8 @@ _smart_hold_animator(void *data)
|
||||||
int i, count = 0;
|
int i, count = 0;
|
||||||
Evas_Coord basex = 0, basey = 0, x, y;
|
Evas_Coord basex = 0, basey = 0, x, y;
|
||||||
double dt, t, tdiff, tnow, twin;
|
double dt, t, tdiff, tnow, twin;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Coord x, y, dx, dy;
|
Evas_Coord x, y, dx, dy;
|
||||||
double t, dt;
|
double t, dt;
|
||||||
} pos[60];
|
} pos[60];
|
||||||
|
|
|
@ -43,10 +43,12 @@ struct _Elm_Tooltip
|
||||||
Ecore_Timer *hide_timer;
|
Ecore_Timer *hide_timer;
|
||||||
Ecore_Job *reconfigure_job;
|
Ecore_Job *reconfigure_job;
|
||||||
Evas_Coord mouse_x, mouse_y;
|
Evas_Coord mouse_x, mouse_y;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
Evas_Coord x, y, bx, by;
|
Evas_Coord x, y, bx, by;
|
||||||
} pad;
|
} pad;
|
||||||
struct {
|
struct
|
||||||
|
{
|
||||||
double x, y;
|
double x, y;
|
||||||
} rel_pos;
|
} rel_pos;
|
||||||
double hide_timeout; /* from theme */
|
double hide_timeout; /* from theme */
|
||||||
|
|
Loading…
Reference in New Issue