- Add non locale variants for CHintBoxExt, CMessageBox, ShowMsgUTF
THX Martii
Origin commit data
------------------
Commit: df06f83a20
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-19 (Sun, 19 Jan 2014)
Origin message was:
------------------
Preparing the hintbox classes for Lua
- Add non locale variants for CHintBoxExt, CMessageBox, ShowMsgUTF
THX Martii
- Add non locale variants for CExtendedInput, CStringInput,
CStringInputSMS, CPINInput
THX Martii
Origin commit data
------------------
Commit: 31842369cc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-18 (Sat, 18 Jan 2014)
Origin message was:
------------------
Preparing the input classes for Lua
- Add non locale variants for CExtendedInput, CStringInput,
CStringInputSMS, CPINInput
THX Martii
- Add non locale variants for CMenuOptionNumberChooser and
CMenuOptionChooser
- Adaptation of CMenuOptionStringChooser, CChangeObserver
THX Martii
Origin commit data
------------------
Commit: afbd87083b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-18 (Sat, 18 Jan 2014)
Origin message was:
------------------
Preparing the menu classes for Lua Part #3
- Add non locale variants for CMenuOptionNumberChooser and
CMenuOptionChooser
- Adaptation of CMenuOptionStringChooser, CChangeObserver
THX Martii
- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
THX Martii
Origin commit data
------------------
Commit: b41819190d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)
Origin message was:
------------------
Preparing the menu classes for Lua Part #2
- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
THX Martii
- Remove CNonLocalizedMenuSeparator
- Add overloaded function CMenuSeparator for non local
THX Martii
Origin commit data
------------------
Commit: 2c9c9debcc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)
Origin message was:
------------------
Preparing the menu classes for Lua Part #1
- Remove CNonLocalizedMenuSeparator
- Add overloaded function CMenuSeparator for non local
THX Martii
Return the string's renderwidth from RenderString. If boxh is < 0
then the string is not rendered and only the width is determined.
Origin commit data
------------------
Commit: a61dbcee0b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-07 (Sun, 07 Apr 2013)
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
Origin commit data
------------------
Commit: 7c7c7e55a4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-07 (Sun, 07 Apr 2013)
Origin message was:
------------------
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
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.
Origin commit data
------------------
Commit: fee8c10f42
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-22 (Fri, 22 Mar 2013)
use like this in the lua script:
--
RC_home = 174
local n = neutrino()
repeat msg, data = m:GetInput(1000) until msg == RC_home
Origin commit data
------------------
Commit: eefd75537e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-18 (Mon, 18 Mar 2013)