Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FX4Splitter.h>
Inheritance diagram for FX::FX4Splitter:
Public Member Functions | |
FX4Splitter (FXComposite *p, FXuint opts=FOURSPLITTER_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
FX4Splitter (FXComposite *p, FXObject *tgt, FXSelector sel, FXuint opts=FOURSPLITTER_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
FXWindow * | getTopLeft () const |
FXWindow * | getTopRight () const |
FXWindow * | getBottomLeft () const |
FXWindow * | getBottomRight () const |
FXint | getHSplit () const |
FXint | getVSplit () const |
void | setHSplit (FXint s) |
void | setVSplit (FXint s) |
virtual void | layout () |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
FXuint | getSplitterStyle () const |
void | setSplitterStyle (FXuint style) |
void | setBarSize (FXint bs) |
FXint | getBarSize () const |
void | setExpanded (FXint ex) |
FXint | getExpanded () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
You can use a four-way splitter for example in a CAD program where you may want to maintain three orthographic views, and one oblique view of a model. The four-way splitter allows interactive repartitioning of the panes by means of moving the central splitter bars. When the four-way splitter is itself resized, each child is proportionally resized, maintaining the same split-percentage. The four-way splitter widget sends a SEL_CHANGED to its target during the resizing of the panes; at the end of the resize interaction, it sends a SEL_COMMAND to signify that the resize operation is complete.
See also:
|
Create 4-way splitter, initially shown as four unexpanded panes.
|
|
Create 4-way splitter, initially shown as four unexpanded panes; notifies target about size changes.
|
|
Get top left child, if any.
|
|
Get top right child, if any.
|
|
Get bottom left child, if any.
|
|
Get bottom right child, if any.
|
|
Get horizontal split fraction.
|
|
Get vertical split fraction.
|
|
Change horizontal split fraction.
|
|
Change vertical split fraction.
|
|
Perform layout.
Reimplemented from FX::FXComposite. |
|
Get default width.
Reimplemented from FX::FXComposite. |
|
Get default height.
Reimplemented from FX::FXComposite. |
|
Return current splitter style.
|
|
Change splitter style.
|
|
Change splitter bar width.
|
|
Get splitter bar width.
|
|
Expand child (ex=0..3), or restore to 4-way split (ex=-1).
|
|
Get expanded child, or -1 if not expanded.
|
|
Save to stream.
Reimplemented from FX::FXWindow. |
|
Load from stream.
Reimplemented from FX::FXWindow. |
Copyright © 1997-2004 Jeroen van der Zijp |