aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform.h')
-rw-r--r--src/Platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Platform.h b/src/Platform.h
index 8898e66f9..98e6440aa 100644
--- a/src/Platform.h
+++ b/src/Platform.h
@@ -96,7 +96,7 @@ constexpr const char *localeNameDefault = "en-us";
struct FontParameters {
const char *faceName;
- float size;
+ XYPOSITION size;
int weight;
bool italic;
int extraFontFlag;
@@ -106,7 +106,7 @@ struct FontParameters {
constexpr FontParameters(
const char *faceName_,
- float size_=10,
+ XYPOSITION size_=10,
int weight_=400,
bool italic_=false,
int extraFontFlag_=0,