Commit Graph

5485 Commits

Author SHA1 Message Date
[CST] Focus
40408c82cd cross-configure.apollo.debug: enable ffmpegdec and lua 2014-01-23 12:26:43 +04:00
svenhoefer
53f5801d6f - adapt ShowMsg handling from martii's neutrino-mp 2014-01-22 12:37:21 +01:00
svenhoefer
6995e1a765 - adapt ShowHint handling from martii's neutrino-mp 2014-01-22 12:11:52 +01:00
[CST] Focus
cfe6facea4 mmi.h, cam_menu.cpp fix spelling error 2014-01-22 12:27:07 +04:00
M. Liebmann
87031add94 CLuaInstance: Fix compiler warnings 2014-01-21 22:35:49 +01:00
M. Liebmann
4fa3a245df CSignalBar: Fix display "value caption" 2014-01-21 18:09:46 +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
82d4832013 Add a --enable-lua switch to enable LUA support 2014-01-21 17:05:24 +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
c83f195637 CSignalBox: Set current tuner as the default frontend 2014-01-20 21:35:39 +01:00
M. Liebmann
506203dd85 Fix audio menu in movieplayer 2014-01-20 11:07:27 +01:00
svenhoefer
8b6519ad1c Merge branch 'next-cc' into pu/lua 2014-01-19 21:20:53 +01:00
svenhoefer
7c6c8b3cc9 - deutsch.locale: update vfd scroll 2014-01-19 21:18:41 +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
M. Liebmann
df06f83a20 Preparing the hintbox classes for Lua
- Add non locale variants for CHintBoxExt, CMessageBox, ShowMsgUTF
  THX Martii
2014-01-19 20:57:38 +01:00
M. Liebmann
31842369cc Preparing the input classes for Lua
- Add non locale variants for CExtendedInput, CStringInput,
  CStringInputSMS, CPINInput
  THX Martii
2014-01-19 20:57:38 +01:00
M. Liebmann
0a5a7b3146 CScanSettings: convert char[...] configuration values to std::string 2014-01-19 20:57:38 +01:00
M. Liebmann
004aa84e32 SNeutrinoSettings: convert more char[...] configuration values to std::string 2014-01-19 20:57:37 +01:00
M. Liebmann
afbd87083b Preparing the menu classes for Lua Part #3
- Add non locale variants for CMenuOptionNumberChooser and
  CMenuOptionChooser
- Adaptation of CMenuOptionStringChooser, CChangeObserver
  THX Martii
2014-01-19 20:57:37 +01:00
M. Liebmann
b41819190d Preparing the menu classes for Lua Part #2
- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
  THX Martii
2014-01-19 20:57:37 +01:00
M. Liebmann
2c9c9debcc Preparing the menu classes for Lua Part #1
- Remove CNonLocalizedMenuSeparator
- Add overloaded function CMenuSeparator for non local
  THX Martii
2014-01-19 20:57:37 +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
Stefan Seyfried
966c7f1379 configure: try to autodetect lualib 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
Stefan Seyfried
fee8c10f42 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.
2014-01-19 20:57:36 +01:00
Stefan Seyfried
9bdc0309a7 luainstance: show errors from loadfile() 2014-01-19 20:57:36 +01:00