- start_wizard: use a global enum; switch detection from bool to int

This commit is contained in:
svenhoefer
2015-05-15 03:39:24 +02:00
parent d9b3e9420a
commit af90286a30
18 changed files with 48 additions and 122 deletions

View File

@@ -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;