Fix colour picker buttons in style editor by making AssColor::GetWXColor() aware that alpha has the opposite meaning in wxColour and ASS

Originally committed to SVN as r2262.
This commit is contained in:
Niels Martin Hansen 2008-07-16 01:41:33 +00:00
parent 27e35e9434
commit dfa3e548a0
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ void AssColor::Parse(const wxString value) {
/////////////////// ///////////////////
// Gets a wxColour // Gets a wxColour
wxColour AssColor::GetWXColor() { wxColour AssColor::GetWXColor() {
return wxColour(r,g,b,a); return wxColour(r,g,b,255-a);
} }