Always use visible text in GameList

Depending upon the desktop colour scheme, the light/dark
GameList backgrounds can cause the always white text
to become unreadble.

Use the common luminance approximation algorithm to
determine whether black text should be used instead.
This commit is contained in:
Steven Newbury
2017-02-19 08:02:00 +00:00
parent 1f04bab967
commit 28f4793785
2 changed files with 14 additions and 5 deletions

View File

@ -73,7 +73,7 @@ private:
void InitBitmaps();
void UpdateItemAtColumn(long _Index, int column);
void InsertItemInReportView(long _Index);
void SetBackgroundColor();
void SetColors();
void ScanForISOs();
// events