mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0a4f444503
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-02-15 (Wed, 15 Feb 2012)
Origin message was:
------------------
*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 was generated by Migit
This commit is contained in:
@@ -456,8 +456,8 @@ class CMenuWidget : public CMenuTarget
|
||||
virtual void hide();
|
||||
virtual int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
virtual std::string getName();
|
||||
virtual void setSelected(const int &Preselected){ preselected = Preselected; };
|
||||
virtual int getSelected(){ return selected; };
|
||||
void setSelected(const int &Preselected){ preselected = Preselected; };
|
||||
int getSelected(){ return selected; };
|
||||
void move(int xoff, int yoff);
|
||||
int getSelectedLine(void){return exit_pressed ? -1 : selected;};
|
||||
void setWizardMode(bool _from_wizard) { from_wizard = _from_wizard;};
|
||||
|
Reference in New Issue
Block a user