Commit Graph

353 Commits

Author SHA1 Message Date
Jacek Jendrzej
5c87e0646a CMenuWidget: try to fix possible overlength of details line
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 5a338357fc
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-01-25 (Mon, 25 Jan 2016)
2016-01-26 20:00:22 +01:00
Michael Liebmann
ffa73a3241 CMenuWidget: Enable cleanup gradient background for menu hints...
... and for menu headers when save screen is enabled


Origin commit data
------------------
Commit: ef9246d892
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)
2016-01-26 09:51:48 +01:00
Thilo Graf
f04da41440 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


Origin commit data
------------------
Commit: 77518102f8
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)
2015-12-27 14:42:28 +01:00
vanhofen
70170c6791 menue: fix format warning 'too many arguments'
Origin commit data
------------------
Commit: 92abb85a9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-21 (Mon, 21 Dec 2015)

Origin message was:
------------------
- menue: fix format warning 'too many arguments'
2015-12-22 13:14:18 +01:00
vanhofen
02d4c8e674 menue: don't paint hotkey icons on deactivated items; use dummy icon
Origin commit data
------------------
Commit: 809274d750
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-21 (Mon, 21 Dec 2015)

Origin message was:
------------------
- menue: don't paint hotkey icons on deactivated items; use dummy icon
2015-12-22 13:14:18 +01:00
Thilo Graf
e5e740fcf7 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


Origin commit data
------------------
Commit: 1f95f38d32
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-13 (Sun, 13 Dec 2015)

Origin message was:
------------------
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
Michael Liebmann
54e7e45ab9 Disable multimedia plugins and video functions...
...(movie player & upnp browser) when movieplayer is in use


Origin commit data
------------------
Commit: 189b2e0fb0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-08 (Tue, 08 Dec 2015)
2015-12-08 12:01:25 +01:00
Thilo Graf
27de6c182d CMenuWidget: remove double assignment of info box color
Origin commit data
------------------
Commit: 89cc6628ca
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-17 (Fri, 17 Jul 2015)
2015-07-17 17:31:57 +02:00
vanhofen
2e3fc2b18d menue: allow brief hints in all introItems
Origin commit data
------------------
Commit: 524563f448
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-19 (Tue, 19 May 2015)

Origin message was:
------------------
- menue: allow brief hints in all introItems
2015-05-19 12:28:28 +02:00
vanhofen
f466617ce5 menu: use brief hint in start_wizards first steps
Origin commit data
------------------
Commit: c87ccae290
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-14 (Thu, 14 May 2015)

Origin message was:
------------------
- menu: use brief hint in start_wizards first steps
2015-05-15 03:46:50 +02:00
vanhofen
7882347718 start_wizard: use a global enum; switch detection from bool to int
Origin commit data
------------------
Commit: af90286a30
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-15 (Fri, 15 May 2015)

Origin message was:
------------------
- start_wizard: use a global enum; switch detection from bool to int
2015-05-15 03:46:50 +02:00
vanhofen
16cbca020e menu: add hint-icon and hint-text to "continue" menu items
Origin commit data
------------------
Commit: d9b3e9420a
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-15 (Fri, 15 May 2015)

Origin message was:
------------------
- menu: add hint-icon and hint-text to "continue" menu items
2015-05-15 03:46:50 +02:00
vanhofen
5d50b79002 menue: small color changes for a smoother view
Origin commit data
------------------
Commit: 3ece820b07
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-04 (Mon, 04 May 2015)

Origin message was:
------------------
- menue: small color changes for a smoother view
2015-05-04 09:42:07 +02:00
Thilo Graf
6261b3b869 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.


Origin commit data
------------------
Commit: 01516cf943
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-29 (Wed, 29 Apr 2015)

Origin message was:
------------------
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
189f094afe CMenueWidget: add color gradient to menue hints
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 8a41089a92
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-04-27 (Mon, 27 Apr 2015)
2015-04-27 09:55:26 +02:00
Thilo Graf
5f5943b144 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.


Origin commit data
------------------
Commit: d3f9aa33f7
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-08 (Mon, 08 Dec 2014)
2015-03-29 22:40:00 +02:00
Thilo Graf
9ea6768452 CMenuWidget: fix applying of hintbox text color after changed theme
Origin commit data
------------------
Commit: 20180b5b83
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-10-26 (Sun, 26 Oct 2014)
2015-03-29 22:39:52 +02:00
vanhofen
f3fdaafa15 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)


Origin commit data
------------------
Commit: 13d7ec55a5
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-02-20 (Fri, 20 Feb 2015)

Origin message was:
------------------
- 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
5d05d521d2 menue.cpp fix CMenuForwarder::setOption set option_string_ptr
Origin commit data
------------------
Commit: 721cb9bd74
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-02-14 (Sat, 14 Feb 2015)
2015-02-14 18:42:40 +01:00
Jacek Jendrzej
6ff2c1b6bd use empty to check string
Origin commit data
------------------
Commit: 2b5e7b5ba3
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-09 (Fri, 09 Jan 2015)
2015-01-09 17:15:11 +01:00
vanhofen
6453c8a7b7 menue: allow icon-only menu hints
Origin commit data
------------------
Commit: 9945d03480
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-11-22 (Sat, 22 Nov 2014)

Origin message was:
------------------
- menue: allow icon-only menu hints
2014-11-22 15:58:02 +01:00
[CST] Focus
8f88fc65f4 gui/widget/menue.cpp: fix progressbar values in progressbar setup
Origin commit data
------------------
Commit: 37b20a84f6
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-11-18 (Tue, 18 Nov 2014)
2014-11-19 11:34:54 +03:00
vanhofen
cb354188c7 plugins: simplify integratePlugins(); ...
* CPluginsExec(): switch to singleton
* move CPluginsExec() to pluginlist.cpp|h
 because it's not really a settings_helper


Origin commit data
------------------
Commit: 389c4c232f
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-11-10 (Mon, 10 Nov 2014)

Origin message was:
------------------
- 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
1e81103be9 gui/widget/menue.cpp: add activate observer to notify when item become active
Origin commit data
------------------
Commit: 2b50060bab
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-10-22 (Wed, 22 Oct 2014)
2014-10-22 16:15:27 +04:00
Michael Liebmann
d372df5f35 CMenuWidget::integratePlugins(): Add shortcut parameter
Origin commit data
------------------
Commit: 7293c53600
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-10-16 (Thu, 16 Oct 2014)
2014-10-16 09:49:19 +02:00
Michael Liebmann
a3b6ca14b9 CMenuWidget: Add function getNextShortcut()/setNextShortcut()
for setting of direktkey in the plugin integration


Origin commit data
------------------
Commit: 940a41aab2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-10-16 (Thu, 16 Oct 2014)

Origin message was:
------------------
CMenuWidget: Add function getNextShortcut()/setNextShortcut()

 for setting of direktkey in the plugin integration
2014-10-16 09:49:18 +02:00
Michael Liebmann
e54d2c3f88 Fix display numeric item icons
- Required for some custom icons


Origin commit data
------------------
Commit: 8c42ad8dd5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-10-16 (Thu, 16 Oct 2014)
2014-10-16 09:49:17 +02:00
vanhofen
e2b4c42c44 menue.cpp: fix footer position with rounded corners
Origin commit data
------------------
Commit: 01b71dc589
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-10-11 (Sat, 11 Oct 2014)

Origin message was:
------------------
- menue.cpp: fix footer position with rounded corners
2014-10-11 11:07:20 +02:00
vanhofen
979e85ff5b plugins: allow hinticons for plugins
Default is <plugin>_hint.png; an entry 'hinticon=another_name' in
<plugin>.cfg overrides this; use icon in plugindir first; if not found
use icon in one of the other wellknown neutrino icon directories.


Origin commit data
------------------
Commit: ebbed374af
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-10-06 (Mon, 06 Oct 2014)

Origin message was:
------------------
- plugins: allow hinticons for plugins

Default is <plugin>_hint.png; an entry 'hinticon=another_name' in
<plugin>.cfg overrides this; use icon in plugindir first; if not found
use icon in one of the other wellknown neutrino icon directories.
2014-10-07 13:19:15 +04:00
vanhofen
2921437216 menue.cpp: don't integrate hidden plugins
Origin commit data
------------------
Commit: ee9d08a3ee
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-30 (Tue, 30 Sep 2014)

Origin message was:
------------------
- menue.cpp: don't integrate hidden plugins
2014-09-30 14:04:54 +04:00
vanhofen
62f47c6f59 add function to integrate plugins
TODO: maybe find a solution without void *pluginsExec
Thanks to micha-bbg and SatBaby


Origin commit data
------------------
Commit: 1b5a30c326
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-28 (Sun, 28 Sep 2014)

Origin message was:
------------------
- 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
Thilo Graf
def1a3c5b9 CComponents: move variable cc_gradientData, paintGradient into base class
Variable now usable via g_settings in all subclasses. enable/disable.
TODO: gradient type handling


Origin commit data
------------------
Commit: 64c84fb490
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)
2014-09-25 11:07:45 +04:00
Thilo Graf
68e23a1720 CComponentsWindow, CMenuWidget: apply gradiant settings to header
Origin commit data
------------------
Commit: c1f70dbbb8
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)
2014-09-25 11:07:28 +04:00
Michael Liebmann
a29b3035e8 CComponentsHeader: Use color gradient for paint header
Conflicts:
	src/gui/widget/menue.cpp


Origin commit data
------------------
Commit: bfc1c04d83
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-20 (Sat, 20 Sep 2014)
2014-09-25 11:07:12 +04:00
martii
547d900fee system/settings: move theme colors to dedicated struct
Conflicts:
	src/driver/pictureviewer/pictureviewer.cpp
	src/gui/epgview.cpp
	src/gui/osd_setup.cpp
	src/gui/pluginlist.cpp
	src/neutrino.cpp


Origin commit data
------------------
Commit: b21cb152b5
Author: martii <m4rtii@gmx.de>
Date: 2014-01-06 (Mon, 06 Jan 2014)
2014-09-12 18:29:21 +04:00
martii
713ec7e846 gui/menue: simplify height calculation
Origin commit data
------------------
Commit: c1db7b2852
Author: martii <m4rtii@gmx.de>
Date: 2014-07-14 (Mon, 14 Jul 2014)
2014-07-22 12:27:54 +04:00
[CST] Focus
17c40a5d6e merge neutrino-mp progressbar code, (C) martii
Origin commit data
------------------
Commit: 416646bbff
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)
2014-07-17 17:02:37 +04:00
[CST] Focus
958139cd31 merge neutrino-mp menu/buttons/icons changes, (C) martii
Origin commit data
------------------
Commit: cf91f2eccb
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)
2014-07-17 17:02:25 +04:00
Thilo Graf
03914a6687 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.


Origin commit data
------------------
Commit: 793230e9a7
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-09 (Mon, 09 Jun 2014)
2014-06-23 18:43:47 +02:00
Thilo Graf
f271c801de COSDFader: rename member functions, adapt implementations
Stop() is not exactly attributable if fader class used as inherited and
Fade() don't tell really what done and related to return value 'bool'...
especially as the fader class members have been not documented.


Origin commit data
------------------
Commit: 69e2debb02
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-30 (Fri, 30 May 2014)
2014-06-23 18:43:47 +02:00
vanhofen
98c0a441d8 change RenderString() default to UTF8
Origin commit data
------------------
Commit: 649d1b1f9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change RenderString() default to UTF8
2014-06-11 23:07:13 +02:00
vanhofen
3bba3094e2 change getRenderWidth() default to UTF8
Origin commit data
------------------
Commit: 8b91cda918
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change getRenderWidth() default to UTF8
2014-06-11 23:07:00 +02:00
Thilo Graf
de71f1f361 CMenuWidget: implement CComponentsFooter, remove paintButtons
Origin commit data
------------------
Commit: d87807af67
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-02 (Fri, 02 May 2014)
2014-05-22 21:50:51 +02:00
[CST] Focus
6e938c81d0 gui/widget/menue.cpp: show right-side item icon for inactive items, too
Origin commit data
------------------
Commit: 4d0cacbd61
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-05-01 (Thu, 01 May 2014)
2014-05-01 17:31:29 +04:00
[CST] Focus
e4e3ade565 gui/widget/menue.cpp: fix selected in case saved one do not match new menu size
Origin commit data
------------------
Commit: 4a1ac9b55c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-14 (Mon, 14 Apr 2014)
2014-04-14 14:18:58 +04:00
vanhofen
d7545ddf1f 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)


Origin commit data
------------------
Commit: 4fba818cc2
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-04-11 (Fri, 11 Apr 2014)

Origin message was:
------------------
- 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
a6ff7e0f01 CMenuItem: reduce scope of str, trivial
Origin commit data
------------------
Commit: 9dc59ec556
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-09 (Wed, 09 Apr 2014)
2014-04-09 19:02:38 +02:00
Thilo Graf
f25a2d58df /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. 1918153c0a


Origin commit data
------------------
Commit: 5f7f453bd7
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-07 (Mon, 07 Apr 2014)
2014-04-09 19:02:38 +02:00
[CST] Focus
8b880a8221 gui/widget/menue.cpp: add CMenuOptionChooser::setOptions
Origin commit data
------------------
Commit: b36a66db34
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-03-21 (Fri, 21 Mar 2014)
2014-03-21 17:18:21 +04:00
Thilo Graf
f33efdbdc4 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.


Origin commit data
------------------
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)
2014-03-03 09:43:39 +01:00