mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-14 16:37:00 +00:00
UI: Fix minor dark mode issues (#1654)
* Fix black text after graphic pack is disabled in dark mode * Fix background colour of audio debugger in dark mode * Make placeholder game list icons black when using dark mode * Some tweaks to the HotkeySettings window: - Make strings translatable - Makes the column headers bold for clarity - Makes the border darker on Linux, fixed by @goeiecool9999 - Make the column headers have some padding to make it look nicer.
This commit is contained in:
parent
55a735dcfa
commit
191357c518
6 changed files with 23 additions and 23 deletions
|
|
@ -140,8 +140,8 @@ wxGameList::wxGameList(wxWindow* parent, wxWindowID id)
|
|||
{
|
||||
const auto& config = GetWxGUIConfig();
|
||||
|
||||
char transparent_bitmap[kIconWidth * kIconWidth * 4] = {wxIMAGE_ALPHA_TRANSPARENT};
|
||||
memset((void*)transparent_bitmap, wxIMAGE_ALPHA_TRANSPARENT, sizeof(transparent_bitmap));
|
||||
char transparent_bitmap[kIconWidth * kIconWidth * 4] = {};
|
||||
memset((void*)transparent_bitmap, wxSystemSettings::GetAppearance().IsDark() ? 0xFF : 0x00, sizeof(transparent_bitmap));
|
||||
wxBitmap blank(transparent_bitmap, kIconWidth, kIconWidth);
|
||||
blank.UseAlpha(true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue