Commit Graph

490 Commits

Author SHA1 Message Date
martii
c1db7b2852 gui/menue: simplify height calculation 2014-07-22 12:27:54 +04:00
Thilo Graf
bf10f929f8 CProgressWindow: user request: increase size of description and window 2014-07-18 13:31:34 +04:00
Thilo Graf
f164104daf CProgressWindow: dont't paint frame on progressbars 2014-07-18 13:31:16 +04:00
[CST] Focus
416646bbff merge neutrino-mp progressbar code, (C) martii 2014-07-17 17:02:37 +04:00
[CST] Focus
7cee5d3b2e gui/widget/menue.h: fix suppressDetailsLine() 2014-07-17 17:02:32 +04:00
[CST] Focus
cf91f2eccb merge neutrino-mp menu/buttons/icons changes, (C) martii 2014-07-17 17:02:25 +04:00
M. Liebmann
1b9037e8e8 CTextBox: Add Flag m_renderMode (Font::FULLBG) for RenderString() 2014-06-29 13:25:32 +02:00
Thilo Graf
2f0e4e1687 CProgressWindow: implement CComponent classes
This implement window functionality from CComponentsWindow,
progress items from CProgressBar() and status text
items from CComponentsLabel()
2014-06-23 18:43:47 +02:00
Thilo Graf
793230e9a7 CMenuWidget: add member to suppress paint of details line
In some situations is it more senseful to suppress painting of details line.
Required if menu window is painted over another window.
The hide() functionality of detailsline paints only an empty background on screen so we have
blank parts on screen. That looks bad. For example, this is to observe
on context menu in channellist.

We should see this as a workaround. It is not certain whether the
details line is really needed in the future.
2014-06-23 18:43:47 +02:00
Thilo Graf
69e2debb02 COSDFader: rename member functions, adapt implementations
Stop() is not exactly attributable if fader class used as inherited and
Fade() don't tell really what done and related to return value 'bool'...
especially as the fader class members have been not documented.
2014-06-23 18:43:47 +02:00
svenhoefer
649d1b1f9d - change RenderString() default to UTF8 2014-06-11 23:07:13 +02:00
svenhoefer
8b91cda918 - change getRenderWidth() default to UTF8 2014-06-11 23:07:00 +02:00
Thilo Graf
d87807af67 CMenuWidget: implement CComponentsFooter, remove paintButtons 2014-05-22 21:50:51 +02:00
Thilo Graf
9bba42a3d9 CBox:remove unused members 2014-05-16 09:08:23 +02:00
Jacek Jendrzej
682b4b141c widget/listbox.cpp use paintButtons in foot 2014-05-09 22:02:53 +02:00
svenhoefer
da7f3b9cb1 - drop obsolete code around FONT_TYPE_GAMELIST
these fonts are not needed since gamelist/scriptlist
  are painted with menu-widget
2014-05-02 22:28:36 +02:00
[CST] Focus
4d0cacbd61 gui/widget/menue.cpp: show right-side item icon for inactive items, too 2014-05-01 17:31:29 +04:00
Thilo Graf
758f3535c8 OPKG-Manager: add opkg manager feature
Signed-off-by: Markus Volk <f_l_k@gmx.net>
Signed-off-by: Thilo Graf <dbt@novatux.de>

Opkg is a lightweight package management system based on Ipkg.

For usage with Neutrino, installed opkg programms opkg-cl and opkg-key
are required and can be find in service update menu,
otherwise this feature is not available.

With this feature it is possible to select packages for install and remove
via gui-menu.

See also:
OPKG-Website
- http://bitbucket.org/opkg/opkg for more details.

Tuxbox:
- http://wiki.tuxbox.org/Neutrino-MP Entwicklungsumgebung#OPKG-Pakete
- http://wiki.tuxbox.org.Neutrino-HD Entwicklungsumgebung:OPKG-SystemInstall

Buildsystems with opkg support:
- http://gitorious.org/neutrino-hd/buildsystem-cs
- http://sourceforge.net/p/bstuff/bs4cs/
- Yocto

OPKG-Manager Neutrino:
- picked from http://gitorious.org/neutrino-mp/martiis-neutrino-mp include shellwindow feature by martii
- update License text
- add missing icon
- use macros to get opkg binaries
- use matching buttons in footer, menu button is already reserved to left menu
2014-04-15 11:59:12 +02:00
[CST] Focus
4a1ac9b55c gui/widget/menue.cpp: fix selected in case saved one do not match new menu size 2014-04-14 14:18:58 +04:00
svenhoefer
4fba818cc2 - menu: add possibility to add a footer to the menus; fix alignment of menus
add footer-keys to testmenu

  (some of this code is based on code by martii; thx)
2014-04-11 00:26:52 +02:00
Thilo Graf
9dc59ec556 CMenuItem: reduce scope of str, trivial 2014-04-09 19:02:38 +02:00
Thilo Graf
5f7f453bd7 /gui/widget/menue.cpp: rework constructors, use methodes for init
Many redundant code lines were never been refactored or reduced,
but instead came many in with some of last changes e.g. b41819190d
2014-04-09 19:02:38 +02:00
M. Liebmann
e07af686f0 CMenuOptionChooser: Remove bad function getOptionName()
- Please use getName() as replacement.

Signed-off-by: Thilo Graf <dbt@novatux.de>

partial revert of afbd87083b
2014-04-09 19:02:37 +02:00
[CST] Focus
7f1bd135af gui/widget/icons.h: add NEUTRINO_ICON_EPG 2014-04-02 17:32:34 +04:00
[CST] Focus
b36a66db34 gui/widget/menue.cpp: add CMenuOptionChooser::setOptions 2014-03-21 17:18:21 +04:00
M. Liebmann
5d4286285a CStringInputSMS: Add '%' to valid chars 2014-03-18 19:05:33 +01:00
Thilo Graf
23d7b62cf0 CComponents: add new parameter 'parent'
Use strictly CComponentsForm as parent parameter in constructors.
Some parts have been cleaned up (Constructors, init methodes removed)

New parameter makes it possible already add current item in constructor.
So in mostly situations is it not necessary to use explicit addCCItem(),
but addCCItem()is still valid and necessary in certain situations.

Affected are all cc-classes and their derivates.
Some classes must or can be adapted later. The function is
not currently restricted, because usage of parent parameter is not explicit
defined in constructors, see CImageInfo, here yet are used addCCItem()
methodes.

Generally this parameter is located in the constructors before bool has_shadow,
but it is not sure whether it would be better to use this parameter as the first.
That remains to be clarified.
2014-03-03 09:43:39 +01:00
Thilo Graf
8a39f01a79 CMenuItem: remove redundant member for background paint
It seems this method came with more functionality in past,
but it's currently not required in that Form.
2014-03-03 08:54:10 +01:00
martii
eb206ae523 gui/widget/menue, gui/osdlang_setup: drop CMenuOptionLanguageChooser class 2014-03-02 21:31:26 +01:00
martii
6aab6745ec gui/widget/stringinput_ext: unbreak e8670e6c90e1dfe81a8b7e38e60559bc56fee193 2014-02-25 00:30:07 +01:00
martii
34c23ed7a5 driver/rcinput: let getUnicodeValue() return const char * 2014-02-25 00:17:09 +01:00
martii
7826ab0fca driver/rcinput: implement long key press support (but no rcsim/yWeb support at this time)
driver/rcinput: drop unused gettimeofday code
2014-02-25 00:09:14 +01:00
svenhoefer
e24e68dddf - menue-hints: fix display of nonlocalized hints 2014-02-07 22:14:32 +01:00
Jacek Jendrzej
e9725e393e paintButtons: fix alternative button text size 2014-02-04 19:32:47 +01:00
M. Liebmann
1766553c56 src/gui/widget/icons.h: Add missing NEUTRINO_ICON_BLUE 2014-02-04 15:47:23 +01:00
Jacek Jendrzej
2441171656 CKeyValue:: -fix get current name , fix -Wconversion in timerd 2014-01-31 11:16:06 +01:00
M. Liebmann
08130328a0 CMenuForwarder: Fix options handling 2014-01-30 09:13:51 +01:00
svenhoefer
6a821fe2a5 - CLuaInstance::MenuAddItem: add 'next' and 'cancel' items 2014-01-27 21:10:41 +01:00
Thilo Graf
5ea7ec48df CComponentsHeader: rework constructors, add CComponentsHeaderLocalized
Member initVarHeader() now used with parameters, so it's  possible
to remove multiple code in constructors, but some class must be
renamed to CComponentsHeaderLocalized.
2014-01-24 23:09:56 +01: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
M. Liebmann
82d4832013 Add a --enable-lua switch to enable LUA support 2014-01-21 17:05:24 +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
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
M. Liebmann
9af1cdb318 CMenuOptionChooser: Fix multiple menu items, when using sort option 2014-01-04 15:25:28 +01:00
M. Liebmann
8832b803bd CMenuOptionChooser: Add alphanumeric sort option
- default is false
- Activate by OptionsSort = true
2014-01-04 13:08:48 +01:00
Jacek Jendrzej
98c7d07246 CMenuOptionStringChooser:: optionValueString mismatch, supplement to cbc9299df8 2014-01-03 12:36:54 +01:00