summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-12-01 17:57:39 +0200
committerYakov Goldberg <yakov.g@samsung.com>2014-12-01 17:57:39 +0200
commit29e68b22944d2354e326dee8bd1b66ffb5351863 (patch)
treef8f411e9f98c42f056679a16dc35719ba43a264f /src/bin
parentc75095b1cba6ad3368c16cf34202b79ba41c8e49 (diff)
Addition/Fix to previous patch
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/egui_gui/editor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/egui_gui/editor.c b/src/bin/egui_gui/editor.c
index 74a4b05..784ff4a 100644
--- a/src/bin/egui_gui/editor.c
+++ b/src/bin/egui_gui/editor.c
@@ -1717,8 +1717,10 @@ _widget_add(Gui_Session *session, const Gui_Widget *wdg, void *data)
1717 1717
1718 Eo *win = eo_add(ELM_WIN_CLASS, parent_win, elm_obj_win_constructor(NULL, ELM_WIN_INLINED_IMAGE)); 1718 Eo *win = eo_add(ELM_WIN_CLASS, parent_win, elm_obj_win_constructor(NULL, ELM_WIN_INLINED_IMAGE));
1719 if (!win) return EINA_FALSE; 1719 if (!win) return EINA_FALSE;
1720 /* Add black background, so dragged elemets will be redrawn. */
1720 Eo *bg = eo_add(ELM_BG_CLASS, win, 1721 Eo *bg = eo_add(ELM_BG_CLASS, win,
1721 elm_obj_bg_color_set(0, 0, 0, 255), 1722 elm_obj_bg_color_set(0, 0, 0, 255),
1723 evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND),
1722 evas_obj_visibility_set(EINA_TRUE)); 1724 evas_obj_visibility_set(EINA_TRUE));
1723 eo_do(win, elm_obj_win_resize_object_add(bg)); 1725 eo_do(win, elm_obj_win_resize_object_add(bg));
1724 if (!IS_WIN(wdg)) 1726 if (!IS_WIN(wdg))