summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/shortcutwindow.h')
-rw-r--r--src/gui/windows/shortcutwindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/shortcutwindow.h b/src/gui/windows/shortcutwindow.h
index 6a585745a..139db109e 100644
--- a/src/gui/windows/shortcutwindow.h
+++ b/src/gui/windows/shortcutwindow.h
@@ -72,6 +72,10 @@ class ShortcutWindow final : public Window
void prevTab();
+ void addButton(const std::string &text,
+ const std::string &eventName,
+ ActionListener *const listener);
+
#ifdef USE_PROFILER
void logicChildren();
#endif
@@ -83,6 +87,7 @@ class ShortcutWindow final : public Window
ScrollArea *mScrollArea;
TabbedArea *mTabs;
std::vector<ShortcutContainer*> mPages;
+ int mButtonIndex;
static int mBoxesWidth;
};