From e37376b7b448b7056a6832807569c46a1940ba85 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 2 May 2014 01:22:43 +1000 Subject: Halve the test window size. --- src/GuiLua/GuiLua.c | 2 +- src/GuiLua/test.skang | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c index 86b0d37..36acd20 100644 --- a/src/GuiLua/GuiLua.c +++ b/src/GuiLua/GuiLua.c @@ -455,7 +455,7 @@ _scene_setup(globals *ourGlobals, Scene_Data *scene) { scene->scene = eo_add(EVAS_3D_SCENE_CLASS, ourGlobals->evas); eo_do(scene->scene, - evas_3d_scene_size_set(1024, 1024), + evas_3d_scene_size_set(512, 512), evas_3d_scene_background_color_set(0.0, 0.0, 0.0, 0.0) ); diff --git a/src/GuiLua/test.skang b/src/GuiLua/test.skang index 897777f..337b75f 100644 --- a/src/GuiLua/test.skang +++ b/src/GuiLua/test.skang @@ -4,7 +4,7 @@ -- There's an implied local test = require 'test' -- This is a bit more verbose than I wanted. lol -local win = skang.window(1024, 1024, "G'day planet.", 'testWindow') +local win = skang.window(512, 512, "G'day planet.", 'testWindow') skang.thingasm{win, 'quitter', 'Quits the skang window', types = 'widget', widget='"button", "Quit", 10, 10, 100, 30'} win.W.quitter.action = 'skang.quit()' -- TODO Should look it up in ThingSpace.commands, and translate 'quit' into the Lua 'skang.quit()'? -- cgit v1.1