mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-08-28 21:44:10 -05:00
Add guide string for extras.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
#include "appstates/BaseState.hpp"
|
||||
#include "sdl.hpp"
|
||||
#include "ui/ControlGuide.hpp"
|
||||
#include "ui/Menu.hpp"
|
||||
|
||||
/// @brief Extras menu.
|
||||
@@ -16,6 +17,9 @@ class ExtrasMenuState final : public BaseState
|
||||
/// @brief Updates the menu.
|
||||
void update() override;
|
||||
|
||||
/// @brief Sub-update routine.
|
||||
void sub_update() override;
|
||||
|
||||
/// @brief Renders the menu to screen.
|
||||
void render() override;
|
||||
|
||||
@@ -26,6 +30,9 @@ class ExtrasMenuState final : public BaseState
|
||||
/// @brief Render target for menu.
|
||||
sdl::SharedTexture m_renderTarget{};
|
||||
|
||||
/// @brief Control guider for bottom right corner.
|
||||
std::shared_ptr<ui::ControlGuide> m_controlGuide{};
|
||||
|
||||
/// @brief Creates and loads the menu strings.
|
||||
void initialize_menu();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user