Frame(Interactor*,intwidth=1)
Construct a frame. If the given interactor is not nil, it is inserted as the frame's component.
The frame extends width pixels outside of the interactor.
ShadowFrame(Interactor*,inth=1,intv=1)
Construct a shadow frame. The h and v ShadowFrame parameters specify the width of the horizontal
and vertical shadows, respectively. Positive values for these parameters specify shadows falling
to the right and below the interactor, respectively; negative values specify shadows falling to
the left and above.
MarginFrame(Interactor*=nil,intmargin=0)MarginFrame(Interactor*,intmargin,intshrink,intstretch)MarginFrame(Interactor*,inthmargin,intvmargin)MarginFrame(Interactor*,inthm,inthshr,inthstr,intvm,intvshr,intvstr)
Construct a margin frame. The first constructor puts rigid, fixed-sized glue around the
component, while the second surrounds it with fixed-sized glue of the given shrinkability and
stretchability. Independent horizontal and vertical margins are set with the third constructor.
The last constructor allows full specification of the margin frame's horizontal and vertical
margins, shrinkabilities, and stretchabilities.
virtualvoidShowFrame::HandleInput(Event&)
ShowFrame objects listen for EnterEvent and LeaveEvent. When an EnterEvent is received,
ShowFrame::Handle calls InsideFrame(true); when an LeaveEvent is received, it calls
InsideFrame(false). For any other event, it calls HandleInput. ShowFrame::InsideFrame does
nothing. ShowFrame::HandleInput calls Handle on the frame's component.
TitleFrame(Banner*,Interactor*,intwidth=1)
Construct a title frame with the given banner. TitleFrame::InsideFrame highlights and
unhighlights the banner.
BorderFrame(Interactor*,intwidth=1)
Construct a border frame. BorderFrame::InsideFrame highlights and unhighlights the border.