22 #ifndef ULTIMA8_GUMPS_U8SAVEGUMP_H 23 #define ULTIMA8_GUMPS_U8SAVEGUMP_H 25 #include "ultima/shared/std/string.h" 26 #include "ultima/ultima8/gumps/gump.h" 27 #include "ultima/ultima8/misc/classtype.h" 39 ENABLE_RUNTIME_CLASSTYPE()
44 void InitGump(
Gump *newparent,
bool take_focus =
true)
override;
45 void Close(
bool no_del =
false)
override;
47 Gump *onMouseDown(
int button, int32 mx, int32 my)
override;
48 void onMouseClick(
int button, int32 mx, int32 my)
override;
49 void onMouseDouble(
int button, int32 mx, int32 my)
override;
50 bool OnKeyDown(
int key,
int mod)
override;
52 void OnFocus(
bool gain)
override;
54 static Gump *showLoadSaveGump(
Gump *parent,
bool save);
63 void loadDescriptions();
65 bool loadgame(
int saveIndex);
66 bool savegame(
int saveIndex,
const Std::string &name);
Definition: detection.h:27
void ChildNotify(Gump *child, uint32 message) override
void InitGump(Gump *newparent, bool take_focus=true) override
void Close(bool no_del=false) override
Definition: u8_save_gump.h:37
Definition: containers.h:38