mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-28 13:28:01 +03:00
32 lines
653 B
C++
32 lines
653 B
C++
#pragma once
|
|
|
|
#include "Emu/RSX/Overlays/overlays.h"
|
|
#include "Emu/Cell/ErrorCodes.h"
|
|
#include "overlay_home_menu_main_menu.h"
|
|
|
|
namespace rsx
|
|
{
|
|
namespace overlays
|
|
{
|
|
struct home_menu_dialog : public user_interface
|
|
{
|
|
public:
|
|
home_menu_dialog();
|
|
|
|
void update() override;
|
|
void on_button_pressed(pad_button button_press) override;
|
|
|
|
compiled_resource get_compiled() override;
|
|
|
|
error_code show(std::function<void(s32 status)> on_close);
|
|
|
|
private:
|
|
home_menu_main_menu m_main_menu;
|
|
overlay_element m_dim_background{};
|
|
label m_description{};
|
|
label m_time_display{};
|
|
|
|
animation_color_interpolate fade_animation{};
|
|
};
|
|
}
|
|
}
|