Corretto colore sbagliato nei rettangoli 3d
git-svn-id: svn://10.65.10.50/trunk@3300 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
fea309e387
commit
85a0bdd3d8
@ -666,7 +666,7 @@ void xvt_draw_rect(WINDOW win, const RCT& rect, COLOR lt, COLOR rb, short depth)
|
||||
PNT p; // Current vertex of the rectangle
|
||||
|
||||
bool drawn = FALSE;
|
||||
if (lt != BTN_BACK_COLOR)
|
||||
if (lt != MASK_BACK_COLOR)
|
||||
{
|
||||
p.h = r.left; p.v = r.bottom;
|
||||
xvt_dwin_draw_set_pos(win, p);
|
||||
@ -678,7 +678,7 @@ void xvt_draw_rect(WINDOW win, const RCT& rect, COLOR lt, COLOR rb, short depth)
|
||||
drawn = TRUE;
|
||||
}
|
||||
|
||||
if (rb != BTN_BACK_COLOR)
|
||||
if (rb != MASK_BACK_COLOR)
|
||||
{
|
||||
if (pen.color != rb)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user