svenhoefer
d7b496062c
- luainstance: add CKeybordInput
...
Syntax:
m:addItem { \
type="keyboardinput", \
action="_action", \
id="_id", \
value="_value", \
name="_name", \
help="help (first line)",
help2="help (second line)"
}
2014-11-24 10:04:02 +01:00
martii
ffec667030
system/luaserver: Terminate Lua script when luaclient dies.
2014-10-14 10:27:37 +02:00
M. Liebmann
57ffa12e6b
luainstance/cwindow: Add funktion setWindowColor
2014-09-17 20:51:32 +02:00
M. Liebmann
d923d991aa
CLuaInstance: Use native bool parameter instead of string for Lua script functions
2014-09-13 22:56:42 +02:00
M. Liebmann
86186e6443
CLuaInstance: Add member paramBoolDeprecated() for info...
...
...when Boolean parameters are passed as a string or number
2014-09-13 22:56:36 +02:00
M. Liebmann
fc0f5d780a
CLuaInstance: Add overloaded member tableLookup() for bool vars
2014-09-13 22:56:22 +02:00
M. Liebmann
b74e80ee6f
CLuaInstance: Add CConfigFile functions
...
Functions: loadConfig(), saveConfig(), clear(), getString(),
setString(), getInt32(), setInt32(), getBool(), setBool()
2014-09-11 12:14:24 +02:00
M. Liebmann
457f974eed
CLuaInstance: Add missed library function _luaL_checkbool()
2014-09-11 12:14:24 +02:00
M. Liebmann
c511a44a2b
CLuaInstance: Add cVideo functions
...
- cVideo::SetBlank()
- cVideo::ShowPicture()
- cVideo::StopPicture()
2014-09-11 12:14:24 +02:00
M. Liebmann
51fb2fb9e7
CLuaInstance: Add strFind() and strSub() functions
...
- These functions are possible substitutes for the
Lua functions string.find() and string.sub()
- This Lua functions have problems e.g. with the contents
of some websites.
2014-09-11 12:14:24 +02:00
M. Liebmann
a3c453c403
CLuaInstance: Add function checkMagicMask() for use the color constants
...
- Use checkMagicMask() for colors in CComponents-Lua functions
2014-07-16 23:45:23 +02:00
M. Liebmann
0714c7f5ed
CLuainstance: Use lua_Unsigned for color definitions
...
- Add additional tableLookup() for get lua_Unsigned
- Change tableLookup() for int to lua_Integer
2014-07-16 23:45:23 +02:00
M. Liebmann
176d97969e
CLuaInstance::SignalBoxNew: Add 'parent' parameter...
...
...for the integration of signalbox in a parent cwindow
2014-07-04 02:13:38 +02:00
[CST] Focus
943850eefc
gui/luainstance.cpp: add function to start file/url play
2014-06-12 18:58:16 +04:00
M. Liebmann
0a957abf31
CLuaInstance: Add runScript() function for using in Lua script
...
- Script runs in a new instance in neutrino context
Example:
local n = neutrino()
n:runScript(filename [, args, ...])
2014-03-19 10:14:43 +01:00
M. Liebmann
b61a225d2b
CLuaInstance: Optional specification of parameters for runScript()
...
- Add parameters as std::vector and possibility of return of
status and error messages. (THX Martii)
Example:
void runScript(const char *fileName, std::vector<std::string> *argv,
std::string *result_code, std::string *result_string,
std::string *error_string);
- Add Parameters as const char*, last parameter to NULL is imperative.
Example:
void runScript(const char *fileName, const char *arg0, const char *arg1, ..., NULL);
2014-03-19 10:14:43 +01:00
M. Liebmann
2dbdb8798e
CLuaInstance: Replace cwindow header_height & footer_height
...
- Replace with headerHeight & footerHeight
- Set header_height & footer_height to deprecated
2014-03-16 12:33:26 +01:00
M. Liebmann
1e78781d18
CLuaInstance: Add various CComponentsPicture functions
...
- Added: new, paint, hide, setpicture
2014-03-16 12:33:26 +01:00
M. Liebmann
a501f4e10e
CLuaInstance: Add setCaption & paintHeader function to cwindow
2014-03-16 12:33:26 +01:00
M. Liebmann
5136563035
CLuaInstance: Add function 'functionDeprecated()' for debug output...
...
...when a script function is deprecated.
2014-03-16 12:33:26 +01:00
M. Liebmann
4df0449e39
CLuaInstance: Add setText function to ctext
2014-03-16 12:33:26 +01:00
M. Liebmann
81608cbd3f
CLuaInstance::ComponentsTextNew: Add 'parent' parameter...
...
...for the integration of ctext in a parent cwindow
2014-03-16 12:33:26 +01:00
M. Liebmann
f4c70c96a5
CLuaInstance: Add additional tableLookup for get userdata
2014-03-16 12:33:26 +01:00
M. Liebmann
3fa31ef441
CLuaInstance: Add footer_height function
2014-03-02 12:58:41 +01:00
M. Liebmann
a3d9bff44e
CLuaInstance: Add various CComponentsWindow fuctions
...
- Added: color buttons for footer, header_height
2014-02-21 00:02:47 +01:00
M. Liebmann
cc7e1136ec
CLuaInstance: Add various CComponentsText fuctions
...
- Added: new, paint, hide, scroll
2014-02-21 00:02:47 +01:00
M. Liebmann
6475e77a84
CLuaInstance: Add function getRenderWidth()
2014-02-21 00:02:47 +01:00
M. Liebmann
ad206dbbc1
CLuaInstance: Multiple functions made from CComponents in CLuaInstance available
...
- CComponentsWindow: new(), paint(), hide()
- CSignalBox: new(), paint()
2014-01-20 21:35:39 +01:00
M. Liebmann
ab00bb11b2
Adaptation of CLuaInstance
2014-01-19 20:57:40 +01:00
martii
60dbf9194e
gui/luainstance: rename menue => menu
2014-01-19 20:57:39 +01:00
martii
007d700d53
lua: pictureviewer support
2014-01-19 20:57:39 +01:00
martii
1bdd23676a
lua menues: add directkey forwarder
2014-01-19 20:57:39 +01:00
martii
d2e5a703c3
lua: update menue callback api to include an id parameter
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
2014-01-19 20:57:39 +01:00
martii
df1ec23980
LUA fixes
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
2014-01-19 20:57:38 +01:00
martii
098c205b57
LUA: messagebox support
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
2014-01-19 20:57:38 +01:00
martii
0b38475439
LUA: add hintbox; bugfixes
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
2014-01-19 20:57:38 +01:00
martii
2a41749eb5
LUA: experimental support for native neutrino menues
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
2014-01-19 20:57:38 +01:00
Stefan Seyfried
f7fc13becd
luainstance: export FontHeight to Lua scripts
2014-01-19 20:57:36 +01:00
Stefan Seyfried
eefd75537e
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
2014-01-19 20:57:35 +01:00
Stefan Seyfried
4d7e07f81f
luainstance: the name is "Lua", not "LUA"
2014-01-19 20:57:35 +01:00
Stefan Seyfried
f26357e887
neutrino: add a prototype of a lua plugin interface
...
this is just for preliminary tests, not yet really usable
for anything useful
2014-01-19 20:57:35 +01:00