No changes whatsoever, just remove trailing whitespace.
There are no real changes in this commit but it removes all trailing white space from our source files. This avoids problems when applying patches and making diffs and it would be nice to prevent it from reappearing. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -150,7 +150,7 @@ wxString wxColourBase::GetAsString(long flags) const
|
||||
}
|
||||
|
||||
// static
|
||||
void wxColourBase::MakeMono(unsigned char* r, unsigned char* g, unsigned char* b,
|
||||
void wxColourBase::MakeMono(unsigned char* r, unsigned char* g, unsigned char* b,
|
||||
bool on)
|
||||
{
|
||||
*r = *g = *b = on ? 255 : 0;
|
||||
@@ -173,7 +173,7 @@ void wxColourBase::MakeGrey(unsigned char* r, unsigned char* g, unsigned char* b
|
||||
}
|
||||
|
||||
// static
|
||||
void wxColourBase::MakeDisabled(unsigned char* r, unsigned char* g, unsigned char* b,
|
||||
void wxColourBase::MakeDisabled(unsigned char* r, unsigned char* g, unsigned char* b,
|
||||
unsigned char brightness)
|
||||
{
|
||||
//MakeGrey(r, g, b, brightness); // grey no-blend version
|
||||
@@ -185,7 +185,7 @@ void wxColourBase::MakeDisabled(unsigned char* r, unsigned char* g, unsigned cha
|
||||
// AlphaBlend is used by ChangeLightness and MakeDisabled
|
||||
|
||||
// static
|
||||
unsigned char wxColourBase::AlphaBlend(unsigned char fg, unsigned char bg,
|
||||
unsigned char wxColourBase::AlphaBlend(unsigned char fg, unsigned char bg,
|
||||
double alpha)
|
||||
{
|
||||
double result = bg + (alpha * (fg - bg));
|
||||
|
||||
Reference in New Issue
Block a user