mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 03:32:07 +00:00
overlays: Fix linux compilation
This commit is contained in:
parent
3b09a39576
commit
69435dd951
@ -437,13 +437,18 @@ target_sources(rpcs3_emu PRIVATE
|
||||
RSX/Common/TextureUtils.cpp
|
||||
RSX/Common/texture_cache.cpp
|
||||
RSX/Null/NullGSRender.cpp
|
||||
RSX/Overlays/HomeMenu/overlay_home_menu.cpp
|
||||
RSX/Overlays/HomeMenu/overlay_home_menu_components.cpp
|
||||
RSX/Overlays/HomeMenu/overlay_home_menu_main_menu.cpp
|
||||
RSX/Overlays/HomeMenu/overlay_home_menu_message_box.cpp
|
||||
RSX/Overlays/HomeMenu/overlay_home_menu_page.cpp
|
||||
RSX/Overlays/HomeMenu/overlay_home_menu_settings.cpp
|
||||
RSX/Overlays/overlay_animated_icon.cpp
|
||||
RSX/Overlays/overlay_animation.cpp
|
||||
RSX/Overlays/overlay_controls.cpp
|
||||
RSX/Overlays/overlay_cursor.cpp
|
||||
RSX/Overlays/overlay_edit_text.cpp
|
||||
RSX/Overlays/overlay_fonts.cpp
|
||||
RSX/Overlays/overlay_home_menu.cpp
|
||||
RSX/Overlays/overlay_list_view.cpp
|
||||
RSX/Overlays/overlay_media_list_dialog.cpp
|
||||
RSX/Overlays/overlay_message.cpp
|
||||
|
@ -2,6 +2,9 @@
|
||||
#include "overlay_home_menu.h"
|
||||
#include "Emu/RSX/RSXThread.h"
|
||||
|
||||
#include <sstream>
|
||||
#include <iomanip>
|
||||
|
||||
namespace rsx
|
||||
{
|
||||
namespace overlays
|
||||
|
@ -92,11 +92,11 @@ namespace rsx
|
||||
m_dropdown.set_size(available_side_width / 2, element_height);
|
||||
m_dropdown.set_pos(overlay::virtual_width / 2 + menu_entry_margin, 0);
|
||||
m_dropdown.set_font("Arial", 14);
|
||||
m_dropdown.align_text(this->text_align::center);
|
||||
m_dropdown.align_text(home_menu_dropdown<T>::text_align::center);
|
||||
m_dropdown.back_color = { 0.3f, 0.3f, 0.3f, 1.0f };
|
||||
}
|
||||
|
||||
compiled_resource& get_compiled()
|
||||
compiled_resource& get_compiled() override
|
||||
{
|
||||
this->update_value();
|
||||
|
||||
|
@ -9,8 +9,8 @@ namespace rsx
|
||||
{
|
||||
home_menu_page::home_menu_page(u16 x, u16 y, u16 width, u16 height, bool use_separators, home_menu_page* parent, const std::string& title)
|
||||
: list_view(width, height, use_separators)
|
||||
, title(title)
|
||||
, parent(parent)
|
||||
, title(title)
|
||||
{
|
||||
if (parent)
|
||||
{
|
||||
|
@ -659,7 +659,7 @@ void pad_thread::open_home_menu()
|
||||
return;
|
||||
}
|
||||
|
||||
input_log.warning("opening home menu...");
|
||||
input_log.notice("opening home menu...");
|
||||
|
||||
const error_code result = manager->create<rsx::overlays::home_menu_dialog>()->show([this](s32 status)
|
||||
{
|
||||
@ -669,5 +669,7 @@ void pad_thread::open_home_menu()
|
||||
|
||||
send_close_home_menu_cmds();
|
||||
});
|
||||
|
||||
(result ? input_log.error : input_log.notice)("opened home menu with result %d", s32{result});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user