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:
@@ -34,6 +34,8 @@ namespace
|
||||
};
|
||||
} // namespace
|
||||
|
||||
// ---- Construction ----
|
||||
|
||||
UserOptionState::UserOptionState(data::User *user, TitleSelectCommon *titleSelect)
|
||||
: m_user(user)
|
||||
, m_titleSelect(titleSelect)
|
||||
@@ -45,6 +47,8 @@ UserOptionState::UserOptionState(data::User *user, TitleSelectCommon *titleSelec
|
||||
UserOptionState::initialize_data_struct();
|
||||
}
|
||||
|
||||
// ---- Public functions ----
|
||||
|
||||
void UserOptionState::update()
|
||||
{
|
||||
const bool hasFocus = BaseState::has_focus();
|
||||
@@ -91,6 +95,8 @@ void UserOptionState::render()
|
||||
|
||||
void UserOptionState::refresh_required() { m_refreshRequired = true; }
|
||||
|
||||
// ---- Private functions ----
|
||||
|
||||
void UserOptionState::create_menu_panel()
|
||||
{
|
||||
static constexpr int SIZE_PANEL_WIDTH = 480;
|
||||
|
||||
Reference in New Issue
Block a user