Commit Graph

251 Commits

Author SHA1 Message Date
svenhoefer
e24e68dddf - menue-hints: fix display of nonlocalized hints 2014-02-07 22:14:32 +01:00
M. Liebmann
08130328a0 CMenuForwarder: Fix options handling 2014-01-30 09:13:51 +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
M. Liebmann
82d4832013 Add a --enable-lua switch to enable LUA support 2014-01-21 17:05:24 +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
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
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
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
[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
martii
c954efc59f gui/widget/menue: clear old menue hint if none is set for current item 2013-12-13 16:43:53 +01:00
[CST] Focus
e904c1deda gui/widget/menue.cpp: fix 15b2b2ec05 2013-12-01 15:36:28 +04:00
martii
15b2b2ec05 remove widest_number definition and usage, add Font::getMaxDigitWidth() method instead
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>
2013-11-29 23:02:50 +01:00
[CST] Focus
8aa819642d gui/widget/menue.cpp: try to disable 'always save/restore menu hint screens' (again) 2013-11-29 17:27:10 +04:00
[CST] Focus
4a07492765 gui/widget/menue.cpp: cleanup unused code 2013-11-29 17:27:10 +04:00
[CST] Focus
ac773ea896 gui/widget/menue.cpp: add CMenuDForwarderNonLocalized 2013-11-29 17:27:10 +04:00
svenhoefer
014dd3ac7b Revert "- add missing include of vfd header"
This reverts commit 3845feb0e4.
2013-11-13 23:39:55 +01:00
svenhoefer
3845feb0e4 - add missing include of vfd header 2013-11-13 10:40:18 +01:00
[CST] Focus
9fe3e97c84 gui/widget/menue.cpp: fix jump to some item types with direct key 2013-11-05 11:44:44 +04:00
Thilo Graf
6dd1da0628 revert 6ee7fac1a5
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget
2013-10-26 23:25:59 +02:00
Thilo Graf
6ee7fac1a5 CComponents: rename hide() to hideCC()
There are too many name conflicts with hide-members in other classes.
2013-10-24 21:39:04 +02:00
Thilo Graf
f7798affc6 CComponents: add unfied header file for general include of cc classes
Provides a unified header file, so it is not required to select a
certain header file.
2013-10-24 21:19:07 +02:00
defans
8bad688521 fix right offset when right_text and right_icon is given 2013-10-04 23:22:37 +02:00
[CST] Focus
d7d181a7ae gui/widget/menue.cpp: fix parent arg for exec using menu action keys 2013-09-27 16:27:21 +04:00
Thilo Graf
33ec56ad6f CComponents: remove member setCornerRadius(),
setCorner() replaces this function, 2nd parameter sets type
2013-09-19 08:24:40 +02:00
Thilo Graf
a9a1c5dd68 CMenuItem: use CComponentsShapeSquare to paint color sector
This is only a partial solution. CMenuItem class can
principle completely be implemented with cc-items or cc-Forms.
2013-09-19 08:24:40 +02:00
Thilo Graf
c8356949db CMenuItem:remove picked #ifdef statements
Those cherry picks have no effect, but
contain unfavorable maintainer tags or was mixed with other commits,
therefore they may be removed or need separately revision.
- g_settings.menu_numbers_as_icons: not exists
- "active": was deliberately chosen so
- g_settings.key_channelList_pageup: is intended for channel list handling
2013-09-19 08:24:39 +02:00
Thilo Graf
4ddf59b175 CMenuOptionLanguageChooser:prevent alter of value conversion
compiler warning: wconversion
2013-09-04 11:48:49 +02:00
Michael Liebmann
c60c5c5ce3 Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values
2013-07-21 22:00:58 +02:00
[CST] Focus
5d95016b37 colorchooser: display selected color in menue, based on patch (c) martii <m4rtii@gmx.de> 2013-07-18 14:51:59 +04:00
martii
d6de6baebb widget/menue: don't render text over right icon 2013-07-18 14:51:59 +04:00
martii
ca519aa074 widget/menue: implement CMenuOptionNumberChooser::getWidth() 2013-07-18 14:51:58 +04:00
martii
8f4eee554c widget/menu: print right icon regardless of activation status 2013-07-18 14:51:58 +04:00
martii
3d187e56da CMenuWidget: add action keys
Conflicts:
	src/gui/widget/menue.h
2013-07-18 14:51:58 +04:00
[CST] Focus
8b5bbf8911 gui/widget/menue.cpp: add CMenuItem isStatic param, (c) martii <m4rtii@gmx.de> 2013-07-18 14:51:58 +04:00
Christian Schuett
7702408456 - menue.cpp: fix macro usage of SUB_HEAD 2013-07-15 23:16:44 +02:00
Michael Liebmann
5f4d598b1e Revert "CMenuForwarder: Use std::string (not pointer to std::string or char) for option"
This reverts commit b5d1322617.
2013-07-04 07:45:51 +02:00
Michael Liebmann
b5d1322617 CMenuForwarder: Use std::string (not pointer to std::string or char) for option 2013-07-04 02:05:33 +02:00
Michael Liebmann
4003d5f434 CMenuWidget: fix simplified up/down code
- supplement to c5186c82dd
2013-07-01 12:49:37 +02:00
Stefan Seyfried
ecef1e8ab8 CMenuWidget: fix simplified up/down code 2013-06-20 12:13:54 +02:00
Stefan Seyfried
c5186c82dd CMenuWidget: simplify up/down selection code 2013-06-20 12:13:04 +02:00