mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
gui/widget/menue.cpp: add CMenuDForwarder - forwarder which delete jumpTarget
This commit is contained in:
@@ -1611,6 +1611,20 @@ int CMenuForwarder::paint(bool selected)
|
||||
return y+ height;
|
||||
}
|
||||
|
||||
CMenuDForwarder::CMenuDForwarder(const neutrino_locale_t 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)
|
||||
: CMenuForwarder(Text, Active, Option, Target, ActionKey, DirectKey, IconName, IconName_Info_right)
|
||||
{
|
||||
}
|
||||
|
||||
CMenuDForwarder::CMenuDForwarder(const neutrino_locale_t 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)
|
||||
: CMenuForwarder(Text, Active, Option, Target, ActionKey, DirectKey, IconName, IconName_Info_right)
|
||||
{
|
||||
}
|
||||
|
||||
CMenuDForwarder::~CMenuDForwarder()
|
||||
{
|
||||
delete jumpTarget;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------------------------------------------------------
|
||||
const char * CMenuForwarderNonLocalized::getName(void)
|
||||
|
Reference in New Issue
Block a user