Laxkit  0.0.7.1
Public Member Functions | Protected Attributes
Laxkit::WinFrameBox Class Reference

Extends SquishyBox to store anXWindow for use in RowFrame, for instance. More...

Inheritance diagram for Laxkit::WinFrameBox:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 WinFrameBox (anXWindow *nwin, int nx, int nw, int npw, int nws, int nwg, int nhalign, int nhgap, int ny, int nh, int nph, int nhs, int nhg, int nvalign, int nvgap)
 This will inc count of nwin (if not NULL).
virtual ~WinFrameBox ()
virtual void NewWindow (anXWindow *nwin)
virtual anXWindowwin ()
virtual void sync ()
 Resize the window to have the current settings for x,y,w,h.
- Public Member Functions inherited from Laxkit::SquishyBox
 SquishyBox (unsigned int nflags, int nx, int nw, int npw, int nws, int nwg, int nhalign, int nhgap, int ny, int nh, int nph, int nhs, int nhg, int nvalign, int nvgap)
 SquishyBox Constructor.
virtual int hideBox (int yeshide)
 hideBox(0) makes the box visible, otherwise, make it hidden. Returns state after call.
virtual int hidden ()
 Return whether the box is hidden or not.
virtual int WrapToExtent ()
 Sets this->pw,s,g/ph,s,g to be the sum of the metrics of the boxes in list.
virtual void sync (int xx, int yy, int ww, int hh)
 Sync the box to x,y,w,h.
virtual int x ()
virtual int w ()
virtual int pw ()
virtual int ws ()
virtual int wg ()
virtual int halign ()
virtual int hgap ()
virtual int y ()
virtual int h ()
virtual int ph ()
virtual int hs ()
virtual int hg ()
virtual int valign ()
virtual int vgap ()
virtual int x (int val)
virtual int w (int val)
virtual int pw (int val)
virtual int ws (int val)
virtual int wg (int val)
virtual int halign (int val)
virtual int hgap (int val)
virtual int y (int val)
virtual int h (int val)
virtual int ph (int val)
virtual int hs (int val)
virtual int hg (int val)
virtual int valign (int val)
virtual int vgap (int val)
virtual int fpenalty ()
virtual int fpenalty (int val)
virtual int lpenalty ()
virtual int lpenalty (int val)

Protected Attributes

anXWindowwindow

Additional Inherited Members

- Public Attributes inherited from Laxkit::SquishyBox
int m [14]
int pad
 Pad placed around a box, which can be where a bevel or window border would go.
int padinset
 Pad to inset the child boxes.
int fpen
 The penalty in the flow direction.
int lpen
 The penalty perpendicular to the flow direction.
unsigned long flags

Detailed Description

Extends SquishyBox to store anXWindow for use in RowFrame, for instance.

It is always assumed that nwin is reference counted, thus its count is increased when adding, and decreased in the destructor.


Constructor & Destructor Documentation

Laxkit::WinFrameBox::~WinFrameBox ( )
virtual

Dec count of window.

References Laxkit::anObject::dec_count().


Member Function Documentation

void Laxkit::WinFrameBox::sync ( )
virtual

Resize the window to have the current settings for x,y,w,h.

The SquishyBox x,y,w,h should have been set already, this function just resizes the window to those values.

Reimplemented from Laxkit::SquishyBox.

References Laxkit::anXWindow::MoveResize().


The documentation for this class was generated from the following files:

Mon Feb 17 2014 11:53:00, Laxkit