mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
*neutrino menu: make setSelected()also usable if widget index is in use
setSelected() had no effect with widget index git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2099 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -456,8 +456,8 @@ class CMenuWidget : public CMenuTarget
|
|||||||
virtual void hide();
|
virtual void hide();
|
||||||
virtual int exec(CMenuTarget* parent, const std::string & actionKey);
|
virtual int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||||
virtual std::string getName();
|
virtual std::string getName();
|
||||||
virtual void setSelected(const int &Preselected){ preselected = Preselected; };
|
void setSelected(const int &Preselected){ preselected = Preselected; };
|
||||||
virtual int getSelected(){ return selected; };
|
int getSelected(){ return selected; };
|
||||||
void move(int xoff, int yoff);
|
void move(int xoff, int yoff);
|
||||||
int getSelectedLine(void){return exit_pressed ? -1 : selected;};
|
int getSelectedLine(void){return exit_pressed ? -1 : selected;};
|
||||||
void setWizardMode(bool _from_wizard) { from_wizard = _from_wizard;};
|
void setWizardMode(bool _from_wizard) { from_wizard = _from_wizard;};
|
||||||
|
Reference in New Issue
Block a user