Icon-O-Matic: fix variables name
This commit is contained in:
parent
14f0e6d73d
commit
c80329fa61
@ -96,24 +96,24 @@ public:
|
||||
|
||||
// mark
|
||||
BRect markRect = itemFrame;
|
||||
float MarkRectFillTint = B_DARKEN_1_TINT;
|
||||
float MarkRectBorderTint = 1.04;
|
||||
float MarkRectBorderTint = B_DARKEN_1_TINT;
|
||||
float MarkRectFillTint = 1.04;
|
||||
float MarkTint = B_DARKEN_4_TINT;
|
||||
// Dark Themes
|
||||
rgb_color lowColor = owner->LowColor();
|
||||
if (lowColor.red + lowColor.green + lowColor.blue < 128 * 3) {
|
||||
MarkRectFillTint = B_LIGHTEN_2_TINT;
|
||||
MarkRectBorderTint = 0.85;
|
||||
MarkRectBorderTint = B_LIGHTEN_2_TINT;
|
||||
MarkRectFillTint = 0.85;
|
||||
MarkTint = 0.1;
|
||||
}
|
||||
markRect.left += kBorderOffset;
|
||||
markRect.right = markRect.left + kMarkWidth;
|
||||
markRect.top = (markRect.top + markRect.bottom - kMarkWidth) / 2.0;
|
||||
markRect.bottom = markRect.top + kMarkWidth;
|
||||
owner->SetHighColor(tint_color(owner->LowColor(), MarkRectFillTint));
|
||||
owner->SetHighColor(tint_color(owner->LowColor(), MarkRectBorderTint));
|
||||
owner->StrokeRect(markRect);
|
||||
markRect.InsetBy(1, 1);
|
||||
owner->SetHighColor(tint_color(owner->LowColor(), MarkRectBorderTint));
|
||||
owner->SetHighColor(tint_color(owner->LowColor(), MarkRectFillTint));
|
||||
owner->FillRect(markRect);
|
||||
if (fMarked) {
|
||||
markRect.InsetBy(2, 2);
|
||||
|
@ -99,24 +99,24 @@ public:
|
||||
|
||||
// mark
|
||||
BRect markRect = itemFrame;
|
||||
float MarkRectFillTint = B_DARKEN_1_TINT;
|
||||
float MarkRectBorderTint = 1.04;
|
||||
float MarkRectBorderTint = B_DARKEN_1_TINT;
|
||||
float MarkRectFillTint = 1.04;
|
||||
float MarkTint = B_DARKEN_4_TINT;
|
||||
// Dark Themes
|
||||
rgb_color lowColor = owner->LowColor();
|
||||
if (lowColor.red + lowColor.green + lowColor.blue < 128 * 3) {
|
||||
MarkRectFillTint = B_LIGHTEN_2_TINT;
|
||||
MarkRectBorderTint = 0.85;
|
||||
MarkRectBorderTint = B_LIGHTEN_2_TINT;
|
||||
MarkRectFillTint = 0.85;
|
||||
MarkTint = 0.1;
|
||||
}
|
||||
markRect.left += kBorderOffset;
|
||||
markRect.right = markRect.left + kMarkWidth;
|
||||
markRect.top = (markRect.top + markRect.bottom - kMarkWidth) / 2.0;
|
||||
markRect.bottom = markRect.top + kMarkWidth;
|
||||
owner->SetHighColor(tint_color(owner->LowColor(), MarkRectFillTint));
|
||||
owner->SetHighColor(tint_color(owner->LowColor(), MarkRectBorderTint));
|
||||
owner->StrokeRect(markRect);
|
||||
markRect.InsetBy(1, 1);
|
||||
owner->SetHighColor(tint_color(owner->LowColor(), MarkRectBorderTint));
|
||||
owner->SetHighColor(tint_color(owner->LowColor(), MarkRectFillTint));
|
||||
owner->FillRect(markRect);
|
||||
if (fMarked) {
|
||||
markRect.InsetBy(2, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user