summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2020-01-23 12:55:12 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2020-01-23 12:55:12 +0900
commit3e21d343492686d38ae8cb488a929e3af07d8d4e (patch)
tree976f41e227fe4923c62bfae643b72de97e11dae4 /src/bin
parent68d7f584cb78402dbe884d3a7b902c4735d96f8a (diff)
efl_ui_spotlight: rename Manager_XXX and Indicator_XXX
Summary: In spotlight classes, "Manager" and "Indicator" are used as prefix in the class names. e.g. Efl.Ui.Spotlight.Manager_Plain, Efl.Ui.Spotlight.Indicator_Icon However, those classes are basically manager and indicator classes with different features. Therefore, "Manager" and "Indicator" should be used as postfix in the class names. e.g. Efl.Ui.Spotlight.Plain_Manager, Efl.Ui.Spotlight.Icon_Indicator However, for the easier usage of C APIs, c_prefix of those classes are remained to be "efl_ui_spotlight_manager_xxx" and "efl_ui_spotlight_indicator_xxx". Reviewers: segfaultxavi, bu5hm4n, zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11142
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/elementary/test_ui_pager.c2
-rw-r--r--src/bin/elementary/test_ui_pager_scroll.c2
-rw-r--r--src/bin/elementary/test_ui_spotlight.c2
-rw-r--r--src/bin/elementary/test_ui_tab_pager.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/elementary/test_ui_pager.c b/src/bin/elementary/test_ui_pager.c
index 34792f3..c9ec2d6 100644
--- a/src/bin/elementary/test_ui_pager.c
+++ b/src/bin/elementary/test_ui_pager.c
@@ -316,7 +316,7 @@ static void indicator_icon_btn_cb(void *data, const Efl_Event *ev EINA_UNUSED)
316{ 316{
317 Params *params = data; 317 Params *params = data;
318 318
319 params->indicator = efl_add(EFL_PAGE_INDICATOR_ICON_CLASS, params->pager); 319 params->indicator = efl_add(EFL_PAGE_ICON_INDICATOR_CLASS, params->pager);
320 efl_ui_pager_indicator_set(params->pager, params->indicator); 320 efl_ui_pager_indicator_set(params->pager, params->indicator);
321} 321}
322 322
diff --git a/src/bin/elementary/test_ui_pager_scroll.c b/src/bin/elementary/test_ui_pager_scroll.c
index c60ac48..7c1211e 100644
--- a/src/bin/elementary/test_ui_pager_scroll.c
+++ b/src/bin/elementary/test_ui_pager_scroll.c
@@ -369,7 +369,7 @@ static void indicator_icon_btn_cb(void *data,
369{ 369{
370 Params *params = data; 370 Params *params = data;
371 371
372 params->indicator = efl_add(EFL_PAGE_INDICATOR_ICON_CLASS, params->pager); 372 params->indicator = efl_add(EFL_PAGE_ICON_INDICATOR_CLASS, params->pager);
373 efl_ui_pager_indicator_set(params->pager, params->indicator); 373 efl_ui_pager_indicator_set(params->pager, params->indicator);
374} 374}
375 375
diff --git a/src/bin/elementary/test_ui_spotlight.c b/src/bin/elementary/test_ui_spotlight.c
index f38dfca..cf52bb7 100644
--- a/src/bin/elementary/test_ui_spotlight.c
+++ b/src/bin/elementary/test_ui_spotlight.c
@@ -396,7 +396,7 @@ indicator_icon_btn_cb(void *data, const Efl_Event *ev EINA_UNUSED)
396{ 396{
397 Params *params = data; 397 Params *params = data;
398 398
399 params->indicator = efl_new(EFL_UI_SPOTLIGHT_INDICATOR_ICON_CLASS); 399 params->indicator = efl_new(EFL_UI_SPOTLIGHT_ICON_INDICATOR_CLASS);
400 efl_ui_spotlight_indicator_set(params->spotlight, params->indicator); 400 efl_ui_spotlight_indicator_set(params->spotlight, params->indicator);
401} 401}
402 402
diff --git a/src/bin/elementary/test_ui_tab_pager.c b/src/bin/elementary/test_ui_tab_pager.c
index 62e4e7d..2500b4d 100644
--- a/src/bin/elementary/test_ui_tab_pager.c
+++ b/src/bin/elementary/test_ui_tab_pager.c
@@ -527,14 +527,14 @@ _tab_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
527static void 527static void
528_tran_set_btn_scroll_cb(void *data, const Efl_Event *ev EINA_UNUSED) 528_tran_set_btn_scroll_cb(void *data, const Efl_Event *ev EINA_UNUSED)
529{ 529{
530 Efl_Ui_Spotlight_Manager_Scroll *scroll = efl_new(EFL_UI_SPOTLIGHT_MANAGER_SCROLL_CLASS); 530 Efl_Ui_Spotlight_Scroll_Manager *scroll = efl_new(EFL_UI_SPOTLIGHT_SCROLL_MANAGER_CLASS);
531 efl_ui_spotlight_manager_set(data, scroll); 531 efl_ui_spotlight_manager_set(data, scroll);
532} 532}
533 533
534static void 534static void
535_tran_set_btn_stack_cb(void *data, const Efl_Event *ev EINA_UNUSED) 535_tran_set_btn_stack_cb(void *data, const Efl_Event *ev EINA_UNUSED)
536{ 536{
537 Efl_Ui_Spotlight_Manager_Scroll *stack = efl_new(EFL_UI_SPOTLIGHT_MANAGER_STACK_CLASS); 537 Efl_Ui_Spotlight_Scroll_Manager *stack = efl_new(EFL_UI_SPOTLIGHT_STACK_MANAGER_CLASS);
538 efl_ui_spotlight_manager_set(data, stack); 538 efl_ui_spotlight_manager_set(data, stack);
539} 539}
540 540