Thilo Graf
30f231c801
CMenuWidget: move signal before render methodes
...
At start of methode, unusual behavior could occur.
2016-11-11 00:48:37 +01:00
Jacek Jendrzej
83976f40b4
src/gui/widget/menue.cpp fix segfault if items is empty
2016-10-27 17:06:12 +02:00
M. Liebmann
a3e0a0e917
CMenuWidget::saveScreen: Fix segfault
2016-10-26 15:16:11 +02:00
svenhoefer
957b1e05df
- various: use DARK text color on DARK background
2016-10-19 14:35:38 +02:00
svenhoefer
870981c889
- menue: fix listModeKey handling
2016-10-19 14:06:24 +02:00
svenhoefer
98500fdeb6
- add and use OFFSET_INTER definition
2016-10-10 14:19:55 +02:00
svenhoefer
5d450c60d3
- rename SHADOW_OFFSET -> OFFSET_SHADOW
2016-10-10 14:19:55 +02:00
vanhofen
6629b64d6c
- colors: add COL_SCROLLBAR_PASSIVE wrapper
2016-10-10 14:19:54 +02:00
vanhofen
7e7d4e5fc1
- colors: add COL_SCROLLBAR_ACTIVE wrapper
2016-10-10 14:19:54 +02:00
svenhoefer
75fe6e407d
- colors: add COL_FRAME wrapper
2016-10-10 14:19:54 +02:00
Thilo Graf
264366c792
CMenuItem: use reasonable radius
...
In some views the large radius looks too chunky.
2016-09-24 20:59:49 +02:00
svenhoefer
974ef11d5b
- detailsline: remove unneeded position/dimension additions
2016-09-12 12:11:04 +02:00
svenhoefer
2911e638c7
- add listModeKey() function to simplify these calls
2016-09-09 10:42:46 +02:00
Thilo Graf
41ed6513bd
CMenuWidget: assign all layer colors out of header init
...
This fixes missing applying of possible changes of
colour settings in color setup for frame.
2016-08-22 21:16:58 +02:00
Jacek Jendrzej
a29f433ded
src/gui/widget/menue.cpp check if pointer is not NULL
2016-08-17 17:23:08 +02:00
Thilo Graf
1306a7c1a3
CMenuWidget: adopt shadow color to newer color macros
2016-08-17 10:55:12 +02:00
svenhoefer
cc5258e6d5
- colors: make footer background color configurable
...
TODO: footer text color and maybe footer font
2016-08-15 00:14:47 +02:00
svenhoefer
bc39d1e14e
- colors: some internal renamings
...
* INFOBAR_SHADOW to SHADOW because it's not only used in infoviewer
* INFOBAR_SHADOW_TEXT to MENUFOOT_TEXT because it's the proper name
This is in preparation to make footer colors configurable
2016-08-14 21:55:18 +02:00
Thilo Graf
5788d744c6
CMenuWidget: use real paint mode of info box
2016-08-12 17:39:11 +02:00
Jacek Jendrzej
5be8af9890
src/gui/widget/menue.cpp fix possible heap-buffer-overflow
2016-07-21 15:38:34 +02:00
Thilo Graf
91729dc48a
CMenuWidget: avoid dangling pointer after delete
2016-06-26 15:32:31 +02:00
Jacek Jendrzej
0d9fbd5378
some never read compil warning fixes
2016-04-24 17:18:37 +02:00
Jacek Jendrzej
a918ca56b6
pass by reference
2016-04-20 12:52:16 +02:00
[CST] Focus
302642cee7
neutrino: add webtv channel list mode
2016-03-23 16:36:00 +03:00
M. Liebmann
6c72fe94bc
CCDraw: Set cc_gradient_bg_cleanup to true
...
Except menu headers: Disable cleanup when save screen is disabled
2016-01-29 15:31:12 +01:00
Jacek Jendrzej
5a338357fc
CMenuWidget: try to fix possible overlength of details line
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2016-01-26 20:00:22 +01:00
M. Liebmann
ef9246d892
CMenuWidget: Enable cleanup gradient background for menu hints...
...
... and for menu headers when save screen is enabled
2016-01-26 09:51:48 +01: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
svenhoefer
92abb85a9d
- menue: fix format warning 'too many arguments'
2015-12-22 13:14:18 +01:00
svenhoefer
809274d750
- menue: don't paint hotkey icons on deactivated items; use dummy icon
2015-12-22 13:14:18 +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
Thilo Graf
89cc6628ca
CMenuWidget: remove double assignment of info box color
2015-07-17 17:31:57 +02:00
svenhoefer
524563f448
- menue: allow brief hints in all introItems
2015-05-19 12:28:28 +02:00
svenhoefer
c87ccae290
- menu: use brief hint in start_wizards first steps
2015-05-15 03:46:50 +02:00
svenhoefer
af90286a30
- start_wizard: use a global enum; switch detection from bool to int
2015-05-15 03:46:50 +02:00
svenhoefer
d9b3e9420a
- menu: add hint-icon and hint-text to "continue" menu items
2015-05-15 03:46:50 +02:00
svenhoefer
3ece820b07
- menue: small color changes for a smoother view
2015-05-04 09:42:07 +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
[CST] Focus
8a41089a92
CMenueWidget: add color gradient to menue hints
...
Signed-off-by: Thilo Graf <dbt@novatux.de >
2015-04-27 09:55:26 +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
20180b5b83
CMenuWidget: fix applying of hintbox text color after changed theme
2015-03-29 22:39:52 +02:00
svenhoefer
13d7ec55a5
- menue.cpp: fix details_line hight
...
* former code matches only by chance and will fail, when another
value than 2 is set in INFO_BOX_Y_OFFSET (cc_item_infobox.h)
2015-02-20 08:23:07 +01:00
Jacek Jendrzej
721cb9bd74
menue.cpp fix CMenuForwarder::setOption set option_string_ptr
2015-02-14 18:42:40 +01:00
Jacek Jendrzej
2b5e7b5ba3
use empty to check string
2015-01-09 17:15:11 +01:00
svenhoefer
9945d03480
- menue: allow icon-only menu hints
2014-11-22 15:58:02 +01:00
[CST] Focus
37b20a84f6
gui/widget/menue.cpp: fix progressbar values in progressbar setup
2014-11-19 11:34:54 +03: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