Laxkit
0.0.7.1
|
Extends SquishyBox to store anXWindow for use in RowFrame, for instance. More...
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 anXWindow * | win () |
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 | |
anXWindow * | window |
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 |
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.
|
virtual |
Dec count of window.
References Laxkit::anObject::dec_count().
|
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().