mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-09-13 04:55:18 -05:00
Minor revisions and cleanup.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user