summaryrefslogtreecommitdiffstats
path: root/src/render/Font.h
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-12-19 19:25:45 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2020-12-19 19:25:45 +0100
commit140fa2a21c345123c83435558849feb29d3f2eba (patch)
tree4c6eb275b6952a30cbe288e3f3b999dab4224b5d /src/render/Font.h
parentMerge branch 'master' of https://github.com/GTAmodding/re3 (diff)
downloadre3-140fa2a21c345123c83435558849feb29d3f2eba.tar
re3-140fa2a21c345123c83435558849feb29d3f2eba.tar.gz
re3-140fa2a21c345123c83435558849feb29d3f2eba.tar.bz2
re3-140fa2a21c345123c83435558849feb29d3f2eba.tar.lz
re3-140fa2a21c345123c83435558849feb29d3f2eba.tar.xz
re3-140fa2a21c345123c83435558849feb29d3f2eba.tar.zst
re3-140fa2a21c345123c83435558849feb29d3f2eba.zip
Diffstat (limited to 'src/render/Font.h')
-rw-r--r--src/render/Font.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/render/Font.h b/src/render/Font.h
index 7b67e310..bd7e98bb 100644
--- a/src/render/Font.h
+++ b/src/render/Font.h
@@ -173,23 +173,6 @@ public:
static void SetCentreOff(void) {
Details.centre = false;
}
- static void SetAlignment(uint8 alignment) {
- if (alignment == ALIGN_LEFT) {
- CFont::Details.justify = true;
- CFont::Details.centre = false;
- CFont::Details.rightJustify = false;
- }
- else if (alignment == ALIGN_CENTER) {
- CFont::Details.justify = false;
- CFont::Details.centre = true;
- CFont::Details.rightJustify = false;
- }
- else if (alignment == ALIGN_RIGHT) {
- CFont::Details.justify = false;
- CFont::Details.centre = false;
- CFont::Details.rightJustify = true;
- }
- }
static void SetWrapx(float x) { Details.wrapX = x; }
static void SetCentreSize(float s) { Details.centreSize = s; }
static void SetBackgroundOn(void) { Details.background = true; }