mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/widget/menue.cpp: add CMenuDForwarder - forwarder which delete jumpTarget
This commit is contained in:
@@ -174,10 +174,10 @@ class CMenuForwarder : public CMenuItem
|
||||
{
|
||||
const char * option;
|
||||
const std::string * option_string;
|
||||
CMenuTarget * jumpTarget;
|
||||
std::string actionKey;
|
||||
|
||||
protected:
|
||||
CMenuTarget * jumpTarget;
|
||||
neutrino_locale_t text;
|
||||
|
||||
virtual const char * getOption(void);
|
||||
@@ -207,6 +207,15 @@ class CMenuForwarder : public CMenuItem
|
||||
}
|
||||
};
|
||||
|
||||
class CMenuDForwarder : public CMenuForwarder
|
||||
{
|
||||
public:
|
||||
CMenuDForwarder(const neutrino_locale_t Text, const bool Active=true, const char * const Option=NULL, CMenuTarget* Target=NULL, const char * const ActionKey = NULL, const neutrino_msg_t DirectKey = CRCInput::RC_nokey, const char * const IconName = NULL, const char * const IconName_Info_right = NULL);
|
||||
CMenuDForwarder(const neutrino_locale_t Text, const bool Active, const std::string &Option, CMenuTarget* Target=NULL, const char * const ActionKey = NULL, const neutrino_msg_t DirectKey = CRCInput::RC_nokey, const char * const IconName = NULL, const char * const IconName_Info_right = NULL);
|
||||
|
||||
~CMenuDForwarder();
|
||||
};
|
||||
|
||||
class CMenuForwarderNonLocalized : public CMenuForwarder
|
||||
{
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user