23 #ifndef BAGEL_DIALOGS_RESTORE_DIALOG_H 24 #define BAGEL_DIALOGS_RESTORE_DIALOG_H 26 #include "bagel/bagel.h" 27 #include "bagel/boflib/gui/list_box.h" 28 #include "bagel/boflib/gui/scroll_bar.h" 29 #include "bagel/boflib/gui/button.h" 30 #include "bagel/boflib/gui/text_box.h" 31 #include "bagel/dialogs/save_dialog.h" 35 #define NUM_RESTORE_BTNS 6 39 ErrorCode RestoreAndclose();
46 int _nSelectedItem = -1;
49 bool _bRestored =
false;
54 void onPaint(
CBofRect *pRect)
override;
55 void onBofButton(
CBofObject *pObject,
int nState)
override;
56 void onBofListBox(
CBofObject *pObject,
int nItemIndex)
override;
58 void onKeyHit(uint32 lKey, uint32 lRepCount)
override;
63 virtual ErrorCode attach();
64 virtual ErrorCode detach();
71 void setSaveGameBuffer(
StBagelSave *pBuf,
int nLength) {
80 void onInitDialog()
override;
Definition: list_box.h:49
Definition: save_game_file.h:103
Definition: restore_dialog.h:37