fix menu items are offset in home edit mode

This commit is contained in:
Chris Danford
2005-03-07 19:45:45 +00:00
parent 1a2619f445
commit e00de06b3f
5 changed files with 193 additions and 127 deletions
+4 -1
View File
@@ -15,6 +15,7 @@
struct MenuRow
{
int iRowCode;
const char *name;
bool enabled;
bool bShowInHomeEditMode;
@@ -25,6 +26,7 @@ struct MenuRow
struct MenuRowInternal
{
int iRowCode;
CString name;
bool enabled;
bool bShowInHomeEditMode;
@@ -33,6 +35,7 @@ struct MenuRowInternal
MenuRowInternal()
{
iRowCode = -1;
enabled = true;
bShowInHomeEditMode = true;
defaultChoice = 0;
@@ -95,7 +98,7 @@ protected:
Transition m_Out;
public:
static int s_iLastLine;
static int s_iLastRowCode;
static int s_iLastAnswers[MAX_MENU_ROWS];
};