mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +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
|
||||
{
|
||||
protected:
|
||||
neutrino_locale_t optionName;
|
||||
int height;
|
||||
int * optionValue;
|
||||
protected:
|
||||
neutrino_locale_t optionName;
|
||||
int height;
|
||||
int * optionValue;
|
||||
|
||||
int getHeight(void) const
|
||||
{
|
||||
return height;
|
||||
}
|
||||
int getHeight(void) const{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
|
||||
|
Reference in New Issue
Block a user