summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-10-26 16:46:35 +0200
committerYakov Goldberg <yakov.g@samsung.com>2014-10-27 10:27:32 +0200
commitc23ee857a5a83bb7d3d5ca400882a078381895fc (patch)
tree93c0f507c5e0382d520d88f7ff7ecd44861d1d5f
parent817f958bd84adc35f65e142e2eb62d226870e20a (diff)
Change func names according to changes in split
-rw-r--r--src/bin/egui_gui/editor.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/bin/egui_gui/editor.c b/src/bin/egui_gui/editor.c
index 25b8f35..1c5ae13 100644
--- a/src/bin/egui_gui/editor.c
+++ b/src/bin/egui_gui/editor.c
@@ -5,7 +5,7 @@
5#include "gui_widget.h" 5#include "gui_widget.h"
6#include "props_helper.h" 6#include "props_helper.h"
7#include "objtree.h" 7#include "objtree.h"
8#include "propview.h" 8#include "prop_layout.h"
9#include "itemview.h" 9#include "itemview.h"
10#include "gui_parser.h" 10#include "gui_parser.h"
11#include "egui_logic_private.h" 11#include "egui_logic_private.h"
@@ -1163,7 +1163,7 @@ _update_widget_on_undoredo(const Gui_Context *ctx, Dep_Id *wdg_id, Eina_Bool sta
1163 if (parent) _wdg_parent_win_reload(parent); 1163 if (parent) _wdg_parent_win_reload(parent);
1164 objtree_item_selected_set(wdg?wdg:parent); 1164 objtree_item_selected_set(wdg?wdg:parent);
1165 _editor_wdg_selected_set(wdg?wdg:parent); 1165 _editor_wdg_selected_set(wdg?wdg:parent);
1166 propview_build(wdg?wdg:parent); 1166 proplayout_build(wdg?wdg:parent);
1167} 1167}
1168 1168
1169/* Undo last action */ 1169/* Undo last action */
@@ -1202,7 +1202,7 @@ _editor_undo(const Gui_Context *ctx)
1202 wdg_prop_remove(wdg, new_prop); 1202 wdg_prop_remove(wdg, new_prop);
1203 } 1203 }
1204 1204
1205 propsview_view_switch(PROPERTY_TYPE); 1205 proplayout_view_switch(PROPERTY_TYPE);
1206 if (old_prop) 1206 if (old_prop)
1207 { 1207 {
1208 op_desc = prop_op_desc_get(old_prop); 1208 op_desc = prop_op_desc_get(old_prop);
@@ -1279,7 +1279,7 @@ _editor_undo(const Gui_Context *ctx)
1279 Dep_Data *dep_data = gui_context_dep_data_get(cb_dep_id); 1279 Dep_Data *dep_data = gui_context_dep_data_get(cb_dep_id);
1280 dep_data_cb_set(dep_data, old_cb); 1280 dep_data_cb_set(dep_data, old_cb);
1281 1281
1282 propsview_view_switch(CALLBACK_TYPE); 1282 proplayout_view_switch(CALLBACK_TYPE);
1283 _editor_wdg_selected_set(wdg); 1283 _editor_wdg_selected_set(wdg);
1284 cbview_item_selected_set(cb_dep_id); 1284 cbview_item_selected_set(cb_dep_id);
1285 break; 1285 break;
@@ -1365,7 +1365,7 @@ _editor_redo(const Gui_Context *ctx)
1365 op_desc = prop_op_desc_get(old_prop); 1365 op_desc = prop_op_desc_get(old_prop);
1366 } 1366 }
1367 1367
1368 propsview_view_switch(PROPERTY_TYPE); 1368 proplayout_view_switch(PROPERTY_TYPE);
1369 if (new_prop) 1369 if (new_prop)
1370 { 1370 {
1371 op_desc = prop_op_desc_get(new_prop); 1371 op_desc = prop_op_desc_get(new_prop);
@@ -1405,7 +1405,7 @@ _editor_redo(const Gui_Context *ctx)
1405 Dep_Data *dep_data = gui_context_dep_data_get(cb_dep_id); 1405 Dep_Data *dep_data = gui_context_dep_data_get(cb_dep_id);
1406 dep_data_cb_set(dep_data, new_cb); 1406 dep_data_cb_set(dep_data, new_cb);
1407 1407
1408 propsview_view_switch(CALLBACK_TYPE); 1408 proplayout_view_switch(CALLBACK_TYPE);
1409 _editor_wdg_selected_set(wdg); 1409 _editor_wdg_selected_set(wdg);
1410 cbview_item_selected_set(cb_dep_id); 1410 cbview_item_selected_set(cb_dep_id);
1411 break; 1411 break;
@@ -1425,7 +1425,7 @@ _editor_redo(const Gui_Context *ctx)
1425 wdg_cb_container_unset(wdg); 1425 wdg_cb_container_unset(wdg);
1426 wdg_cb_container_set(wdg, new_cc); 1426 wdg_cb_container_set(wdg, new_cc);
1427 1427
1428 propsview_view_switch(CALLBACK_TYPE); 1428 proplayout_view_switch(CALLBACK_TYPE);
1429 _editor_wdg_selected_set(wdg); 1429 _editor_wdg_selected_set(wdg);
1430 break; 1430 break;
1431 } 1431 }
@@ -1505,7 +1505,7 @@ _editor_undo_redo_post(const Gui_Memento *memento)
1505 case MEMENTO_OBJ_CONTAINER_ITEM: 1505 case MEMENTO_OBJ_CONTAINER_ITEM:
1506 case MEMENTO_ITEM_CONTAINER_ITEM: 1506 case MEMENTO_ITEM_CONTAINER_ITEM:
1507 { 1507 {
1508 propsview_view_switch(CONTENT_TYPE); 1508 proplayout_view_switch(CONTENT_TYPE);
1509 _wdg_parent_win_reload(head_memento_wdg); 1509 _wdg_parent_win_reload(head_memento_wdg);
1510 _editor_wdg_selected_set(head_memento_wdg); 1510 _editor_wdg_selected_set(head_memento_wdg);
1511 objtree_item_selected_set(head_memento_wdg); 1511 objtree_item_selected_set(head_memento_wdg);
@@ -1517,7 +1517,7 @@ _editor_undo_redo_post(const Gui_Memento *memento)
1517 } 1517 }
1518 case MEMENTO_CALLBACK_ADD_DEL: 1518 case MEMENTO_CALLBACK_ADD_DEL:
1519 { 1519 {
1520 propsview_view_switch(CALLBACK_TYPE); 1520 proplayout_view_switch(CALLBACK_TYPE);
1521 _editor_wdg_selected_set(head_memento_wdg); 1521 _editor_wdg_selected_set(head_memento_wdg);
1522 break; 1522 break;
1523 } 1523 }
@@ -1562,7 +1562,7 @@ _editor_ctx_call(const Gui_Context *ctx)
1562 * It will draw border around win, but widget was not selected yet. 1562 * It will draw border around win, but widget was not selected yet.
1563 * So need to hide border. */ 1563 * So need to hide border. */
1564 _editor_wdg_selected_set(NULL); 1564 _editor_wdg_selected_set(NULL);
1565 propview_build(NULL); 1565 proplayout_build(NULL);
1566 objtree_item_selected_set(NULL); 1566 objtree_item_selected_set(NULL);
1567 1567
1568 return EINA_TRUE; 1568 return EINA_TRUE;
@@ -1596,7 +1596,7 @@ _editor_selected_wdg_del_cb()
1596 { 1596 {
1597 _wdg_parent_win_reload(wdg); 1597 _wdg_parent_win_reload(wdg);
1598 } 1598 }
1599 propview_build(NULL); 1599 proplayout_build(NULL);
1600 1600
1601 /* Set selected widget: t.e. if I delete button, box will be selected after. 1601 /* Set selected widget: t.e. if I delete button, box will be selected after.
1602 * If I delete window, main item will be selected. */ 1602 * If I delete window, main item will be selected. */
@@ -1746,7 +1746,7 @@ editor_shutdown()
1746{ 1746{
1747 target_db_shutdown(); 1747 target_db_shutdown();
1748 seqview_shutdown(); 1748 seqview_shutdown();
1749 propview_shutdown(); 1749 proplayout_shutdown();
1750 itemview_shutdown(); 1750 itemview_shutdown();
1751 objtree_list_unset(); 1751 objtree_list_unset();
1752 1752
@@ -1953,7 +1953,7 @@ _prop_update_from_propview(void *data EINA_UNUSED, Eo *obj, const Eo_Event_Descr
1953 if (reload_win) 1953 if (reload_win)
1954 { 1954 {
1955 _wdg_parent_win_reload(wdg); 1955 _wdg_parent_win_reload(wdg);
1956 propview_build(NULL); 1956 proplayout_build(NULL);
1957 _editor_wdg_selected_set(wdg); 1957 _editor_wdg_selected_set(wdg);
1958 objtree_item_selected_set(wdg); 1958 objtree_item_selected_set(wdg);
1959 } 1959 }
@@ -1985,7 +1985,7 @@ _prop_del_from_propview(void *data, Eo *obj EINA_UNUSED, const Eo_Event_Descript
1985 1985
1986 _wdg_parent_win_reload(wdg); 1986 _wdg_parent_win_reload(wdg);
1987 1987
1988 propview_build(NULL); 1988 proplayout_build(NULL);
1989 1989
1990 _editor_wdg_selected_set(wdg); 1990 _editor_wdg_selected_set(wdg);
1991 objtree_item_selected_set(wdg); 1991 objtree_item_selected_set(wdg);
@@ -2019,7 +2019,7 @@ _drop_property_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
2019 2019
2020 wdg_prop_remove((Gui_Widget *) wdg, (Gui_Widget_Property *) prop); 2020 wdg_prop_remove((Gui_Widget *) wdg, (Gui_Widget_Property *) prop);
2021 _wdg_parent_win_reload(wdg); 2021 _wdg_parent_win_reload(wdg);
2022 propview_build(NULL); 2022 proplayout_build(NULL);
2023 _editor_wdg_selected_set(wdg); 2023 _editor_wdg_selected_set(wdg);
2024 objtree_item_selected_set(wdg); 2024 objtree_item_selected_set(wdg);
2025 } 2025 }
@@ -2135,7 +2135,7 @@ _field_update_from_itemview(void *data EINA_UNUSED, Eo *obj, const Eo_Event_Desc
2135 2135
2136 /* Reloading all window. */ 2136 /* Reloading all window. */
2137 _wdg_parent_win_reload(wdg); 2137 _wdg_parent_win_reload(wdg);
2138 propview_build(NULL); 2138 proplayout_build(NULL);
2139 _editor_wdg_selected_set(wdg); 2139 _editor_wdg_selected_set(wdg);
2140 objtree_item_selected_set(wdg); 2140 objtree_item_selected_set(wdg);
2141 itemview_item_selected_set(new_wit); 2141 itemview_item_selected_set(new_wit);
@@ -2300,7 +2300,7 @@ _itemview_item_do_(unsigned int type)
2300 elm_object_item_disabled_set(g->main_win->toolbar_undo_it, EINA_FALSE); 2300 elm_object_item_disabled_set(g->main_win->toolbar_undo_it, EINA_FALSE);
2301 2301
2302 _wdg_parent_win_reload(wdg); 2302 _wdg_parent_win_reload(wdg);
2303 propview_build(NULL); 2303 proplayout_build(NULL);
2304 _editor_wdg_selected_set(wdg); 2304 _editor_wdg_selected_set(wdg);
2305 objtree_item_selected_set(wdg); 2305 objtree_item_selected_set(wdg);
2306 itemview_item_selected_set(it); 2306 itemview_item_selected_set(it);
@@ -2627,7 +2627,7 @@ _widget_selected_from_objtree(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUS
2627{ 2627{
2628 Gui_Widget *wdg = elm_object_item_data_get(event_info); 2628 Gui_Widget *wdg = elm_object_item_data_get(event_info);
2629 _editor_wdg_selected_set(wdg); 2629 _editor_wdg_selected_set(wdg);
2630 propview_build(wdg); 2630 proplayout_build(wdg);
2631 2631
2632 /* Make menu shown, when it is selected from objtree. */ 2632 /* Make menu shown, when it is selected from objtree. */
2633 if (wdg_is_container(wdg, DB_DEF_MENU_CLASS)) 2633 if (wdg_is_container(wdg, DB_DEF_MENU_CLASS))
@@ -2643,7 +2643,7 @@ _project_close(const Gui_Context *ctx)
2643{ 2643{
2644 /* Clear lists. */ 2644 /* Clear lists. */
2645 objtree_context_set(NULL); 2645 objtree_context_set(NULL);
2646 propview_build(NULL); 2646 proplayout_build(NULL);
2647 seqview_fill(NULL); 2647 seqview_fill(NULL);
2648 if (ctx) 2648 if (ctx)
2649 { 2649 {
@@ -2810,7 +2810,7 @@ editor_init(GuiLogicCbs *_guilogic_cbs)
2810 _guilogic_cbs->_project_new = _project_new; 2810 _guilogic_cbs->_project_new = _project_new;
2811 2811
2812 objtree_list_set(g->main_win->objtree_list); 2812 objtree_list_set(g->main_win->objtree_list);
2813 propview_init(); 2813 proplayout_init();
2814 seqview_init(g->main_win->seq_list); 2814 seqview_init(g->main_win->seq_list);
2815 itemview_init(g->main_win->itemview_list); 2815 itemview_init(g->main_win->itemview_list);
2816 target_db_init(); 2816 target_db_init();