Stefan Seyfried
65437a60a8
Merge remote-tracking branch 'broken/next-cc'
2014-01-28 13:22:00 +01:00
M. Liebmann
da2738cd9e
CLuaMenuForwarder: Fix error msg
2014-01-28 12:59:17 +01:00
svenhoefer
6a821fe2a5
- CLuaInstance::MenuAddItem: add 'next' and 'cancel' items
2014-01-27 21:10:41 +01:00
Stefan Seyfried
e9bc524562
Merge remote-tracking branch 'check/next-cc'
2014-01-27 21:00:18 +01:00
svenhoefer
73446dbc52
- CLuaInstance::MenuAddItem: separation of "separator" and "separatorline"
2014-01-27 11:47:40 +01:00
Stefan Seyfried
899837e003
lua: detect if static or dynamic linking is wanted
2014-01-26 01:25:06 +01:00
Stefan Seyfried
78f51baf66
Merge remote-tracking branch 'check/next-cc-fixed'
2014-01-26 00:33:08 +01:00
Stefan Seyfried
f10057118f
Revert "- rewrite Lua handling"
...
This reverts commit 4b6d2d310c
.
It broke static linked lua+luaposix completely, which is useful
for debugging and thus should be kept working.
2014-01-26 00:16:30 +01:00
striper
4b6d2d310c
- rewrite Lua handling
...
* depend pkg checks on enable-lua switch
* define STATIC_LUAPOSIX in case of static lua build to exclude unwanted
code in neutrino
* remove DYNAMIC_LUAPOSIX code as it's not needed in case of dynamic lua
build
2014-01-25 21:17:06 +01:00
Stefan Seyfried
1ab77083ba
luainstance: fix -Wnarrowing compiler warnings on 32bit platforms
2014-01-23 19:28:39 +01:00
Stefan Seyfried
2cd5aa4b1f
luainstance: make the type of table_key.code explicitly clear
2014-01-23 17:17:42 +01:00
Stefan Seyfried
116065f7ac
luainstance: do not export machine specific stuff
...
It's an exported API, so it should be somewhat useful/stable,
not change for every machine...
2014-01-23 17:17:25 +01:00
Stefan Seyfried
4da2a33b29
Revert "CLuaInstance: Fix compiler warnings"
...
This reverts commit 87031add94
.
This is wrong in so many aspects... just look up the definition
of lua_integer...
2014-01-23 17:16:56 +01:00
Stefan Seyfried
7f9aa3f37b
luainstance: fix -Wnarrowing compiler warnings on 32bit platforms
2014-01-23 15:36:13 +01:00
Stefan Seyfried
32d3a82efc
luainstance: make the type of table_key.code explicitly clear
2014-01-23 14:55:43 +01:00
Stefan Seyfried
c45ccf6a0d
luainstance: do not export machine specific stuff
...
It's an exported API, so it should be somewhat useful/stable,
not change for every machine...
2014-01-23 14:16:45 +01:00
Stefan Seyfried
614474d439
Revert "CLuaInstance: Fix compiler warnings"
...
This reverts commit 87031add94
.
This is wrong in so many aspects... just look up the definition
of lua_integer...
2014-01-23 14:12:15 +01:00
Stefan Seyfried
b414474323
Merge remote-tracking branch 'check/next-cc'
...
compiles, nothing else.
Conflicts:
configure.ac
src/Makefile.am
src/gui/Makefile.am
src/gui/luainstance.cpp
src/gui/luainstance.h
src/gui/plugins.cpp
src/gui/plugins.h
src/gui/scan_setup.cpp
src/gui/start_wizard.cpp
src/gui/test_menu.cpp
src/gui/user_menue.cpp
src/gui/widget/hintboxext.cpp
src/gui/widget/menue.cpp
src/gui/widget/messagebox.cpp
src/gui/widget/stringinput.cpp
2014-01-23 14:08:37 +01:00
M. Liebmann
71e5f964ab
CLuaInstance: Fix bool parameter in CWindow/SignalBox => paint()/hide()
2014-01-23 10:48:07 +01:00
svenhoefer
53f5801d6f
- adapt ShowMsg handling from martii's neutrino-mp
2014-01-22 12:37:21 +01:00
M. Liebmann
87031add94
CLuaInstance: Fix compiler warnings
2014-01-21 22:35:49 +01:00
M. Liebmann
1f7e8b41d7
CLuaInstance: Add parameter 'vertical' to CLuaSignalBox
2014-01-21 18:09:46 +01:00
M. Liebmann
9a346f8d25
CLuaInstance: fix format strings
2014-01-21 18:09:46 +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
b59141d1f5
gui/luainstance: recognize menu hints
2014-01-19 20:57:39 +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
82be6f8e66
lua: msgbox fix
2014-01-19 20:57:39 +01:00
martii
7b9adbe65b
lua: msgbox fix
2014-01-19 20:57:39 +01:00
martii
c6912180ee
lua related fixes
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
2014-01-19 20:57:39 +01:00
martii
a568f3004e
lua: remove debugging output
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
920e475526
LUA: change stringinput valid chars
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
martii
c0a720bd8b
luainstance: support new text coloring scheme
...
Signed-off-by: Stefan Seyfried <seife@tuxbox-git.slipkontur.de >
2014-01-19 20:57:37 +01:00
Christian Ege
53ed75f66d
handling of luaposix for dynamic environment
2014-01-19 20:57:37 +01:00
Stefan Seyfried
a61dbcee0b
luainstance: return render width from RenderString
...
Return the string's renderwidth from RenderString. If boxh is < 0
then the string is not rendered and only the width is determined.
2014-01-19 20:57:37 +01:00
Stefan Seyfried
7c7c7e55a4
luainstance: remove utf8 parameter from RenderString, add center
...
Everybody should always be using utf8 anyway, so remove the "utf8"
parameter from RenderString and replace it with a "center" parameter
which centers the string horizontally in its box.
new usage:
RenderString(font, text, x, y, color, boxwidth, boxheight, center)
defaults:
color = COL_MENUCONTENT, boxwidth = window's width minus x
boxheight = 0, center = 0
2014-01-19 20:57:36 +01:00
Stefan Seyfried
3f57d7c528
luainstance: export customcolor.h colors, too
2014-01-19 20:57:36 +01:00
Stefan Seyfried
8af79e1152
luainstance: work around a signed/unsigned problem on ppc
2014-01-19 20:57:36 +01:00
Stefan Seyfried
ef512f897a
luainstance: allow any color for PaintBox, disable debug
2014-01-19 20:57:36 +01:00
Stefan Seyfried
a73dfbb2c5
luainstance: allow rounded corners in PaintBox
2014-01-19 20:57:36 +01:00
Stefan Seyfried
56db064368
luainstance: dynamic values are not static
2014-01-19 20:57:36 +01:00
Stefan Seyfried
f7fc13becd
luainstance: export FontHeight to Lua scripts
2014-01-19 20:57:36 +01:00
Stefan Seyfried
f43585cbe3
luainstance: also export RCInput constants
2014-01-19 20:57:36 +01:00