aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-14 14:45:28 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-14 14:45:28 +0100
commit9579f2a385de42cf74d50038c79a58c14eb0d980 (patch)
tree7e8f96e943705fccf2904fa20ee58aeb5242f943 /src/crepe/api
parentfda61be91cd8667fa2b51e3b8a17ba6b93b728c8 (diff)
make format
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/Text.cpp4
-rw-r--r--src/crepe/api/Text.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/crepe/api/Text.cpp b/src/crepe/api/Text.cpp
index 9de9038..568af7f 100644
--- a/src/crepe/api/Text.cpp
+++ b/src/crepe/api/Text.cpp
@@ -2,8 +2,8 @@
using namespace crepe;
-Text::Text(game_object_id_t id, const vec2 & dimensions, const vec2 & offset, const std::string & text,
- const std::string & font_family,const Data & data)
+Text::Text(game_object_id_t id, const vec2 & dimensions, const vec2 & offset,
+ const std::string & text, const std::string & font_family, const Data & data)
: UIObject(id, dimensions, offset),
text(text),
data(data),
diff --git a/src/crepe/api/Text.h b/src/crepe/api/Text.h
index 96e1265..64b2008 100644
--- a/src/crepe/api/Text.h
+++ b/src/crepe/api/Text.h
@@ -39,8 +39,8 @@ public:
};
public:
- Text(game_object_id_t id, const vec2 & dimensions, const vec2 & offset, const std::string &,
- const std::string & font_family, const Data& data);
+ Text(game_object_id_t id, const vec2 & dimensions, const vec2 & offset,
+ const std::string &, const std::string & font_family, const Data & data);
//! font family name such as (Arial,Helvetica,Inter)
std::string font_family = "";
//! Label text.