Stefan Seyfried
fa1b81ccf3
luainstance: allow rounded corners in PaintBox
2013-03-24 19:26:10 +01:00
Stefan Seyfried
1f3efc987f
luainstance: dynamic values are not static
2013-03-24 13:15:13 +01:00
Stefan Seyfried
bba85ee912
luainstance: export FontHeight to Lua scripts
2013-03-22 22:22:21 +01:00
Stefan Seyfried
6e80277e5c
luainstance: also export RCInput constants
2013-03-22 13:46:45 +01:00
Stefan Seyfried
8ef5040d47
luainstance: export variables as tables
...
This exports arrays FONT_TYPE_foo as FONT['foo'], COL_bar als COL['bar']
and SCREEN_OFF_a as SCREEN['OFF_a'] instead of lots of single variables.
Later these could also be made dynamic if the need arises.
2013-03-22 13:44:32 +01:00
Stefan Seyfried
e5a29f3a75
luainstance: show errors from loadfile()
2013-03-22 09:20:09 +01:00
Stefan Seyfried
c9c89ad503
luainstance: add minimal error reporting
2013-03-19 10:23:11 +01:00
Stefan Seyfried
7343286a1d
luainstance: add simple GetInput() method
...
use like this in the lua script:
--
RC_home = 174
local n = neutrino()
repeat msg, data = m:GetInput(1000) until msg == RC_home
2013-03-18 17:38:37 +01:00
Stefan Seyfried
6593e3b991
luainstance: the name is "Lua", not "LUA"
2013-03-18 16:10:01 +01:00
Stefan Seyfried
da358e7502
neutrino: add a prototype of a lua plugin interface
...
this is just for preliminary tests, not yet really usable
for anything useful
2013-03-17 23:24:45 +01:00