Commit Graph

96 Commits

Author SHA1 Message Date
[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
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
d87807af67 CMenuWidget: implement CComponentsFooter, remove paintButtons 2014-05-22 21:50:51 +02: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
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
b36a66db34 gui/widget/menue.cpp: add CMenuOptionChooser::setOptions 2014-03-21 17:18:21 +04: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
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
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
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
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
Thilo Graf
e2d920660e CMenuForwarder: declare some members as const
Technically some member functions can be const
2013-12-03 14:55:39 +01:00
[CST] Focus
ac773ea896 gui/widget/menue.cpp: add CMenuDForwarderNonLocalized 2013-11-29 17:27:10 +04: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
[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
ca519aa074 widget/menue: implement CMenuOptionNumberChooser::getWidth() 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
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
Stefan Seyfried
ed039d6ba9 menu: make page_start[] int, avoids lots of casts 2013-06-20 12:11:45 +02:00
Thilo Graf
d39eaa22fc CComponents: split some header files
CComponentsInfoBox
CComponentsShapeCircle/Square
CComponentsDetailLine
CComponentsPIP
CComponentsText/CComponentsLabel
CComponentsPicture
2013-05-27 09:30:50 +02:00
[CST] Focus
8bb70d1ab3 Merge branch 'pu/cc' into next-cc
Conflicts:
	acinclude.m4
	data/locale/deutsch.locale
	data/locale/english.locale
	src/driver/volume.cpp
	src/eitd/SIlanguage.cpp
	src/gui/bedit/bouqueteditor_channels.cpp
	src/gui/bedit/bouqueteditor_chanselect.cpp
	src/gui/bouquetlist.cpp
	src/gui/channellist.cpp
	src/gui/eventlist.cpp
	src/gui/osd_setup.cpp
	src/gui/scan.cpp
	src/gui/scan.h
	src/gui/test_menu.cpp
	src/gui/timeosd.cpp
	src/gui/widget/progressbar.cpp
	src/gui/widget/progressbar.h
	src/neutrino.cpp
	src/nhttpd/yconfig.h
2013-04-17 13:32:12 +04:00
[CST] Focus
f21b291fcd gui/widget/menue.cpp: fix CMenuForwarderNonLocalized::getWidth 2013-03-29 17:12:23 +04:00
Thilo Graf
53ff9cdddf CMenuWidget: implement CComponentsInfoBox functionality for text and icon 2013-03-06 11:27:53 +01:00
Thilo Graf
0a961a4cf6 CComponents: move class into its own source directory
The components could over time become quite large,
so it makes more sense, coming features to split into
multiple files and to do it in a separate directory.
2013-02-19 11:27:46 +01:00
[CST] Focus
04f1e9c3f2 gui/widget/menue.cpp: disable 'back' hint, if no other hints present 2012-07-24 15:13:18 +04:00
micha-bbg
fd1ec29d83 * Use CComponentsInfoBox for menu hint 2012-07-17 20:52:55 +01:00
Thilo Graf
53d4ef64aa *menu: hide detail line objects without paintBackgroundBoxRel() 2012-07-16 22:28:02 +02:00
[CST] Focus
eb5b8328ec gui/widget/menue.cpp: fade-in, if menu was hidden, for testing 2012-07-16 19:11:17 +04:00
[CST] Focus
e02258276e gui/widget/menue.cpp: fix menu_left_exit option;
remove can_arrow member - isMenueOptionChooser() is enough
2012-07-16 14:33:22 +04:00
Thilo Graf
f836f3c3f3 menu: add overloaded version for CMenuOptionStringChooser 2012-07-08 22:01:12 +02:00
Thilo Graf
ddab0fd734 update license text in some files
TODO: many other files still need corrections
2012-07-08 22:01:11 +02:00
Thilo Graf
0a147da535 menu: move class CNonLocalizedMenuSeparator from update.cpp into gui/menu.h 2012-07-08 22:01:11 +02:00
[CST] Focus
c5f60b5b47 gui/widget/menue.cpp: add menu hints paint 2012-07-08 21:33:59 +04:00
satbaby
e14fc80ed5 -pedantic fixes 2012-05-08 18:59:11 +02:00
[CST] Focus
b314d9329f gui/widget/menue.cpp: simplify CMenuOptionLanguageChooser - we have one option for every instance 2012-05-07 14:55:29 +04:00
[CST] Focus
a2d7fc39d0 gui/widget/menue.cpp: add CMenuDForwarder - forwarder which delete jumpTarget 2012-05-05 12:19:00 +04:00