35 JUSTIFY_LEFT = 0x00008000,
36 JUSTIFY_RIGHT = 0x00010000,
37 JUSTIFY_HZ_APART = JUSTIFY_LEFT|JUSTIFY_RIGHT,
39 JUSTIFY_TOP = 0x00020000,
40 JUSTIFY_BOTTOM = 0x00040000,
41 JUSTIFY_VT_APART = JUSTIFY_TOP|JUSTIFY_BOTTOM
46 enum { DEFAULT_PAD = 2 };
72 void drawBorderRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
73 void drawRaisedRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
74 void drawSunkenRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
75 void drawRidgeRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
76 void drawGrooveRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
77 void drawDoubleRaisedRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
78 void drawDoubleSunkenRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
79 void drawFrame(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
84 long onPaint(
FXObject*,FXSelector,
void*);
88 FXFrame(
FXComposite* p,FXuint opts=FRAME_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint pl=DEFAULT_PAD,FXint pr=DEFAULT_PAD,FXint pt=DEFAULT_PAD,FXint pb=DEFAULT_PAD);
91 virtual FXint getDefaultWidth();
94 virtual FXint getDefaultHeight();
97 void setFrameStyle(FXuint style);
100 FXuint getFrameStyle()
const;
106 void setPadTop(FXint pt);
112 void setPadBottom(FXint pb);
118 void setPadLeft(FXint pl);
124 void setPadRight(FXint pr);
130 void setHiliteColor(FXColor clr);
136 void setShadowColor(FXColor clr);
142 void setBorderColor(FXColor clr);
148 void setBaseColor(FXColor clr);
154 virtual void save(
FXStream& store)
const;
FXint getPadBottom() const
Get bottom interior padding.
Definition: FXFrame.h:115
FXint getPadTop() const
Get top interior padding.
Definition: FXFrame.h:109
Window is the base class for all widgets in FOX.
Definition: FXWindow.h:130
The Frame widget provides borders around some contents.
Definition: FXFrame.h:58
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
FXColor getHiliteColor() const
Get highlight color.
Definition: FXFrame.h:133
FXint getBorderWidth() const
Get border width.
Definition: FXFrame.h:103
FXint getPadRight() const
Get right interior padding.
Definition: FXFrame.h:127
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
FXColor getShadowColor() const
Get shadow color.
Definition: FXFrame.h:139
Window Device Context.
Definition: FXDCWindow.h:48
FXint getPadLeft() const
Get left interior padding.
Definition: FXFrame.h:121
FXColor getBaseColor() const
Get base gui color.
Definition: FXFrame.h:151
FXColor getBorderColor() const
Get border color.
Definition: FXFrame.h:145