From 8982ca01141f87d3744dd3b5866b05b0117889c6 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 11 May 2014 05:00:01 +1000 Subject: Add internal window title bar, and dragging them around. Plus some related clean ups. --- src/GuiLua/GuiLua.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/GuiLua/GuiLua.c') diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c index 494be84..09c3fe9 100644 --- a/src/GuiLua/GuiLua.c +++ b/src/GuiLua/GuiLua.c @@ -196,6 +196,8 @@ static int widget(lua_State *L) ); evas_object_smart_callback_add(wid->obj, "clicked", _on_click, wid); + evas_object_show(win->box); + lua_pushlightuserdata(L, (void *) wid); return 1; } @@ -259,7 +261,7 @@ static int window(lua_State *L) world = gl->world; } - win = winFangAdd(parent, 25, 25, w, h, title, name, world); + win = winFangAdd(parent, 25, 55, w, h, title, name, world); if (gl) { // If there's no parent, we become the parent. -- cgit v1.1