summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-12-01 06:48:38 +0200
committerYakov Goldberg <yakov.g@samsung.com>2014-12-01 17:02:55 +0200
commitc75095b1cba6ad3368c16cf34202b79ba41c8e49 (patch)
tree90d0f03addba1891e94c8ca67bad00064ea87779 /src/bin
parent590bc48bdffe2b4fd8fcecb4064d85060cf9d353 (diff)
Add default bg to editor windows
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/egui_gui/editor.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/egui_gui/editor.c b/src/bin/egui_gui/editor.c
index c30e8a6..74a4b05 100644
--- a/src/bin/egui_gui/editor.c
+++ b/src/bin/egui_gui/editor.c
@@ -1717,6 +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 Eo *bg = eo_add(ELM_BG_CLASS, win,
1721 elm_obj_bg_color_set(0, 0, 0, 255),
1722 evas_obj_visibility_set(EINA_TRUE));
1723 eo_do(win, elm_obj_win_resize_object_add(bg));
1720 if (!IS_WIN(wdg)) 1724 if (!IS_WIN(wdg))
1721 { 1725 {
1722 Eo *o = _ffi_eo_add(session, wdg, win); 1726 Eo *o = _ffi_eo_add(session, wdg, win);