25 #include "FXComposite.h" 32 FOURSPLITTER_TRACKING = 0x00008000,
33 FOURSPLITTER_VERTICAL = 0x00010000,
34 FOURSPLITTER_HORIZONTAL = 0,
35 FOURSPLITTER_NORMAL = 0
77 FXuchar getMode(FXint x,FXint y);
78 void moveSplit(FXint x,FXint y);
79 void drawSplit(FXint x,FXint y,FXuint m);
85 long onLeftBtnPress(
FXObject*,FXSelector,
void*);
86 long onLeftBtnRelease(
FXObject*,FXSelector,
void*);
87 long onMotion(
FXObject*,FXSelector,
void*);
88 long onFocusUp(
FXObject*,FXSelector,
void*);
89 long onFocusDown(
FXObject*,FXSelector,
void*);
90 long onFocusLeft(
FXObject*,FXSelector,
void*);
91 long onFocusRight(
FXObject*,FXSelector,
void*);
92 long onCmdExpand(
FXObject*,FXSelector,
void*);
93 long onUpdExpand(
FXObject*,FXSelector,
void*);
100 ExpandBottomRight = 8,
101 ExpandTop = ExpandTopLeft|ExpandTopRight,
102 ExpandBottom = ExpandBottomLeft|ExpandBottomRight,
103 ExpandLeft = ExpandTopLeft|ExpandBottomLeft,
104 ExpandRight = ExpandTopRight|ExpandBottomRight,
105 ExpandCriss = ExpandTopRight|ExpandBottomLeft,
106 ExpandCross = ExpandTopLeft|ExpandBottomRight,
107 ExpandAll = ExpandLeft|ExpandRight
111 ID_EXPAND_NONE=FXComposite::ID_LAST+ExpandNone,
112 ID_EXPAND_TOP=ID_EXPAND_NONE+ExpandTop,
113 ID_EXPAND_BOTTOM=ID_EXPAND_NONE+ExpandBottom,
114 ID_EXPAND_LEFT=ID_EXPAND_NONE+ExpandLeft,
115 ID_EXPAND_RIGHT=ID_EXPAND_NONE+ExpandRight,
116 ID_EXPAND_TOPLEFT=ID_EXPAND_NONE+ExpandTopLeft,
117 ID_EXPAND_TOPRIGHT=ID_EXPAND_NONE+ExpandTopRight,
118 ID_EXPAND_BOTTOMLEFT=ID_EXPAND_NONE+ExpandBottomLeft,
119 ID_EXPAND_BOTTOMRIGHT=ID_EXPAND_NONE+ExpandBottomRight,
120 ID_EXPAND_ALL=ID_EXPAND_NONE+ExpandAll,
126 FX4Splitter(FXComposite* p,FXuint opts=FOURSPLITTER_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0);
129 FX4Splitter(FXComposite* p,FXObject* tgt,FXSelector sel,FXuint opts=FOURSPLITTER_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0);
132 FXWindow *getTopLeft()
const;
135 FXWindow *getTopRight()
const;
138 FXWindow *getBottomLeft()
const;
141 FXWindow *getBottomRight()
const;
150 void setHSplit(FXint s);
153 void setVSplit(FXint s);
156 virtual void layout();
159 virtual FXint getDefaultWidth();
162 virtual FXint getDefaultHeight();
165 FXuint getSplitterStyle()
const;
168 void setSplitterStyle(FXuint style);
171 void setBarSize(FXint bs);
180 FXuint getExpanded()
const;
183 virtual void save(
FXStream& store)
const;
FXint getVSplit() const
Get vertical split fraction.
Definition: FX4Splitter.h:147
Base composite.
Definition: FXComposite.h:32
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
FXint getBarSize() const
Get splitter bar width.
Definition: FX4Splitter.h:174
FXint getHSplit() const
Get horizontal split fraction.
Definition: FX4Splitter.h:144
Expand diagonally opposing children.
Definition: FX4Splitter.h:107
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
The four-way splitter is a layout manager which manages four children like four panes in a window...
Definition: FX4Splitter.h:64