Thilo Graf
284dba8c25
CMenuOptionStringChooser: clean up multiple code parts
2017-06-18 00:04:40 +02:00
Thilo Graf
8899660dad
CMenuOptionChooser: clean up multiple code parts
2017-06-18 00:04:40 +02:00
M. Liebmann
2677543cc4
Merge branch 'master' into pu/fb-setmode
2017-03-13 21:55:50 +01:00
svenhoefer
5b0faeab8c
- unify DetailsLine-names; move define to settings.h
2017-03-13 12:40:04 +01:00
M. Liebmann
30db40da1a
CMenuWidget::calcSize: Recalculation of min_width ...
...
... for adjustment to the osd resolution
2017-03-13 09:55:58 +01:00
M. Liebmann
db8ea57da2
Merge branch 'master' into pu/fb-modules
2017-02-09 22:58:09 +01:00
Thilo Graf
0435ca20a3
CMenuWidget: remove dub code from init
2017-02-09 16:35:03 +01:00
Thilo Graf
2dda93ed2b
CMenuWidget: use only nameString as container for widget name
...
neutrino_locale_t name could be transformed always to real string to
unify this container
2017-02-09 15:52:39 +01:00
Stefan Seyfried
e490f84ea8
replace framebuffer.h include with forward declaration
...
instead of including framebuffer.h almost everywhere, replace it with
class CFrameBuffer forward declarations and/or generic system includes.
Add a hack to define fb_pixel_t to config.h (one reason for
framebuffer.h includes was the fb_pixel_t define)
2017-02-07 17:23:42 +01:00
Thilo Graf
c92fa3f0f4
menue.cpp: CChangeObserver add overloaded changeNotify() with string param
2016-12-23 20:46:30 +01:00
Jacek Jendrzej
91e0f8070b
supplement to a8ea7c60d5
2016-11-25 16:45:26 +01:00
Jacek Jendrzej
a8ea7c60d5
src/gui/widget/menue.cpp try to fix widget segfault menu with keyboard and background restore
2016-11-24 19:21:14 +01:00
Thilo Graf
098905e8e1
CMenuTarget: outsource CMenuTarget-class
...
It's required for some inheritations into other classes if include
of menue.h is not wanted
2016-11-10 09:08:47 +01:00
Jacek Jendrzej
a918ca56b6
pass by reference
2016-04-20 12:52:16 +02:00
Thilo Graf
77518102f8
CMenuWidget: rework cc modules implementation
...
- don't create header instance on every widget paint.
- remove parameters from hide(), not needed anymore
- add signal/slot OnBeforePaint(), OnAfterHide()
- try to fix infoclock handling
- add member ResetModules()
- allow separator to paint with gradient
2015-12-27 14:42:28 +01:00
Thilo Graf
1f95f38d32
Main Menu: try to add dynamic possibility to disable items on runtime
...
The issue is that it's not really possible to disable/enable menu items on
runtime with an existant menu widget instance eg with personalized menu items.
Here we need a dynamic solution to disable items depends on stb-mode (mode_ts, mode_tv etc)
This should be solved here with an additional parameter for personalized items.
New paramter is named: disable_condition
Possible alvailable values at the moment are:
DCOND_MODE_NONE as default
DCOND_MODE_TV
DCOND_MODE_RADIO
DCOND_MODE_TS
includes some improvements by Sven
- menue: remove old_iconName handling
... icons should be painted on deactivated items too
- menue: try to fix position <-> selection missmatch
2015-12-22 13:14:18 +01:00
M. Liebmann
189b2e0fb0
Disable multimedia plugins and video functions...
...
...(movie player & upnp browser) when movieplayer is in use
2015-12-08 12:01:25 +01:00
svenhoefer
524563f448
- menue: allow brief hints in all introItems
2015-05-19 12:28:28 +02:00
svenhoefer
af90286a30
- start_wizard: use a global enum; switch detection from bool to int
2015-05-15 03:46:50 +02:00
Thilo Graf
01516cf943
themes: use hintbox and header gradient option in theme settings
...
Color gradient feature was originally intended for use
inside theme settings and it's not really suitable for
generally use as default in all themes at the moment, so it makes more
sense to have options in theme settings and let the user decide
to customize this, unless enough other gui parts can use this feature.
2015-04-29 10:16:55 +02:00
Thilo Graf
d3f9aa33f7
CMenuWidget: move include of neutrino_menue.h to menue.h
...
makes explicit include unnecessary if it is needed by a widget, eg: widget id's are
parameter of constructor and is one of required widget elements.
2015-03-29 22:40:00 +02:00
Thilo Graf
930b40588c
CMenuWidget: fix getSelected() member
...
preselected was not suitable as return value
2015-03-29 22:39:59 +02:00
svenhoefer
389c4c232f
- plugins: simplify integratePlugins(); ...
...
* CPluginsExec(): switch to singleton
* move CPluginsExec() to pluginlist.cpp|h
because it's not really a settings_helper
2014-11-10 22:41:08 +01:00
[CST] Focus
2b50060bab
gui/widget/menue.cpp: add activate observer to notify when item become active
2014-10-22 16:15:27 +04:00
M. Liebmann
7293c53600
CMenuWidget::integratePlugins(): Add shortcut parameter
2014-10-16 09:49:19 +02:00
M. Liebmann
940a41aab2
CMenuWidget: Add function getNextShortcut()/setNextShortcut()
...
for setting of direktkey in the plugin integration
2014-10-16 09:49:18 +02:00
svenhoefer
1b5a30c326
- add function to integrate plugins
...
TODO: maybe find a solution without void *pluginsExec
Thanks to micha-bbg and SatBaby
2014-09-29 14:38:43 +04:00
[CST] Focus
420af7a4dc
neutrino: sync keybind and usermenu code with neutrino-mp, code (C) martii
2014-09-05 17:49:11 +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
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