mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
start_wizard: use a global enum; switch detection from bool to int
Origin commit data
------------------
Commit: af90286a30
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-15 (Fri, 15 May 2015)
Origin message was:
------------------
- start_wizard: use a global enum; switch detection from bool to int
This commit is contained in:
@@ -493,7 +493,7 @@ CMenuWidget::CMenuWidget()
|
||||
selected = -1;
|
||||
iconOffset = 0;
|
||||
offx = offy = 0;
|
||||
from_wizard = false;
|
||||
from_wizard = SNeutrinoSettings::WIZARD_OFF;
|
||||
fade = true;
|
||||
sb_width = 0;
|
||||
savescreen = false;
|
||||
@@ -562,7 +562,7 @@ void CMenuWidget::Init(const std::string &Icon, const int mwidth, const mn_widge
|
||||
|
||||
current_page = 0;
|
||||
offx = offy = 0;
|
||||
from_wizard = false;
|
||||
from_wizard = SNeutrinoSettings::WIZARD_OFF;
|
||||
fade = true;
|
||||
savescreen = false;
|
||||
background = NULL;
|
||||
|
@@ -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