mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
neutrino menu-classes: style correcture in CAbstractMenuOptionChooser
contructor and destructors added, init member variables
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1362 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: b27264d51a
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-03-31 (Thu, 31 Mar 2011)
Origin message was:
------------------
*neutrino menu-classes: style correcture in CAbstractMenuOptionChooser
contructor and destructors added, init member variables
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1362 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -217,20 +217,23 @@ class CMenuForwarderNonLocalized : public CMenuForwarder
|
|||||||
|
|
||||||
class CAbstractMenuOptionChooser : public CMenuItem
|
class CAbstractMenuOptionChooser : public CMenuItem
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
neutrino_locale_t optionName;
|
neutrino_locale_t optionName;
|
||||||
int height;
|
int height;
|
||||||
int * optionValue;
|
int * optionValue;
|
||||||
|
|
||||||
int getHeight(void) const
|
int getHeight(void) const{return height;}
|
||||||
{
|
|
||||||
return height;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool isSelectable(void) const
|
bool isSelectable(void) const{return active;}
|
||||||
|
public:
|
||||||
|
CAbstractMenuOptionChooser()
|
||||||
{
|
{
|
||||||
return active;
|
optionName = NONEXISTANT_LOCALE;
|
||||||
}
|
height = 0;
|
||||||
|
optionValue = NULL;
|
||||||
|
};
|
||||||
|
~CAbstractMenuOptionChooser(){}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class CMenuOptionNumberChooser : public CAbstractMenuOptionChooser
|
class CMenuOptionNumberChooser : public CAbstractMenuOptionChooser
|
||||||
|
Reference in New Issue
Block a user