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