mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 22:11:18 +12:00
Fix 1x1 symbols in debugger window + Load icons from headers on all platforms
- Fixed an issue where the toolbar icons for the debugger were resized to 1x1 - On Windows we now load the PNG UI icons from the header-embedded pngs (`resource/embedded`) instead of via `cemu.rc` to match behavior of other platforms
This commit is contained in:
parent
867c0c5ca2
commit
5e968eff4f
3 changed files with 11 additions and 44 deletions
|
@ -29,9 +29,7 @@
|
|||
#include "gui/input/settings/WiimoteControllerSettings.h"
|
||||
#include "util/EventService.h"
|
||||
|
||||
#if BOOST_OS_LINUX
|
||||
#include "resource/embedded/resources.h"
|
||||
#endif
|
||||
|
||||
bool g_inputConfigWindowHasFocus = false;
|
||||
|
||||
|
@ -70,9 +68,9 @@ InputSettings2::InputSettings2(wxWindow* parent)
|
|||
|
||||
g_inputConfigWindowHasFocus = true;
|
||||
|
||||
m_connected = wxBITMAP_PNG(INPUT_CONNECTED);
|
||||
m_disconnected = wxBITMAP_PNG(INPUT_DISCONNECTED);
|
||||
m_low_battery = wxBITMAP_PNG(INPUT_LOW_BATTERY);
|
||||
m_connected = wxBITMAP_PNG_FROM_DATA(INPUT_CONNECTED);
|
||||
m_disconnected = wxBITMAP_PNG_FROM_DATA(INPUT_DISCONNECTED);
|
||||
m_low_battery = wxBITMAP_PNG_FROM_DATA(INPUT_LOW_BATTERY);
|
||||
|
||||
auto* sizer = new wxBoxSizer(wxVERTICAL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue