Thilo Graf
e4939264f0
lua: add paintItem() for menu items
...
menu1:setSelected{id=<id>}
2022-04-23 20:47:01 +02:00
Thilo Graf
9f9aa957b1
lua: add setValue() for menu forwarders
...
menu1:setSelected{id=<id>,value="text"}
2022-04-23 20:45:42 +02:00
Jacek Jendrzej
4a23e0cdf2
some inits
2021-10-22 14:25:37 +02:00
Thilo Graf
853966d89a
lua api: add function setSelected() for lua menu handler, update to v1.84
2019-11-28 21:07:04 +01:00
Jacek Jendrzej
6ed8c3b909
lua:avoid segfault
2019-05-18 14:44:10 +02:00
Thilo Graf
53a780e5d9
src/gui/lua/lua_menue.cpp: add missing @,_:
2018-09-28 14:15:05 +02:00
Thilo Graf
dde298b1b7
CMsgBox: rework msgbox classes with Window class implementation
...
Replacing messagebox, hintbox_ext and some derivated parts with
basic class hintbox and derivated class CMsgBox. This should unify
window handling and avoids maintain of multiple classes with quasi
same purpose and adds more functionality.
TODO: fix and optimize details
2016-10-24 10:31:24 +02:00
svenhoefer
8d014c6f76
- lua_menue: allow user definable return values
...
This concerns:
* CLuaMenuFilebrowser::exec()
* CLuaMenuStringinput::exec()
* CLuaMenuKeyboardinput::exec()
2016-09-01 09:44:13 +02:00
Jacek Jendrzej
c9e8a57418
check if string msg is not NULL, fix segfault
2016-05-19 15:22:15 +02:00
M. Liebmann
619dacbc2e
lua_menue.cpp: Not script abort in case of error in callback...
...
...functions, display only error message
2016-01-13 20:18:56 +01:00
M. Liebmann
9e331ee4e3
CLuaInstance: Fix and unified script function calls
...
- No api changes, code only
2015-12-23 08:29:15 +01:00
M. Liebmann
5259e80b1c
CLuaMenuFilebrowser::exec: Fix value handling when dirMode = false
...
- Add luaId to action function as parameter
- Set Lua api version to 1.25
2015-12-13 23:36:52 +01:00
M. Liebmann
e34d1c314f
CLuaInstance: Move menue functions in separate classes / files
...
- No api changes, code only
2015-12-12 10:42:28 +01:00