25 #include "kyra/kyra_v1.h" 26 #include "kyra/graphics/screen.h" 28 #include "common/ptr.h" 29 #include "common/array.h" 30 #include "common/func.h" 32 #include "graphics/surface.h" 36 #define BUTTON_FUNCTOR(type, x, y) Button::Callback(new Common::Functor1Mem<Button *, int, type>(x, y)) 42 Button() : nextButton(0), index(0), keyCode(0), keyCode2(0), data0Val1(0), data1Val1(0), data2Val1(0), data3Val1(0), flags(0),
43 data0ShapePtr(0), data1ShapePtr(0), data2ShapePtr(0), data0Callback(), data1Callback(), data2Callback(),
44 dimTableIndex(0), x(0), y(0), width(0), height(0), data0Val2(0), data0Val3(0), data1Val2(0), data1Val3(0),
45 data2Val2(0), data2Val3(0), data3Val2(0), data3Val3(0), flags2(0), mouseWheel(0), buttonCallback(), extButtonDef(0), arg(0) {}
60 const uint8 *data0ShapePtr;
61 const uint8 *data1ShapePtr;
62 const uint8 *data2ShapePtr;
63 Callback data0Callback;
64 Callback data1Callback;
65 Callback data2Callback;
88 Callback buttonCallback;
90 const void *extButtonDef;
104 virtual void processButton(
Button *button) = 0;
105 virtual int processButtonList(
Button *buttonList, uint16 inputFlags, int8 mouseWheel) = 0;
110 void notifyUpdateSaveSlotsList() { _saveSlotsListUpdateNeeded =
true; }
120 void updateSaveFileList(
Common::String targetName,
bool excludeQuickSaves =
false);
121 int getNextSavegameSlot();
122 void updateSaveSlotsList(
Common::String targetName,
bool force =
false);
124 virtual void sortSaveSlots();
126 char **_savegameList;
127 int _savegameListSize;
128 bool _saveSlotsListUpdateNeeded;
Definition: kyra_v1.h:126
Definition: detection.h:27
Definition: keyboard.h:294