mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-22 17:51:34 +02:00
Converted public fields of MenuSetting to private.
This commit is contained in:
parent
8f98a4b135
commit
b718658bf1
@ -40,6 +40,8 @@ protected:
|
||||
|
||||
ButtonBox buttonBox;
|
||||
|
||||
string name, description;
|
||||
|
||||
public:
|
||||
MenuSetting(GMenu2X *gmenu2x, const string &name, const string &description);
|
||||
virtual ~MenuSetting() {};
|
||||
@ -52,7 +54,7 @@ public:
|
||||
virtual void drawSelected(int);
|
||||
virtual bool edited() { return true; };
|
||||
|
||||
string name, description;
|
||||
const string &getDescription() { return description; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -97,7 +97,7 @@ bool SettingsDialog::exec() {
|
||||
gmenu2x->drawScrollBar(numRows,voices.size(),firstElement,clipRect.y+1,clipRect.h);
|
||||
|
||||
//description
|
||||
writeSubTitle(voices[sel]->description);
|
||||
writeSubTitle(voices[sel]->getDescription());
|
||||
|
||||
gmenu2x->s->flip();
|
||||
voices[sel]->handleTS();
|
||||
|
Loading…
Reference in New Issue
Block a user