summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-08-01 16:58:54 +0200
committerGitHub <noreply@github.com>2020-08-01 16:58:54 +0200
commitbda383c9cd8e1fafda3878801dbfacbf62949430 (patch)
treef71aaea5e1ffad4cb1584f6858e633d07373a651 /src/core/Frontend.cpp
parentFix Win32 OAL build (diff)
parentnew opcodes, buyable properties, minor fixes (diff)
downloadre3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar.gz
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar.bz2
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar.lz
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar.xz
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.tar.zst
re3-bda383c9cd8e1fafda3878801dbfacbf62949430.zip
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r--src/core/Frontend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index 06744ac2..ccb89fbd 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -3409,9 +3409,9 @@ CMenuManager::SmallMessageScreen(const char* text)
CFont::SetPropOn();
CFont::SetJustifyOn();
CFont::SetBackGroundOnlyTextOn();
- CSprite2d::DrawRect(CRect(SCREEN_SCALE_X(95.0f), SCREEN_SCALE_FROM_BOTTOM(165.0f), SCREEN_SCALE_FROM_RIGHT(95.0f), SCREEN_SCALE_Y(115.0f)), CRGBA(50, 50, 50, FadeIn(210)));
+ CSprite2d::DrawRect(CRect(SCREEN_STRETCH_X(95.0f), SCREEN_SCALE_FROM_BOTTOM(165.0f), SCREEN_STRETCH_FROM_RIGHT(95.0f), SCREEN_SCALE_Y(115.0f)), CRGBA(50, 50, 50, FadeIn(210)));
CFont::SetFontStyle(FONT_LOCALE(FONT_STANDARD));
- CFont::SetCentreSize(SCREEN_SCALE_X(430.0f));
+ CFont::SetCentreSize(SCREEN_STRETCH_X(430.0f));
CFont::SetCentreOn();
CFont::SetColor(CRGBA(LABEL_COLOR.r, LABEL_COLOR.g, LABEL_COLOR.b, FadeIn(255)));
CFont::SetDropShadowPosition(2);