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
|
|
|
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)
Owner: |
changed from marcusoverhagen to adioanca@…
|
Status: |
assigned → closed
|
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