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
This commit is contained in:
2015-12-13 16:06:38 +01:00
committed by M. Liebmann
parent 6b6dff36d6
commit 1f95f38d32
6 changed files with 127 additions and 44 deletions

View File

@@ -57,7 +57,7 @@ class CFrameBuffer;
class CConfigFile;
class CScanSettings;
class CNeutrinoApp : public CMenuTarget, CChangeObserver, sigc::trackable
class CNeutrinoApp : public CMenuTarget, CChangeObserver, public sigc::trackable
{
public:
enum