move MenuElements into a base ScreenWithMenuElements so that metrics can be overridden using the Fallback mechanism
This commit is contained in:
@@ -12,12 +12,11 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "Screen.h"
|
||||
#include "ScreenWithMenuElements.h"
|
||||
#include "Sprite.h"
|
||||
#include "BitmapText.h"
|
||||
#include "RandomSample.h"
|
||||
#include "Quad.h"
|
||||
#include "MenuElements.h"
|
||||
#include "OptionsCursor.h"
|
||||
#include "OptionIcon.h"
|
||||
#include "DualScrollBar.h"
|
||||
@@ -50,7 +49,7 @@ enum InputMode
|
||||
};
|
||||
|
||||
|
||||
class ScreenOptions : public Screen
|
||||
class ScreenOptions : public ScreenWithMenuElements
|
||||
{
|
||||
public:
|
||||
ScreenOptions( CString sClassName );
|
||||
@@ -97,8 +96,6 @@ protected:
|
||||
/* Returns -1 if on a row with no OptionRowData (eg. EXIT). */
|
||||
int GetCurrentRow(PlayerNumber pn = PLAYER_1) const;
|
||||
|
||||
MenuElements m_Menu;
|
||||
|
||||
protected: // derived classes need access to these
|
||||
void LoadOptionIcon( PlayerNumber pn, int iRow, CString sText );
|
||||
enum Navigation { NAV_THREE_KEY, NAV_THREE_KEY_MENU, NAV_FIVE_KEY, NAV_FIRST_CHOICE_GOES_DOWN };
|
||||
|
||||
Reference in New Issue
Block a user