mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
gui/widget/menue.cpp: add CMenuDForwarderNonLocalized
This commit is contained in:
@@ -1853,6 +1853,20 @@ int CMenuForwarderNonLocalized::getWidth(void)
|
||||
|
||||
return tw;
|
||||
}
|
||||
|
||||
CMenuDForwarderNonLocalized::CMenuDForwarderNonLocalized(const char * const Text, const bool Active, const char * const Option, CMenuTarget* Target, const char * const ActionKey, neutrino_msg_t DirectKey, const char * const IconName, const char * const IconName_Info_right) : CMenuForwarderNonLocalized(Text, Active, Option, Target, ActionKey, DirectKey, IconName, IconName_Info_right)
|
||||
{
|
||||
}
|
||||
|
||||
CMenuDForwarderNonLocalized::CMenuDForwarderNonLocalized(const char * const Text, const bool Active, const std::string &Option, CMenuTarget* Target, const char * const ActionKey, neutrino_msg_t DirectKey, const char * const IconName, const char * const IconName_Info_right) : CMenuForwarderNonLocalized(Text, Active, Option, Target, ActionKey, DirectKey, IconName, IconName_Info_right)
|
||||
{
|
||||
}
|
||||
|
||||
CMenuDForwarderNonLocalized::~CMenuDForwarderNonLocalized()
|
||||
{
|
||||
delete jumpTarget;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------------------------
|
||||
CMenuSeparator::CMenuSeparator(const int Type, const neutrino_locale_t Text, bool IsStatic)
|
||||
{
|
||||
|
@@ -255,6 +255,14 @@ class CMenuForwarderNonLocalized : public CMenuForwarder
|
||||
void setText(const char * const Text);
|
||||
};
|
||||
|
||||
class CMenuDForwarderNonLocalized : public CMenuForwarderNonLocalized
|
||||
{
|
||||
public:
|
||||
CMenuDForwarderNonLocalized(const char * const 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);
|
||||
CMenuDForwarderNonLocalized(const char * const 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);
|
||||
~CMenuDForwarderNonLocalized();
|
||||
};
|
||||
|
||||
class CAbstractMenuOptionChooser : public CMenuItem
|
||||
{
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user