ControlLook: style changes only
whitespace indent fix (tiny)
This commit is contained in:
@@ -1822,14 +1822,16 @@ BControlLook::DrawLabel(BView* view, const char* label, const rgb_color& base,
|
|||||||
drawing_mode oldMode = view->DrawingMode();
|
drawing_mode oldMode = view->DrawingMode();
|
||||||
|
|
||||||
if (isDesktop) {
|
if (isDesktop) {
|
||||||
// Enforce proper use of desktop label colors.
|
// enforce proper use of desktop label colors
|
||||||
if(low.Brightness() < 100) {
|
if (low.Brightness() < 100) {
|
||||||
if (textColor == NULL)
|
if (textColor == NULL)
|
||||||
color = make_color(255, 255, 255);
|
color = make_color(255, 255, 255);
|
||||||
|
|
||||||
glowColor = make_color(0, 0, 0);
|
glowColor = make_color(0, 0, 0);
|
||||||
} else {
|
} else {
|
||||||
if (textColor == NULL)
|
if (textColor == NULL)
|
||||||
color = make_color(0, 0, 0);
|
color = make_color(0, 0, 0);
|
||||||
|
|
||||||
glowColor = make_color(255, 255, 255);
|
glowColor = make_color(255, 255, 255);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user