Commit Graph

893 Commits

Author SHA1 Message Date
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
Stefan Seyfried
ecd62d81d1 Merge remote-tracking branch 'check/next-cc'
...only build-tested, needs fixes
2014-02-15 20:22:07 +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
Stefan Seyfried
65437a60a8 Merge remote-tracking branch 'broken/next-cc' 2014-01-28 13:22:00 +01:00
svenhoefer
6a821fe2a5 - CLuaInstance::MenuAddItem: add 'next' and 'cancel' items 2014-01-27 21:10:41 +01:00
Stefan Seyfried
78f51baf66 Merge remote-tracking branch 'check/next-cc-fixed' 2014-01-26 00:33:08 +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
Stefan Seyfried
5525e9f4b5 Revert "Add a --enable-lua switch to enable LUA support"
This reverts commit 82d4832013.

This just makes the code unreadable and why would one build
without lua :-)
2014-01-23 14:11:03 +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
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
Stefan Seyfried
56a7262d5d Merge remote-tracking branch 'check/next-cc' 2014-01-05 18:31:31 +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
Christian Schuett
7d04113307 Neutrino menu forwarder: add possibility to show value from jump target
based on idea by martii <m4rtii@gmx.de> in Neutrino-MP Git
2013-12-30 23:25:26 +01:00
Stefan Seyfried
7d379dcb30 Merge remote-tracking branch 'check/next-cc' 2013-12-29 22:12:09 +01:00
M. Liebmann
8004604957 CStringInput: Fix commit aadf191115
- Don't paint background on NEUTRINO_ICON_NUMERIC_PAD
2013-12-29 16:01:14 +01:00
Stefan Seyfried
cdd065fc2e Merge remote-tracking branch 'check/next-cc'
Lightly tested only...
2013-12-25 22:51:23 +01:00
M. Liebmann
ec01f884fd CMenuItem: Set right_bgcol as inactiv, when menu item not active 2013-12-25 18:32:01 +01:00
martii
cbc9299df8 convert most char[...] configuration values to std::string
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-12-25 12:08:14 +01:00
Stefan Seyfried
7d87ce9c54 Merge remote-tracking branch 'check/next-cc'
untested, probably needs some buildfixing
2013-12-22 21:25:05 +01:00
martii
a0f2960501 gui/scan_setup: show unit for motor speed 2013-12-22 16:36:13 +01:00
martii
86221de3d9 gui/widget/menu: CMenuOptionNumberChooser: add option to show units 2013-12-21 22:04:24 +01:00
svenhoefer
5591e81a2b - menu: don't add a separatorline ...
... when no button and no section text is given
2013-12-19 15:06:12 +01:00
M. Liebmann
aadf191115 CStringInput: Fix parameter for paintIcon() 2013-12-17 08:35:32 +01:00
[CST] Focus
5cc2620008 gui/widget/menue.cpp: revert testing changes 2013-12-15 14:56:12 +04:00
[CST] Focus
6a62051032 gui/widget/menue.cpp: fix menu hint kill vs hide 2013-12-15 14:46:44 +04:00