22 #ifndef REMAP_WIDGET_H 23 #define REMAP_WIDGET_H 25 #include "common/scummsys.h" 26 #include "common/hash-ptr.h" 28 #include "gui/widget.h" 32 class DropdownButtonWidget;
34 class StaticTextWidget;
52 void handleInputChanged();
54 void handleMouseDown(
int x,
int y,
int button,
int clickCount)
override;
55 void handleTickle()
override;
56 void reflowLayout()
override;
66 ActionRow() : keymap(
nullptr), action(
nullptr), actionText(
nullptr), keyButton(
nullptr) {}
73 KeymapTitleRow() : descriptionText(
nullptr), resetButton(
nullptr) {}
78 void reflowActionWidgets();
79 void clearMapping(uint actionIndex);
80 void resetMapping(uint actionIndex);
81 void resetKeymap(uint actionIndex);
82 void startRemapping(uint actionIndex);
85 KeymapArray _keymapTable;
92 static const uint32 kRemapMinTimeoutDelay = 3000;
102 #endif // #ifndef REMAP_WIDGET_H
Definition: algorithm.h:29