diff options
author | kusst <49589982+kusst@users.noreply.github.com> | 2021-01-27 03:36:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 03:36:22 +0100 |
commit | e1e13d14a4cb41a41c05bf17f891906c1c7f71e0 (patch) | |
tree | b910fe684c6cb183a836182b7ffeed76429ed4a8 /src/rw/TexRead.cpp | |
parent | Change text color in texture conversion dialog... (diff) | |
download | re3-e1e13d14a4cb41a41c05bf17f891906c1c7f71e0.tar re3-e1e13d14a4cb41a41c05bf17f891906c1c7f71e0.tar.gz re3-e1e13d14a4cb41a41c05bf17f891906c1c7f71e0.tar.bz2 re3-e1e13d14a4cb41a41c05bf17f891906c1c7f71e0.tar.lz re3-e1e13d14a4cb41a41c05bf17f891906c1c7f71e0.tar.xz re3-e1e13d14a4cb41a41c05bf17f891906c1c7f71e0.tar.zst re3-e1e13d14a4cb41a41c05bf17f891906c1c7f71e0.zip |
Diffstat (limited to 'src/rw/TexRead.cpp')
-rw-r--r-- | src/rw/TexRead.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rw/TexRead.cpp b/src/rw/TexRead.cpp index 31a3f58f..5c7f7158 100644 --- a/src/rw/TexRead.cpp +++ b/src/rw/TexRead.cpp @@ -320,7 +320,7 @@ ConvertingTexturesScreen(uint32 num, uint32 count, const char *text) splash->Draw(CRect(0.0f, 0.0f, SCREEN_WIDTH, SCREEN_HEIGHT), CRGBA(255, 255, 255, 255)); CSprite2d::DrawRect(CRect(SCREEN_SCALE_X(200.0f), SCREEN_SCALE_Y(240.0f), SCREEN_SCALE_FROM_RIGHT(200.0f), SCREEN_SCALE_Y(248.0f)), CRGBA(64, 64, 64, 255)); - CSprite2d::DrawRect(CRect(SCREEN_SCALE_X(200.0f), SCREEN_SCALE_Y(240.0f), (SCREEN_SCALE_FROM_RIGHT(200.0f) - SCREEN_SCALE_X(200.0f)) * ((float)num / (float)count) + SCREEN_SCALE_X(200.0f), SCREEN_SCALE_Y(248.0f)), CRGBA(255, 217, 106, 255)); + CSprite2d::DrawRect(CRect(SCREEN_SCALE_X(200.0f), SCREEN_SCALE_Y(240.0f), (SCREEN_SCALE_FROM_RIGHT(200.0f) - SCREEN_SCALE_X(200.0f)) * ((float)num / (float)count) + SCREEN_SCALE_X(200.0f), SCREEN_SCALE_Y(248.0f)), CRGBA(255, 150, 225, 255)); CSprite2d::DrawRect(CRect(SCREEN_SCALE_X(120.0f), SCREEN_SCALE_Y(150.0f), SCREEN_SCALE_FROM_RIGHT(120.0f), SCREEN_HEIGHT - SCREEN_SCALE_Y(220.0f)), CRGBA(50, 50, 50, 210)); CFont::SetBackgroundOff(); |