Use a better green for DRC badges.
This commit is contained in:
parent
4badcba4c2
commit
e939afdbe8
|
@ -21,7 +21,7 @@
|
||||||
#include <widgets/ui_common.h>
|
#include <widgets/ui_common.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include <gal/color4d.h>
|
||||||
|
|
||||||
int KIUI::GetStdMargin()
|
int KIUI::GetStdMargin()
|
||||||
{
|
{
|
||||||
|
@ -69,7 +69,7 @@ wxBitmap MakeBadge( SEVERITY aStyle, int aCount, wxWindow* aWindow, int aDepth )
|
||||||
{
|
{
|
||||||
if( aStyle == RPT_SEVERITY_ERROR || aStyle == RPT_SEVERITY_WARNING )
|
if( aStyle == RPT_SEVERITY_ERROR || aStyle == RPT_SEVERITY_WARNING )
|
||||||
{
|
{
|
||||||
badgeColour = *wxGREEN;
|
badgeColour = KIGFX::COLOR4D( GREEN ).ToColour();
|
||||||
textColour = *wxWHITE;
|
textColour = *wxWHITE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -90,7 +90,7 @@ wxBitmap MakeBadge( SEVERITY aStyle, int aCount, wxWindow* aWindow, int aDepth )
|
||||||
textColour = *wxBLACK;
|
textColour = *wxBLACK;
|
||||||
break;
|
break;
|
||||||
case RPT_SEVERITY_ACTION:
|
case RPT_SEVERITY_ACTION:
|
||||||
badgeColour = *wxGREEN;
|
badgeColour = KIGFX::COLOR4D( GREEN ).ToColour();
|
||||||
textColour = *wxWHITE;
|
textColour = *wxWHITE;
|
||||||
break;
|
break;
|
||||||
case RPT_SEVERITY_EXCLUSION:
|
case RPT_SEVERITY_EXCLUSION:
|
||||||
|
|
Loading…
Reference in New Issue