Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#28 closed bug (fixed)

ViewColor() shouldn't be part of the graphics state

Reported by: jackburton Owned by: adioanca@…
Priority: high Milestone: R1
Component: - General Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Currently, the view color is part of the layer's graphics state (it's a member of LayerData), but it shouldn't be (it's not in beos), unlike the high color and the low color.

This causes views's backgrounds not to be painted of the right color, and probably other problems too.

Change History (7)

comment:1 Changed 14 years ago by adioanca@…

Status: newassigned

comment:2 Changed 14 years ago by adioanca@…

Owner: changed from marcusoverhagen to adioanca@…

comment:3 Changed 14 years ago by adioanca@…

Status: newassigned

comment:4 Changed 14 years ago by adioanca@…

Status: assignednew

comment:5 Changed 14 years ago by adioanca@…

The problem was that for views added with BWindow::AddChild(), BView::Parent() returned a pointer to top_view. A BBox, when attached, it takes the view color of it's parent which in this case of top_view is white.

modified files: kits/interface/View.cpp rev.13120

comment:6 Changed 14 years ago by adioanca@…

Resolution: fixed

comment:7 Changed 14 years ago by adioanca@…

Status: assignedclosed
Note: See TracTickets for help on using tickets.