Derived from: public MGroup, public BControl
Declared in: <LayeredGroup.h>
A LayeredGroup is a group that groups its children in layers on top of each other, with only one layer visible at any given time. Unlike a TabGroup, a LayeredGroup does not present the user with a way to switch to another layer, it is up to the programmer to provide the means for this.
LayeredGroup(minimax mpm,MView *arg=0 ...) LayeredGroup(MView *arg=0 ...) LayeredGroup(BMessage*)Creates the LayeredGroup, and adds the named MViews as layers. The list of MViews must be NULL terminated. The BMessage version of the constructor is not yet operational.
virtual ~LayeredGroup()Cleans up after the LayeredGroup.
static BArchivable *Instantiate(BMessage *archive)Not yet implemented.
void ActivateLayer(int index)Deactivates (hides) the currently active (visible) layer, and activates (makes visible) the layer at index (indices start at 0).
virtual long Archive(BMessage *archive, bool deep=true) constNot yet implemented.
virtual void AttachedToWindow()Calls the inherited version of this function.
virtual void DetachedFromWindow()Calls the inherited version of this function.
virtual void MessageReceived(BMessage *mes)If the message is M_ACTIVATE_LAYER, searches for an int32 member named index, and activates the specified layer.
virtual BRect layout(BRect rect)Resizes the LayeredGroup to the given size.
virtual minimax layoutprefs()Determines minimum and maximum size of the LayeredGroup.