Opened 20 years ago

Closed 20 years ago

Last modified 20 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:
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 by adioanca@…, 20 years ago

Status: newassigned

comment:2 by adioanca@…, 20 years ago

Owner: changed from marcusoverhagen to adioanca@…

comment:3 by adioanca@…, 20 years ago

Status: newassigned

comment:4 by adioanca@…, 20 years ago

Status: assignednew

comment:5 by adioanca@…, 20 years ago

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 by adioanca@…, 20 years ago

Resolution: fixed

comment:7 by adioanca@…, 20 years ago

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