aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL.edc
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-22 10:07:43 +1000
committerDavid Walter Seikel2012-01-22 10:07:43 +1000
commitf1f4f875fc1207c8d30b5ff35ca9087077430d22 (patch)
treed29b1873eef2d0a538024b8e176a35585bb6aabd /LuaSL/src/LuaSL.edc
parentConsider a script as properly compiled if it passes the diff test. (diff)
downloadSledjHamr-f1f4f875fc1207c8d30b5ff35ca9087077430d22.zip
SledjHamr-f1f4f875fc1207c8d30b5ff35ca9087077430d22.tar.gz
SledjHamr-f1f4f875fc1207c8d30b5ff35ca9087077430d22.tar.bz2
SledjHamr-f1f4f875fc1207c8d30b5ff35ca9087077430d22.tar.xz
Tidy up the output.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL.edc12
1 files changed, 6 insertions, 6 deletions
diff --git a/LuaSL/src/LuaSL.edc b/LuaSL/src/LuaSL.edc
index 852de08..844fc8e 100644
--- a/LuaSL/src/LuaSL.edc
+++ b/LuaSL/src/LuaSL.edc
@@ -46,30 +46,30 @@ collections {
46 D.text:font("Sans:style=Bold", 32); 46 D.text:font("Sans:style=Bold", 32);
47 D.text:text("Lua rocks!"); 47 D.text:text("Lua rocks!");
48 text_geom = D.text:geom(); 48 text_geom = D.text:geom();
49 print(D.text:text()); 49--// print(D.text:text());
50 D.text:show(); 50 D.text:show();
51 51
52 52
53 --// shutdown func - generally empty or not there. everything garbage collected for you 53 --// shutdown func - generally empty or not there. everything garbage collected for you
54 function shutdown () 54 function shutdown ()
55 print("lua::shutdown"); 55--// print("lua::shutdown");
56 end 56 end
57 57
58 function show () 58 function show ()
59 print("lua::show"); 59--// print("lua::show");
60 end 60 end
61 61
62 function hide () 62 function hide ()
63 print("lua::hide"); 63--// print("lua::hide");
64 end 64 end
65 65
66 function move (x, y) 66 function move (x, y)
67 print("lua::move x=" .. x .. " x=" .. y); 67--// print("lua::move x=" .. x .. " x=" .. y);
68 D.edje:move(0, 0); 68 D.edje:move(0, 0);
69 end 69 end
70 70
71 function resize (w, h) 71 function resize (w, h)
72 print("lua::resize w=" .. w .. " h=" .. h); 72--// print("lua::resize w=" .. w .. " h=" .. h);
73 D.text:move((w - text_geom.w) / 2, (h - text_geom.h) / 8); 73 D.text:move((w - text_geom.w) / 2, (h - text_geom.h) / 8);
74 D.edje:resize(w, h); 74 D.edje:resize(w, h);
75 end 75 end