diff options
author | Jeeyong Um <conr2d@gmail.com> | 2017-05-30 15:36:17 +0900 |
---|---|---|
committer | Jeeyong Um <conr2d@gmail.com> | 2017-05-30 15:36:17 +0900 |
commit | 74ef504aa85dfe0a01e3117fa3fdcebd4a341526 (patch) | |
tree | cc3a49c234535dc33708b1d5bb84531d3a89c5f9 /src/lib/elementary/elm_widget.h | |
parent | bca55bb52f2325b9816b809c250e97b44da01f35 (diff) |
elm_widget: optimize memory alignment for focus related fields
Diffstat (limited to 'src/lib/elementary/elm_widget.h')
-rw-r--r-- | src/lib/elementary/elm_widget.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h index f9aa7a0e55..fa391c637b 100644 --- a/src/lib/elementary/elm_widget.h +++ b/src/lib/elementary/elm_widget.h | |||
@@ -432,6 +432,19 @@ typedef struct _Elm_Widget_Smart_Data | |||
432 | Elm_Focus_Move_Policy focus_move_policy; | 432 | Elm_Focus_Move_Policy focus_move_policy; |
433 | Elm_Focus_Region_Show_Mode focus_region_show_mode; | 433 | Elm_Focus_Region_Show_Mode focus_region_show_mode; |
434 | 434 | ||
435 | struct { | ||
436 | Efl_Ui_Focus_Manager *manager; //manager which is currently regsitered in | ||
437 | Eina_Bool logical; | ||
438 | } focus; | ||
439 | struct { | ||
440 | int child_count; | ||
441 | Efl_Ui_Focus_Object *parent; | ||
442 | } logical; | ||
443 | struct { | ||
444 | Efl_Ui_Focus_Manager *manager; | ||
445 | Efl_Ui_Focus_User *provider; | ||
446 | } manager; | ||
447 | |||
435 | Eina_Bool drag_x_locked : 1; | 448 | Eina_Bool drag_x_locked : 1; |
436 | Eina_Bool drag_y_locked : 1; | 449 | Eina_Bool drag_y_locked : 1; |
437 | 450 | ||
@@ -456,18 +469,6 @@ typedef struct _Elm_Widget_Smart_Data | |||
456 | Eina_Bool on_create : 1; /**< This is true when the widget is on creation(general widget constructor). */ | 469 | Eina_Bool on_create : 1; /**< This is true when the widget is on creation(general widget constructor). */ |
457 | Eina_Bool on_destroy: 1; /**< This is true when the widget is on destruction(general widget destructor). */ | 470 | Eina_Bool on_destroy: 1; /**< This is true when the widget is on destruction(general widget destructor). */ |
458 | Eina_Bool provider_lookup : 1; /**< This is true when efl_provider_find is currently walking the tree */ | 471 | Eina_Bool provider_lookup : 1; /**< This is true when efl_provider_find is currently walking the tree */ |
459 | struct { | ||
460 | Efl_Ui_Focus_Manager *manager; //manager which is currently regsitered in | ||
461 | Eina_Bool logical; | ||
462 | } focus; | ||
463 | struct { | ||
464 | int child_count; | ||
465 | Efl_Ui_Focus_Object *parent; | ||
466 | } logical; | ||
467 | struct { | ||
468 | Efl_Ui_Focus_Manager *manager; | ||
469 | Efl_Ui_Focus_User *provider; | ||
470 | } manager; | ||
471 | } Elm_Widget_Smart_Data; | 472 | } Elm_Widget_Smart_Data; |
472 | 473 | ||
473 | /** | 474 | /** |