DolphinWX: Don't use a special color for compressed games
- There's no clear definition of what it means for a GC/Wii game to be compressed. GC games in GCZ are obviously compressed, but what about formats like WBFS and CISO that just discard data? - Hardcoded colors might have bad contrast with the used theme. - It feels Windows XP to me.
This commit is contained in:
parent
51944afa56
commit
b1589a6337
|
@ -207,8 +207,6 @@ void SConfig::SaveGameListSettings(IniFile& ini)
|
||||||
gamelist->Set("ListSort", m_ListSort);
|
gamelist->Set("ListSort", m_ListSort);
|
||||||
gamelist->Set("ListSortSecondary", m_ListSort2);
|
gamelist->Set("ListSortSecondary", m_ListSort2);
|
||||||
|
|
||||||
gamelist->Set("ColorCompressed", m_ColorCompressed);
|
|
||||||
|
|
||||||
gamelist->Set("ColumnPlatform", m_showSystemColumn);
|
gamelist->Set("ColumnPlatform", m_showSystemColumn);
|
||||||
gamelist->Set("ColumnBanner", m_showBannerColumn);
|
gamelist->Set("ColumnBanner", m_showBannerColumn);
|
||||||
gamelist->Set("ColumnNotes", m_showMakerColumn);
|
gamelist->Set("ColumnNotes", m_showMakerColumn);
|
||||||
|
@ -526,9 +524,6 @@ void SConfig::LoadGameListSettings(IniFile& ini)
|
||||||
gamelist->Get("ListSort", &m_ListSort, 3);
|
gamelist->Get("ListSort", &m_ListSort, 3);
|
||||||
gamelist->Get("ListSortSecondary", &m_ListSort2, 0);
|
gamelist->Get("ListSortSecondary", &m_ListSort2, 0);
|
||||||
|
|
||||||
// Determines if compressed games display in blue
|
|
||||||
gamelist->Get("ColorCompressed", &m_ColorCompressed, true);
|
|
||||||
|
|
||||||
// Gamelist columns toggles
|
// Gamelist columns toggles
|
||||||
gamelist->Get("ColumnPlatform", &m_showSystemColumn, true);
|
gamelist->Get("ColumnPlatform", &m_showSystemColumn, true);
|
||||||
gamelist->Get("ColumnBanner", &m_showBannerColumn, true);
|
gamelist->Get("ColumnBanner", &m_showBannerColumn, true);
|
||||||
|
|
|
@ -289,9 +289,6 @@ struct SConfig : NonCopyable
|
||||||
bool m_showSizeColumn;
|
bool m_showSizeColumn;
|
||||||
bool m_showStateColumn;
|
bool m_showStateColumn;
|
||||||
|
|
||||||
// Toggles whether compressed titles show up in blue in the game list
|
|
||||||
bool m_ColorCompressed;
|
|
||||||
|
|
||||||
std::string m_WirelessMac;
|
std::string m_WirelessMac;
|
||||||
bool m_PauseMovie;
|
bool m_PauseMovie;
|
||||||
bool m_ShowLag;
|
bool m_ShowLag;
|
||||||
|
|
|
@ -463,11 +463,7 @@ void CGameListCtrl::ReloadList()
|
||||||
|
|
||||||
// add all items
|
// add all items
|
||||||
for (int i = 0; i < (int)m_ISOFiles.size(); i++)
|
for (int i = 0; i < (int)m_ISOFiles.size(); i++)
|
||||||
{
|
|
||||||
InsertItemInReportView(i);
|
InsertItemInReportView(i);
|
||||||
if (SConfig::GetInstance().m_ColorCompressed && m_ISOFiles[i]->IsCompressed())
|
|
||||||
SetItemTextColour(i, wxColour(0xFF0000));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Sort items by Title
|
// Sort items by Title
|
||||||
if (!sorted)
|
if (!sorted)
|
||||||
|
|
Loading…
Reference in New Issue