Table Of Contents | Master Index

# ArpLayoutView

Derived from: BView, ArpBaseLayout

Inherited by:

Declared in: ArpHeader/ArpLayout/ArpLayoutView.h

Package: ArpLayout

###### Summary

ArpLayoutView is-a mix-in of a BView and an ArpBaseLayout.

Essentially, it is the moral equivalent of BView, but for classes that want to implement controls that automatically work with the ArpLayout architecture. When implementing a subclass, you should implement all of the normal BView stuff (possibly except GetPreferredSize()), as well as the ArpLayoutable methods you need to override.

In particular, you should always override ComputeDimens() to return the appropriate dimensions of your object. Layout managers also must override Layout() to correctly place their children.

## Constructor

### ArpLayoutView()

> ArpLayoutView(const char* name, uint32 flags=B_WILL_DRAW)
> ArpLayoutView(BRect frame, const char* name, uint32 resizeMask, uint32 flags=B_WILL_DRAW)

Create a new instance of the class, with the given name and view flags. The second form, with frame and resizeMask arguments, should rarely be used -- the initial frame and resizing behavior are entirely handled by the ArpLayout classes.