Compare commits
No commits in common. "bf9474f4f4c8b66f0580e8ffab932c8d3eee56a0" and "f1c4a12cf3d99d49e78a78d86026805b6db61838" have entirely different histories.
bf9474f4f4
...
f1c4a12cf3
1 changed files with 1 additions and 1 deletions
|
|
@ -493,7 +493,7 @@ static void frame_border_complex(MwWidget handle, MwRect* rect, MwLLColor lighte
|
||||||
static void MwDrawFrameEx_complex(MwWidget handle, MwRect* rect, MwLLColor color, int invert, int border, int diff, int same, int rounded) {
|
static void MwDrawFrameEx_complex(MwWidget handle, MwRect* rect, MwLLColor color, int invert, int border, int diff, int same, int rounded) {
|
||||||
int ColorDiff = get_color_diff(handle);
|
int ColorDiff = get_color_diff(handle);
|
||||||
MwLLColor darker = MwLightenColor(handle, color, -ColorDiff * 3 / 2 + diff, -ColorDiff * 3 / 2 + diff, -ColorDiff * 3 / 2 + diff);
|
MwLLColor darker = MwLightenColor(handle, color, -ColorDiff * 3 / 2 + diff, -ColorDiff * 3 / 2 + diff, -ColorDiff * 3 / 2 + diff);
|
||||||
MwLLColor lighter = same ? MwLightenColor(handle, darker, 0, 0, 0) : MwLightenColor(handle, color, (ColorDiff / 2) - diff, (ColorDiff / 2) - diff, (ColorDiff / 2) - diff);
|
MwLLColor lighter = same ? MwLightenColor(handle, darker, 0, 0, 0) : MwLightenColor(handle, color, ColorDiff - diff, ColorDiff - diff, ColorDiff - diff);
|
||||||
MwRect r = *rect;
|
MwRect r = *rect;
|
||||||
|
|
||||||
frame_border_complex(handle, rect, lighter, darker, invert, border, diff, same, rounded);
|
frame_border_complex(handle, rect, lighter, darker, invert, border, diff, same, rounded);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue