diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-22 13:52:14 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-22 13:52:14 +0100 |
commit | 15220fd01798d88a3c1acd21b6b1220c1273c1ee (patch) | |
tree | b0fe9212a201f69188a70004af936310045af94a /src/crepe/api/Button.cpp | |
parent | 6a7e06f875d789af0e8f9b5ce0ad24b9eaa96d25 (diff) |
button feedback
Diffstat (limited to 'src/crepe/api/Button.cpp')
-rw-r--r-- | src/crepe/api/Button.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/crepe/api/Button.cpp b/src/crepe/api/Button.cpp index 40153c9..c4f7f2d 100644 --- a/src/crepe/api/Button.cpp +++ b/src/crepe/api/Button.cpp @@ -2,7 +2,10 @@ namespace crepe { -Button::Button(game_object_id_t id, const vec2 & dimensions, const vec2 & offset) - : UIObject(id, dimensions, offset) {} +Button::Button( + game_object_id_t id, const vec2 & dimensions, const vec2 & offset, const Data & data +) + : UIObject(id, dimensions, offset), + data(data) {} } // namespace crepe |