aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-02 01:22:43 +1000
committerDavid Walter Seikel2014-05-02 01:22:43 +1000
commite37376b7b448b7056a6832807569c46a1940ba85 (patch)
tree0c8662e9ed84c6b7e12af2e23f821fbd7210eff6 /src
parentRemove the temporary evas_3d_node_add() definition. (diff)
downloadSledjHamr-e37376b7b448b7056a6832807569c46a1940ba85.zip
SledjHamr-e37376b7b448b7056a6832807569c46a1940ba85.tar.gz
SledjHamr-e37376b7b448b7056a6832807569c46a1940ba85.tar.bz2
SledjHamr-e37376b7b448b7056a6832807569c46a1940ba85.tar.xz
Halve the test window size.
Diffstat (limited to 'src')
-rw-r--r--src/GuiLua/GuiLua.c2
-rw-r--r--src/GuiLua/test.skang2
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)
455{ 455{
456 scene->scene = eo_add(EVAS_3D_SCENE_CLASS, ourGlobals->evas); 456 scene->scene = eo_add(EVAS_3D_SCENE_CLASS, ourGlobals->evas);
457 eo_do(scene->scene, 457 eo_do(scene->scene,
458 evas_3d_scene_size_set(1024, 1024), 458 evas_3d_scene_size_set(512, 512),
459 evas_3d_scene_background_color_set(0.0, 0.0, 0.0, 0.0) 459 evas_3d_scene_background_color_set(0.0, 0.0, 0.0, 0.0)
460 ); 460 );
461 461
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 @@
4-- There's an implied local test = require 'test' 4-- There's an implied local test = require 'test'
5 5
6-- This is a bit more verbose than I wanted. lol 6-- This is a bit more verbose than I wanted. lol
7local win = skang.window(1024, 1024, "G'day planet.", 'testWindow') 7local win = skang.window(512, 512, "G'day planet.", 'testWindow')
8skang.thingasm{win, 'quitter', 'Quits the skang window', types = 'widget', widget='"button", "Quit", 10, 10, 100, 30'} 8skang.thingasm{win, 'quitter', 'Quits the skang window', types = 'widget', widget='"button", "Quit", 10, 10, 100, 30'}
9win.W.quitter.action = 'skang.quit()' -- TODO Should look it up in ThingSpace.commands, and translate 'quit' into the Lua 'skang.quit()'? 9win.W.quitter.action = 'skang.quit()' -- TODO Should look it up in ThingSpace.commands, and translate 'quit' into the Lua 'skang.quit()'?
10 10