ViewLayer
ViewLayer* fScrollingView;
class ViewLayer;
ViewLayer::DetachedFromWindow()
for (ViewLayer* child = FirstChild(); child; child = NextChild())
ViewLayer::AddChild(ViewLayer* layer)
ViewLayer::RemoveChild(ViewLayer* layer)
ViewLayer::ViewLayer(BRect frame, const char* name,
ViewLayer*
ViewLayer::FirstChild() const
ViewLayer*
ViewLayer::PreviousChild() const
ViewLayer*
ViewLayer::NextChild() const
ViewLayer*
ViewLayer::LastChild() const
ViewLayer*
ViewLayer::TopLayer()
ViewLayer::CountChildren(bool deep) const
for (ViewLayer* child = FirstChild(); child; child = NextChild()) {
ViewLayer::CollectTokensForChildren(BList* tokenMap) const
for (ViewLayer* child = FirstChild(); child; child = NextChild()) {
ViewLayer*
ViewLayer::ViewAt(const BPoint& where, BRegion* windowContentClipping)
for (ViewLayer* child = FirstChild(); child; child = NextChild()) {
ViewLayer* layer = child->ViewAt(where, windowContentClipping);
ViewLayer::ConvertToParent(BPoint* point) const
ViewLayer::ConvertToParent(BRect* rect) const
ViewLayer::ConvertToParent(BRegion* region) const
ViewLayer::ConvertFromParent(BPoint* point) const
ViewLayer::ConvertFromParent(BRect* rect) const
ViewLayer::ConvertFromParent(BRegion* region) const
ViewLayer::ConvertToTop(BPoint* point) const
ViewLayer::ConvertToTop(BRect* rect) const
ViewLayer::ConvertToTop(BRegion* region) const
ViewLayer::ConvertFromTop(BPoint* point) const
ViewLayer::ConvertFromTop(BRect* rect) const
ViewLayer::ConvertFromTop(BRegion* region) const
ViewLayer::SetName(const char* string)
ViewLayer::MoveBy(int32 x, int32 y, BRegion* dirtyRegion)
ViewLayer::ResizeBy(int32 x, int32 y, BRegion* dirtyRegion)
for (ViewLayer* child = FirstChild(); child; child = NextChild()) {
for (ViewLayer* child = FirstChild(); child; child = NextChild())
ViewLayer::ParentResized(int32 x, int32 y, BRegion* dirtyRegion)
ViewLayer::~ViewLayer()
ViewLayer::ScrollBy(int32 x, int32 y, BRegion* dirtyRegion)
ViewLayer* layer = fFirstChild;
ViewLayer* toast = layer;
ViewLayer::Draw(DrawingEngine* drawingEngine, BRegion* effectiveClipping,
for (ViewLayer* child = FirstChild(); child; child = NextChild()) {
ViewLayer::ClientDraw(DrawingEngine* drawingEngine, BRegion* effectiveClipping)
ViewLayer::SetHidden(bool hidden)
ViewLayer::Bounds() const
ViewLayer::IsHidden() const
ViewLayer::UpdateVisibleDeep(bool parentVisible)
for (ViewLayer* child = FirstChild(); child; child = NextChild())
ViewLayer::PrintToStream() const
ViewLayer::RebuildClipping(bool deep)
for (ViewLayer* child = FirstChild(); child; child = NextChild()) {
ViewLayer::ScreenClipping(BRegion* windowContentClipping, bool force) const
ViewLayer::InvalidateScreenClipping(bool deep)
for (ViewLayer* child = FirstChild(); child; child = NextChild()) {
ViewLayer::ConvertToVisibleInTopView(BRect* bounds) const
ViewLayer::_MoveScreenClipping(int32 x, int32 y, bool deep)
for (ViewLayer* child = FirstChild(); child; child = NextChild()) {
ViewLayer::AttachedToWindow(WindowLayer* window)
for (ViewLayer* child = FirstChild(); child; child = NextChild())
class ViewLayer {
ViewLayer* fParent;
ViewLayer* fFirstChild;
ViewLayer* fPreviousSibling;
ViewLayer* fNextSibling;
ViewLayer* fLastChild;
mutable ViewLayer* fCurrentChild;
ViewLayer(BRect frame,
virtual ~ViewLayer();
void AddChild(ViewLayer* layer);
bool RemoveChild(ViewLayer* layer);
inline ViewLayer* Parent() const
ViewLayer* FirstChild() const;
ViewLayer* PreviousChild() const;
ViewLayer* NextChild() const;
ViewLayer* LastChild() const;
ViewLayer* TopLayer();
ViewLayer* ViewAt(const BPoint& where,
WindowLayer::ScrollViewBy(ViewLayer* view, int32 dx, int32 dy)
WindowLayer::AddChild(ViewLayer* layer)
ViewLayer*
ViewLayer* layer = (ViewLayer*)fTokenViewMap.ItemAt(token);
ViewLayer* layer = (ViewLayer*)fTokenViewMap.ItemAt(token);
ViewLayer* layer = (ViewLayer*)fTokenViewMap.ItemAt(token);
fTopLayer = new(nothrow) ViewLayer(fFrame, "top view", B_FOLLOW_ALL, 0,
ViewLayer* fTopLayer;
void ScrollViewBy(ViewLayer* view, int32 dx, int32 dy);
void AddChild(ViewLayer* layer);
ViewLayer* ViewAt(const BPoint& where);
ViewLayer* layer1 = new ViewLayer(frame, "View 1",
ViewLayer* layer;
layer = new ViewLayer(f, "View", B_FOLLOW_LEFT | B_FOLLOW_TOP,
layer = new ViewLayer(f, "View", B_FOLLOW_LEFT_RIGHT | B_FOLLOW_TOP,
layer = new ViewLayer(f, "View", B_FOLLOW_RIGHT | B_FOLLOW_TOP,
layer = new ViewLayer(f, "View", B_FOLLOW_LEFT | B_FOLLOW_TOP_BOTTOM,
layer = new ViewLayer(f, "View", B_FOLLOW_ALL,
layer = new ViewLayer(f, "View", B_FOLLOW_RIGHT | B_FOLLOW_TOP_BOTTOM,
layer = new ViewLayer(f, "View", B_FOLLOW_LEFT | B_FOLLOW_BOTTOM,
layer = new ViewLayer(f, "View", B_FOLLOW_LEFT | B_FOLLOW_BOTTOM,
layer = new ViewLayer(f, "View", B_FOLLOW_LEFT | B_FOLLOW_BOTTOM,