aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-27 20:47:18 +1000
committerDavid Walter Seikel2014-04-27 20:47:18 +1000
commitc795cd425f072de9e2aceddded1981a663d9d870 (patch)
tree3107b1bcfcbd6bece0833c226be70276a2b5bfa0 /src
parentConvert the Evas 3D example stuff to EO, though it still doesn't work, but at... (diff)
downloadSledjHamr-c795cd425f072de9e2aceddded1981a663d9d870.zip
SledjHamr-c795cd425f072de9e2aceddded1981a663d9d870.tar.gz
SledjHamr-c795cd425f072de9e2aceddded1981a663d9d870.tar.bz2
SledjHamr-c795cd425f072de9e2aceddded1981a663d9d870.tar.xz
Set the background colours back at least, even though it still wont work.
Diffstat (limited to 'src')
-rw-r--r--src/GuiLua/GuiLua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c
index 1cc8bf1..1318ba2 100644
--- a/src/GuiLua/GuiLua.c
+++ b/src/GuiLua/GuiLua.c
@@ -342,7 +342,7 @@ _scene_setup(globals *ourGlobals, Scene_Data *data)
342 data->scene = eo_add(EVAS_3D_SCENE_CLASS, ourGlobals->evas); 342 data->scene = eo_add(EVAS_3D_SCENE_CLASS, ourGlobals->evas);
343 eo_do(data->scene, 343 eo_do(data->scene,
344 evas_3d_scene_size_set(WIDTH, HEIGHT), 344 evas_3d_scene_size_set(WIDTH, HEIGHT),
345 evas_3d_scene_background_color_set(1.0, 0.0, 1.0, 0.5) 345 evas_3d_scene_background_color_set(0.0, 0.0, 0.0, 0.0)
346 ); 346 );
347 347
348 // TODO - I have no idea how this should work. 348 // TODO - I have no idea how this should work.
@@ -514,7 +514,7 @@ static int window(lua_State *L)
514 514
515 /* Add a background rectangle objects. */ 515 /* Add a background rectangle objects. */
516 background = evas_object_rectangle_add(ourGlobals->evas); 516 background = evas_object_rectangle_add(ourGlobals->evas);
517 evas_object_color_set(background, 255, 0, 255, 255); 517 evas_object_color_set(background, 0, 0, 0, 255);
518 evas_object_move(background, 0, 0); 518 evas_object_move(background, 0, 0);
519 evas_object_resize(background, w, h); 519 evas_object_resize(background, w, h);
520 evas_object_show(background); 520 evas_object_show(background);