phase out vDefs param

This commit is contained in:
Glenn Maynard
2006-01-17 21:31:50 +00:00
parent 2b9bb0ec44
commit 8fd297bdfc
12 changed files with 17 additions and 47 deletions
+1 -4
View File
@@ -146,7 +146,6 @@ void ScreenOptionsManageCourses::BeginScreen()
}
vector<OptionRowDefinition> vDefs;
vector<OptionRowHandler*> vHands;
int iIndex = 0;
@@ -158,7 +157,6 @@ void ScreenOptionsManageCourses::BeginScreen()
def.m_sName = "";
def.m_vsChoices.clear();
def.m_vsChoices.push_back( "Create New" );
vDefs.push_back( def );
iIndex++;
}
@@ -206,11 +204,10 @@ void ScreenOptionsManageCourses::BeginScreen()
def.m_layoutType = LAYOUT_SHOW_ONE_IN_ROW;
def.m_vsChoices.clear();
def.m_vsChoices.push_back( (*c)->GetDisplayFullTitle() );
vDefs.push_back( def );
iIndex++;
}
ScreenOptions::InitMenu( vDefs, vHands );
ScreenOptions::InitMenu( vHands );
ScreenOptions::BeginScreen();