mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- start_wizard: use a global enum; switch detection from bool to int
This commit is contained in:
@@ -528,7 +528,7 @@ class CMenuWidget : public CMenuTarget
|
||||
unsigned int current_page;
|
||||
unsigned int total_pages;
|
||||
bool exit_pressed;
|
||||
bool from_wizard;
|
||||
int from_wizard;
|
||||
bool fade;
|
||||
bool washidden;
|
||||
int nextShortcut;
|
||||
@@ -574,7 +574,7 @@ class CMenuWidget : public CMenuTarget
|
||||
int getSelected()const { return selected; };
|
||||
void move(int xoff, int yoff);
|
||||
int getSelectedLine(void)const {return exit_pressed ? -1 : selected;};
|
||||
void setWizardMode(bool _from_wizard) { from_wizard = _from_wizard;};
|
||||
void setWizardMode(int _from_wizard) { from_wizard = _from_wizard;};
|
||||
void enableFade(bool _enable) { fade = _enable; };
|
||||
void enableSaveScreen(bool enable);
|
||||
void paintHint(int num);
|
||||
|
Reference in New Issue
Block a user