efl_ui : change efl_ui_view_list to efl_ui_list_view.
Summary:
View is not a namespace, but an interface,
So, View_List cannot be under the view namespace for now.
it looks more suite to be end as View than List on this widget name.
Firstly, it follows our common naming rules of class.
Also, List_View is commonly presentable name on most UI frameworks,
so it is very easy to understand what this widget can do for the user.
Test Plan:
Make works.
Example is not works for now til stable model interface.
Reviewers: felipealmeida, woohyun, cedric, Hermet
Reviewed By: Hermet
Subscribers: larryolj, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7234
2018-11-04 21:27:05 -08:00
|
|
|
#ifndef EFL_UI_LIST_VIEW_SEG_ARRAY_H
|
|
|
|
#define EFL_UI_LIST_VIEW_SEG_ARRAY_H
|
|
|
|
|
|
|
|
typedef struct _Efl_Ui_List_View_SegArray_Node
|
|
|
|
{
|
|
|
|
EINA_RBTREE;
|
|
|
|
|
|
|
|
int length;
|
|
|
|
int max;
|
|
|
|
int first;
|
|
|
|
|
|
|
|
void* layout_data;
|
|
|
|
|
|
|
|
Efl_Ui_List_View_Layout_Item* pointers[0];
|
|
|
|
} Efl_Ui_List_View_Seg_Array_Node;
|
|
|
|
|
2019-01-24 05:29:28 -08:00
|
|
|
typedef struct _Efl_Ui_List_View_Seg_Array
|
efl_ui : change efl_ui_view_list to efl_ui_list_view.
Summary:
View is not a namespace, but an interface,
So, View_List cannot be under the view namespace for now.
it looks more suite to be end as View than List on this widget name.
Firstly, it follows our common naming rules of class.
Also, List_View is commonly presentable name on most UI frameworks,
so it is very easy to understand what this widget can do for the user.
Test Plan:
Make works.
Example is not works for now til stable model interface.
Reviewers: felipealmeida, woohyun, cedric, Hermet
Reviewed By: Hermet
Subscribers: larryolj, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7234
2018-11-04 21:27:05 -08:00
|
|
|
{
|
|
|
|
Efl_Ui_List_View_Seg_Array_Node *root;
|
|
|
|
|
|
|
|
int step_size;
|
|
|
|
int node_count;
|
|
|
|
int count;
|
2019-01-24 05:29:28 -08:00
|
|
|
} Efl_Ui_List_View_Seg_Array;
|
|
|
|
|
|
|
|
|
|
|
|
Efl_Ui_List_View_Seg_Array * efl_ui_list_view_seg_array_setup(int size);
|
|
|
|
void efl_ui_list_view_seg_array_free(Efl_Ui_List_View_Seg_Array *seg_array);
|
|
|
|
void efl_ui_list_view_seg_array_flush(Efl_Ui_List_View_Seg_Array *seg_array);
|
|
|
|
int efl_ui_list_view_seg_array_count(Efl_Ui_List_View_Seg_Array* seg_array);
|
|
|
|
int efl_ui_list_view_item_index_get(Efl_Ui_List_View_Layout_Item* item);
|
|
|
|
|
|
|
|
|
|
|
|
void efl_ui_list_view_seg_array_insert(Efl_Ui_List_View_Seg_Array* seg_array, int index, Efl_Model* model);
|
|
|
|
void efl_ui_list_view_seg_array_insert_value(Efl_Ui_List_View_Seg_Array *seg_array, int first, Eina_Value value);
|
|
|
|
Efl_Ui_List_View_Layout_Item* efl_ui_list_view_seg_array_remove(Efl_Ui_List_View_Seg_Array *seg_array, int index);
|
|
|
|
|
|
|
|
Eina_Accessor* efl_ui_list_view_seg_array_accessor_get(Efl_Ui_List_View_Seg_Array* seg_array);
|
|
|
|
Eina_Accessor* efl_ui_list_view_seg_array_node_accessor_get(Efl_Ui_List_View_Seg_Array* seg_array);
|
|
|
|
|
efl_ui : change efl_ui_view_list to efl_ui_list_view.
Summary:
View is not a namespace, but an interface,
So, View_List cannot be under the view namespace for now.
it looks more suite to be end as View than List on this widget name.
Firstly, it follows our common naming rules of class.
Also, List_View is commonly presentable name on most UI frameworks,
so it is very easy to understand what this widget can do for the user.
Test Plan:
Make works.
Example is not works for now til stable model interface.
Reviewers: felipealmeida, woohyun, cedric, Hermet
Reviewed By: Hermet
Subscribers: larryolj, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7234
2018-11-04 21:27:05 -08:00
|
|
|
|
|
|
|
#endif
|