diff options
author | erorcun <erayorcunus@gmail.com> | 2020-08-01 16:58:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-01 16:58:54 +0200 |
commit | bda383c9cd8e1fafda3878801dbfacbf62949430 (patch) | |
tree | f71aaea5e1ffad4cb1584f6858e633d07373a651 /src/core/Frontend.cpp | |
parent | Fix Win32 OAL build (diff) | |
parent | new opcodes, buyable properties, minor fixes (diff) | |
download | re3-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.cpp | 4 |
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); |