Commit Graph

296 Commits

Author SHA1 Message Date
Stefan Seyfried
b837d8697b Merge remote-tracking branch 'uncool/cst-next' 2015-12-28 16:15:14 +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
Stefan Seyfried
880115fa98 Merge remote-tracking branch 'uncool/cst-next' 2015-12-25 16:28:39 +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
Stefan Seyfried
eeee5bacab Merge remote-tracking branch 'uncool/cst-next'
This need buildfixes and some functional updates...
2015-12-13 17:41:55 +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
Stefan Seyfried
79b9a8050e Merge remote-tracking branch 'check/cst-next' 2015-02-21 21:56:22 +01: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
Stefan Seyfried
48fdfc5e5e Merge remote-tracking branch 'test/cst-next'
Conflicts:
	src/gui/osdlang_setup.cpp
2015-02-19 14:10:26 +01:00
Jacek Jendrzej
721cb9bd74 menue.cpp fix CMenuForwarder::setOption set option_string_ptr 2015-02-14 18:42:40 +01:00
Stefan Seyfried
b5a64e6887 Merge remote-tracking branch 'check/cst-next'
*needs buildfixing*

Conflicts:
	src/daemonc/Makefile.am
	src/daemonc/remotecontrol.cpp
	src/driver/Makefile.am
	src/driver/audiodec/Makefile.am
	src/driver/pictureviewer/Makefile.am
	src/driver/vfd.cpp
	src/gui/bedit/Makefile.am
	src/gui/components/Makefile.am
	src/gui/luainstance.cpp
	src/gui/widget/Makefile.am
	src/nhttpd/tuxboxapi/coolstream/Makefile.am
	src/system/Makefile.am
2015-01-26 17:26:26 +01:00
Jacek Jendrzej
2b5e7b5ba3 use empty to check string 2015-01-09 17:15:11 +01:00
Stefan Seyfried
d37b3c0f9a Merge remote-tracking branch 'check/cst-next'
Conflicts:
	src/daemonc/remotecontrol.cpp
	src/gui/luainstance.cpp
	src/gui/movieplayer.cpp
	src/gui/videosettings.cpp
	src/neutrino.cpp
	src/system/setting_helpers.cpp
	src/zapit/src/zapit.cpp
2014-12-28 12:32:12 +01:00
Stefan Seyfried
69c4dbbdba Merge remote-tracking branch 'check/cst-next'
needs build- and functional fixes

Conflicts:
	configure.ac
	data/icons/shutdown.jpg
	data/icons/start.jpg
	data/locale/deutsch.locale
	data/locale/english.locale
	lib/libmd5sum/md5.c
	src/driver/scanepg.cpp
	src/driver/streamts.cpp
	src/driver/vfd.cpp
	src/driver/vfd.h
	src/driver/volume.cpp
	src/eitd/dmx.cpp
	src/eitd/xmlutil.cpp
	src/gui/Makefile.am
	src/gui/audiomute.cpp
	src/gui/channellist.cpp
	src/gui/dboxinfo.cpp
	src/gui/epgview.cpp
	src/gui/eventlist.cpp
	src/gui/filebrowser.cpp
	src/gui/hdd_menu.cpp
	src/gui/infoviewer.cpp
	src/gui/infoviewer_bb.cpp
	src/gui/infoviewer_bb.h
	src/gui/keybind_setup.cpp
	src/gui/luainstance.cpp
	src/gui/luainstance.h
	src/gui/miscsettings_menu.cpp
	src/gui/moviebrowser.cpp
	src/gui/movieplayer.cpp
	src/gui/osd_progressbar_setup.cpp
	src/gui/osd_progressbar_setup.h
	src/gui/osd_setup.cpp
	src/gui/osdlang_setup.cpp
	src/gui/personalize.cpp
	src/gui/plugins.cpp
	src/gui/plugins.h
	src/gui/scan.cpp
	src/gui/scan_setup.cpp
	src/gui/update_settings.cpp
	src/gui/user_menue.cpp
	src/gui/user_menue_setup.cpp
	src/gui/videosettings.cpp
	src/gui/widget/buttons.cpp
	src/gui/widget/menue.cpp
	src/gui/widget/menue.h
	src/gui/widget/progresswindow.cpp
	src/neutrino.cpp
	src/neutrino_menue.cpp
	src/nhttpd/yhttpd.cpp
	src/system/helpers.cpp
	src/system/locals.h
	src/system/locals_intern.h
	src/system/setting_helpers.cpp
	src/zapit/lib/zapitclient.cpp
	src/zapit/src/fastscan.cpp
	src/zapit/src/frontend.cpp
	src/zapit/src/getservices.cpp
	src/zapit/src/scan.cpp
	src/zapit/src/scannit.cpp
	src/zapit/src/scanpmt.cpp
	src/zapit/src/transponder.cpp
	src/zapit/src/zapit.cpp
2014-12-25 18:03:08 +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
M. Liebmann
940a41aab2 CMenuWidget: Add function getNextShortcut()/setNextShortcut()
for setting of direktkey in the plugin integration
2014-10-16 09:49:18 +02:00
M. Liebmann
8c42ad8dd5 Fix display numeric item icons
- Required for some custom icons
2014-10-16 09:49:17 +02:00
svenhoefer
01b71dc589 - menue.cpp: fix footer position with rounded corners 2014-10-11 11:07:20 +02:00
svenhoefer
ebbed374af - 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
svenhoefer
ee9d08a3ee - menue.cpp: don't integrate hidden plugins 2014-09-30 14:04:54 +04: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
Thilo Graf
64c84fb490 CComponents: move variable cc_gradientData, paintGradient into base class
Variable now usable via g_settings in all subclasses. enable/disable.
TODO: gradient type handling
2014-09-25 11:07:45 +04:00
Thilo Graf
c1f70dbbb8 CComponentsWindow, CMenuWidget: apply gradiant settings to header 2014-09-25 11:07:28 +04:00
M. Liebmann
bfc1c04d83 CComponentsHeader: Use color gradient for paint header
Conflicts:
	src/gui/widget/menue.cpp
2014-09-25 11:07:12 +04:00
martii
b21cb152b5 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
2014-09-12 18:29:21 +04:00
martii
c1db7b2852 gui/menue: simplify height calculation 2014-07-22 12:27:54 +04:00
[CST] Focus
416646bbff merge neutrino-mp progressbar code, (C) martii 2014-07-17 17:02:37 +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
69e2debb02 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.
2014-06-23 18:43:47 +02:00
svenhoefer
649d1b1f9d - change RenderString() default to UTF8 2014-06-11 23:07:13 +02:00
svenhoefer
8b91cda918 - change getRenderWidth() default to UTF8 2014-06-11 23:07:00 +02:00
Thilo Graf
d87807af67 CMenuWidget: implement CComponentsFooter, remove paintButtons 2014-05-22 21:50:51 +02:00
[CST] Focus
4d0cacbd61 gui/widget/menue.cpp: show right-side item icon for inactive items, too 2014-05-01 17:31:29 +04:00