summaryrefslogtreecommitdiff
path: root/src/touchmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchmanager.h')
-rw-r--r--src/touchmanager.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/touchmanager.h b/src/touchmanager.h
index a281d8357..e044e625f 100644
--- a/src/touchmanager.h
+++ b/src/touchmanager.h
@@ -110,16 +110,19 @@ class TouchManager final : public ConfigListener
void init();
- void loadTouchItem(TouchItem **item, const std::string &name,
+ void loadTouchItem(TouchItem **item,
+ const std::string &name,
const std::string &imageName,
const std::string &text,
- int x, int y, const int width, const int height,
- const int type, const std::string &eventPressed,
+ int x, int y,
+ const int width, const int height,
+ const int type,
+ const std::string &eventPressed,
const std::string &eventReleased,
const TouchFuncPtr fAll = nullptr,
const TouchFuncPtr fPressed = nullptr,
const TouchFuncPtr fReleased = nullptr,
- const TouchFuncPtr fOut = nullptr);
+ const TouchFuncPtr fOut = nullptr) A_NONNULL(2);
void clear();