diff options
Diffstat (limited to '')
-rw-r--r-- | LuaSL/src/LuaSL.edc | 12 |
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 |