Derived from: public MGroup, public BView
Declared in: <MBorder.h>
MBorder is class that is used to draw various kinds of borders around other classes.
MBorder(ulong border_type,ulong spacing,char *name=NULL,MView *kid=NULL)
MBorder(BMessage*)
Initializes an MBorder of type border_type, whose child will be inset spacing pixels on all sides, whose label (if any) is name, and which will contain the single MView kid.
~MBorder()
Cleans up after the MBorder
static BArchivable *Instantiate(BMessage *archive)
Not yet implemented
virtual long Archive(BMessage *archive, bool deep=true) const
Not yet implemented
virtual void FrameResized(float width, float height)
Calls the MBorder's layout() function. FrameResized is only called when the MBorder is set to receive frame-events, which should only be done if you use it in a non-MWindow window.
char *Label()
Returns the MBorder's label.
void SetHighlight(int)
---====[[[[]]]]====----
void SetLabel(char *)
Sets the MBorder's label.
Copyright © 1997 Marco Nelissen (marcone@xs4all.nl) All rights reserved.
Be, BeOS, BeBox, BeWare, GeekPort, the Be logo, the BeOS logo, roColour, Beatware and Beatware painter are trademarks or registered trademarks of their respective owners.