aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
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.