mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-09-12 12:35:26 -05:00
Add comments to states.
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
#include "stringutil.hpp"
|
||||
#include "tasks/saveimport.hpp"
|
||||
|
||||
// ---- Construction ----
|
||||
|
||||
SaveImportState::SaveImportState(data::User *user)
|
||||
: m_user(user)
|
||||
, m_saveDir()
|
||||
@@ -16,6 +18,8 @@ SaveImportState::SaveImportState(data::User *user)
|
||||
SaveImportState::initialize_directory_menu();
|
||||
}
|
||||
|
||||
// ---- Public functions ----
|
||||
|
||||
void SaveImportState::update()
|
||||
{
|
||||
const bool hasFocus = BaseState::has_focus();
|
||||
@@ -39,6 +43,8 @@ void SaveImportState::render()
|
||||
sm_slidePanel->render(sdl::Texture::Null, hasFocus);
|
||||
}
|
||||
|
||||
// ---- Private functions ----
|
||||
|
||||
void SaveImportState::initialize_static_members()
|
||||
{
|
||||
static constexpr int SIZE_PANEL_WIDTH = 512;
|
||||
|
||||
Reference in New Issue
Block a user