![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXPacker.h>
Inheritance diagram for FX::FXPacker:

Public Member Functions | |
| FXPacker (FXComposite *p, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_SPACING, FXint pr=DEFAULT_SPACING, FXint pt=DEFAULT_SPACING, FXint pb=DEFAULT_SPACING, FXint hs=DEFAULT_SPACING, FXint vs=DEFAULT_SPACING) | |
| virtual FXint | getDefaultWidth () |
| virtual FXint | getDefaultHeight () |
| virtual void | layout () |
| void | setFrameStyle (FXuint style) |
| FXuint | getFrameStyle () const |
| void | setPackingHints (FXuint ph) |
| FXuint | getPackingHints () const |
| FXint | getBorderWidth () const |
| void | setPadTop (FXint pt) |
| FXint | getPadTop () const |
| void | setPadBottom (FXint pb) |
| FXint | getPadBottom () const |
| void | setPadLeft (FXint pl) |
| FXint | getPadLeft () const |
| void | setPadRight (FXint pr) |
| FXint | getPadRight () const |
| void | setHiliteColor (FXColor clr) |
| FXColor | getHiliteColor () const |
| void | setShadowColor (FXColor clr) |
| FXColor | getShadowColor () const |
| void | setBorderColor (FXColor clr) |
| FXColor | getBorderColor () const |
| void | setBaseColor (FXColor clr) |
| FXColor | getBaseColor () const |
| void | setHSpacing (FXint hs) |
| FXint | getHSpacing () const |
| void | setVSpacing (FXint vs) |
| FXint | getVSpacing () const |
| virtual void | save (FXStream &store) const |
| virtual void | load (FXStream &store) |
Each time a child is placed, the remaining space is decreased by the amount of space taken by the child window. The side against which a child is placed is determined by the LAYOUT_SIDE_TOP, LAYOUT_SIDE_BOTTOM, LAYOUT_SIDE_LEFT, and LAYOUT_SIDE_RIGHT hints given by the child window. Other layout hints from the child are observed as far as sensible. So for example, a child placed against the right edge can still have LAYOUT_FILL_Y or LAYOUT_TOP, and so on. The last child may have both LAYOUT_FILL_X and LAYOUT_FILL_Y, in which case it will be placed to take all remaining space.
See also:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Construct packer layout manager.
|
|
|
Return default width.
Reimplemented from FX::FXComposite. Reimplemented in FX::FXComboBox, FX::FXGroupBox, FX::FXHorizontalFrame, FX::FXListBox, FX::FXMatrix, FX::FXRealSpinner, FX::FXSpinner, FX::FXSpring, FX::FXStatusBar, FX::FXSwitcher, FX::FXTabBar, FX::FXTabBook, FX::FXToolBar, FX::FXTreeListBox, and FX::FXVerticalFrame. |
|
|
Return default height.
Reimplemented from FX::FXComposite. Reimplemented in FX::FXComboBox, FX::FXGroupBox, FX::FXHorizontalFrame, FX::FXListBox, FX::FXMatrix, FX::FXRealSpinner, FX::FXSpinner, FX::FXSpring, FX::FXStatusBar, FX::FXSwitcher, FX::FXTabBar, FX::FXTabBook, FX::FXToolBar, FX::FXTreeListBox, and FX::FXVerticalFrame. |
|
|
Perform layout.
Reimplemented from FX::FXComposite. Reimplemented in FX::FXComboBox, FX::FXGroupBox, FX::FXHorizontalFrame, FX::FXListBox, FX::FXMatrix, FX::FXRealSpinner, FX::FXShutter, FX::FXSpinner, FX::FXStatusBar, FX::FXSwitcher, FX::FXTabBar, FX::FXTabBook, FX::FXToolBar, FX::FXTreeListBox, and FX::FXVerticalFrame. |
|
|
Change frame style.
|
|
|
Get current frame style.
|
|
|
Change packing hints.
|
|
|
Return packing hints.
|
|
|
Get border width.
|
|
|
Change top padding.
|
|
|
Get top interior padding.
|
|
|
Change bottom padding.
|
|
|
Get bottom interior padding.
|
|
|
Change left padding.
|
|
|
Get left interior padding.
|
|
|
Change right padding.
|
|
|
Get right interior padding.
|
|
|
Change highlight color.
|
|
|
Get highlight color.
|
|
|
Change shadow color.
|
|
|
Get shadow color.
|
|
|
Change border color.
|
|
|
Get border color.
|
|
|
Change base gui color.
|
|
|
Get base gui color.
|
|
|
Change horizontal inter-child spacing.
|
|
|
Return current horizontal inter-child spacing.
|
|
|
Change vertical inter-child spacing.
|
|
|
Return current vertical inter-child spacing.
|
|
|
Save to stream.
Reimplemented from FX::FXWindow. Reimplemented in FX::FXColorSelector, FX::FXComboBox, FX::FXDirBox, FX::FXDirSelector, FX::FXDriveBox, FX::FXFileSelector, FX::FXFontSelector, FX::FXGroupBox, FX::FXListBox, FX::FXRealSpinner, FX::FXSpinner, FX::FXSpring, FX::FXStatusBar, FX::FXSwitcher, FX::FXTabBar, FX::FXToolBar, and FX::FXTreeListBox. |
|
|
Load from stream.
Reimplemented from FX::FXWindow. Reimplemented in FX::FXColorSelector, FX::FXComboBox, FX::FXDirBox, FX::FXDirSelector, FX::FXDriveBox, FX::FXFileSelector, FX::FXFontSelector, FX::FXGroupBox, FX::FXListBox, FX::FXRealSpinner, FX::FXSpinner, FX::FXSpring, FX::FXStatusBar, FX::FXSwitcher, FX::FXTabBar, FX::FXToolBar, and FX::FXTreeListBox. |
|
|