This commit is contained in:
Glenn Maynard
2006-01-16 04:26:54 +00:00
parent 1f05393033
commit cb90821cfe
+7 -7
View File
@@ -10,13 +10,13 @@ typedef bool (*MenuRowUpdateEnabled)();
struct MenuRowDef struct MenuRowDef
{ {
int iRowCode; int iRowCode;
CString sName; CString sName;
bool bEnabled; bool bEnabled;
MenuRowUpdateEnabled pfnEnabled; // if ! NULL, used to fill bEnabled MenuRowUpdateEnabled pfnEnabled; // if ! NULL, used to fill bEnabled
EditMode emShowIn; EditMode emShowIn;
int iDefaultChoice; int iDefaultChoice;
vector<CString> choices; vector<CString> choices;
bool bThemeItems; bool bThemeItems;
MenuRowDef() {} MenuRowDef() {}
@@ -102,11 +102,11 @@ protected:
ScreenMessage m_SMSendOnOK; ScreenMessage m_SMSendOnOK;
ScreenMessage m_SMSendOnCancel; ScreenMessage m_SMSendOnCancel;
vector<MenuRowDef> m_vMenuRows; vector<MenuRowDef> m_vMenuRows;
public: public:
static bool s_bCancelled; static bool s_bCancelled;
static int s_iLastRowCode; static int s_iLastRowCode;
static vector<int> s_viLastAnswers; static vector<int> s_viLastAnswers;
}; };