25 #include "FXComposite.h" 32 enum { DEFAULT_SPACING = 4 };
64 void drawBorderRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
65 void drawRaisedRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
66 void drawSunkenRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
67 void drawRidgeRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
68 void drawGrooveRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
69 void drawDoubleRaisedRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
70 void drawDoubleSunkenRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
71 void drawFocusRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
72 void drawFrame(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
77 long onPaint(
FXObject*,FXSelector,
void*);
78 long onFocusUp(
FXObject*,FXSelector,
void*);
79 long onFocusDown(
FXObject*,FXSelector,
void*);
80 long onFocusLeft(
FXObject*,FXSelector,
void*);
81 long onFocusRight(
FXObject*,FXSelector,
void*);
85 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);
88 virtual FXint getDefaultWidth();
91 virtual FXint getDefaultHeight();
94 virtual void layout();
97 void setFrameStyle(FXuint style);
100 FXuint getFrameStyle()
const;
103 void setPackingHints(FXuint ph);
106 FXuint getPackingHints()
const;
112 void setPadTop(FXint pt);
118 void setPadBottom(FXint pb);
124 void setPadLeft(FXint pl);
130 void setPadRight(FXint pr);
136 void setHiliteColor(FXColor clr);
142 void setShadowColor(FXColor clr);
148 void setBorderColor(FXColor clr);
154 void setBaseColor(FXColor clr);
160 void setHSpacing(FXint hs);
166 void setVSpacing(FXint vs);
172 virtual void save(
FXStream& store)
const;
FXint getPadTop() const
Get top interior padding.
Definition: FXPacker.h:115
FXint getPadLeft() const
Get left interior padding.
Definition: FXPacker.h:127
FXint getHSpacing() const
Return current horizontal inter-child spacing.
Definition: FXPacker.h:163
FXint getPadBottom() const
Get bottom interior padding.
Definition: FXPacker.h:121
FXColor getBorderColor() const
Get border color.
Definition: FXPacker.h:151
Base composite.
Definition: FXComposite.h:32
FXColor getHiliteColor() const
Get highlight color.
Definition: FXPacker.h:139
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
FXColor getShadowColor() const
Get shadow color.
Definition: FXPacker.h:145
Definition: FX4Splitter.h:28
FXint getPadRight() const
Get right interior padding.
Definition: FXPacker.h:133
Packer is a layout manager which automatically places child windows inside its area against the left...
Definition: FXPacker.h:48
FXint getBorderWidth() const
Get border width.
Definition: FXPacker.h:109
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
Window Device Context.
Definition: FXDCWindow.h:48
FXint getVSpacing() const
Return current vertical inter-child spacing.
Definition: FXPacker.h:169
FXColor getBaseColor() const
Get base gui color.
Definition: FXPacker.h:157