Minor revisions and cleanup.

This commit is contained in:
J-D-K
2025-10-30 18:11:16 -04:00
parent 91e348750b
commit 8170e5ce66
54 changed files with 414 additions and 91 deletions

View File

@@ -1,6 +1,7 @@
#include "appstates/DataLoadingState.hpp"
#include "graphics/colors.hpp"
#include "graphics/screen.hpp"
#include "logging/logger.hpp"
namespace
@@ -42,7 +43,7 @@ void DataLoadingState::render()
const int statusWidth = sdl::text::get_width(BaseTask::FONT_SIZE, status);
m_statusX = SCREEN_CENTER - (statusWidth / 2);
sdl::render_rect_fill(sdl::Texture::Null, 0, 0, 1280, 720, colors::CLEAR_COLOR);
sdl::render_rect_fill(sdl::Texture::Null, 0, 0, graphics::SCREEN_WIDTH, graphics::SCREEN_HEIGHT, colors::CLEAR_COLOR);
sm_jksvIcon->render(sdl::Texture::Null, ICON_X_COORD, ICON_Y_COORD);
sdl::text::render(sdl::Texture::Null, m_statusX, 673, BaseTask::FONT_SIZE, sdl::text::NO_WRAP, colors::WHITE, status);
BaseTask::render_loading_glyph();