25 #include "FXComposite.h" 40 MDI_MAXIMIZED = 0x00001000,
41 MDI_MINIMIZED = 0x00002000,
42 MDI_TRACKING = 0x00004000
93 FXColor titleBackColor;
113 void drawRubberBox(FXint x,FXint y,FXint w,FXint h);
114 void animateRectangles(FXint ox,FXint oy,FXint ow,FXint oh,FXint nx,FXint ny,FXint nw,FXint nh);
115 FXuchar where(FXint x,FXint y)
const;
116 void changeCursor(FXuchar which);
124 DRAG_TOPLEFT = (DRAG_TOP|DRAG_LEFT),
125 DRAG_TOPRIGHT = (DRAG_TOP|DRAG_RIGHT),
126 DRAG_BOTTOMLEFT = (DRAG_BOTTOM|DRAG_LEFT),
127 DRAG_BOTTOMRIGHT = (DRAG_BOTTOM|DRAG_RIGHT),
135 long onPaint(
FXObject*,FXSelector,
void*);
136 long onEnter(
FXObject*,FXSelector,
void*);
137 long onLeave(
FXObject*,FXSelector,
void*);
138 long onFocusSelf(
FXObject*,FXSelector,
void*);
139 long onFocusIn(
FXObject*,FXSelector,
void*);
140 long onFocusOut(
FXObject*,FXSelector,
void*);
141 long onRightBtnPress(
FXObject*,FXSelector,
void*);
142 long onRightBtnRelease(
FXObject*,FXSelector,
void*);
143 long onLeftBtnPress(
FXObject*,FXSelector,
void*);
144 long onLeftBtnRelease(
FXObject*,FXSelector,
void*);
145 long onMiddleBtnPress(
FXObject*,FXSelector,
void*);
146 long onMiddleBtnRelease(
FXObject*,FXSelector,
void*);
147 long onMotion(
FXObject*,FXSelector,
void*);
148 long onSelected(
FXObject*,FXSelector,
void*);
149 long onDeselected(
FXObject*,FXSelector,
void*);
150 long onCmdClose(
FXObject*,FXSelector,
void*);
151 long onUpdClose(
FXObject*,FXSelector,
void*);
152 long onCmdRestore(
FXObject*,FXSelector,
void*);
153 long onUpdRestore(
FXObject*,FXSelector,
void*);
154 long onUpdMaximize(
FXObject*,FXSelector,
void*);
155 long onUpdMinimize(
FXObject*,FXSelector,
void*);
156 long onCmdMaximize(
FXObject*,FXSelector,
void*);
157 long onCmdMinimize(
FXObject*,FXSelector,
void*);
158 long onUpdWindow(
FXObject*,FXSelector,
void*);
159 long onUpdMenuRestore(
FXObject*,FXSelector,
void*);
160 long onUpdMenuMinimize(
FXObject*,FXSelector,
void*);
161 long onUpdMenuClose(
FXObject*,FXSelector,
void*);
162 long onUpdMenuWindow(
FXObject*,FXSelector,
void*);
163 long onCmdSetStringValue(
FXObject*,FXSelector,
void*);
164 long onCmdGetStringValue(
FXObject*,FXSelector,
void*);
165 long onCmdSetIconValue(
FXObject*,FXSelector,
void*);
166 long onCmdGetIconValue(
FXObject*,FXSelector,
void*);
167 virtual long onDefault(
FXObject*,FXSelector,
void*);
174 virtual void create();
177 virtual void detach();
180 virtual void layout();
183 virtual FXint getDefaultWidth();
186 virtual FXint getDefaultHeight();
189 virtual void setFocus();
192 virtual FXbool canFocus()
const;
195 virtual void move(FXint x,FXint y);
198 virtual void resize(FXint w,FXint h);
201 virtual void position(FXint x,FXint y,FXint w,FXint h);
205 void setNormalY(FXint y){ normalPosY=y; }
206 void setNormalWidth(FXint w){ normalWidth=w; }
207 void setNormalHeight(FXint h){ normalHeight=h; }
211 FXint getNormalY()
const {
return normalPosY; }
212 FXint getNormalWidth()
const {
return normalWidth; }
213 FXint getNormalHeight()
const {
return normalHeight; }
217 void setIconY(FXint y){ iconPosY=y; }
218 void setIconWidth(FXint w){ iconWidth=w; }
219 void setIconHeight(FXint h){ iconHeight=h; }
223 FXint getIconY()
const {
return iconPosY; }
224 FXint getIconWidth()
const {
return iconWidth; }
225 FXint getIconHeight()
const {
return iconHeight; }
228 FXWindow *contentWindow()
const;
231 void setTitle(
const FXString& name);
238 FXColor getShadowColor()
const {
return shadowColor; }
239 FXColor getBaseColor()
const {
return baseColor; }
240 FXColor getBorderColor()
const {
return borderColor; }
241 FXColor getTitleColor ()
const {
return titleColor; }
242 FXColor getTitleBackColor()
const {
return titleBackColor; }
245 void setHiliteColor(FXColor clr);
246 void setShadowColor(FXColor clr);
247 void setBaseColor(FXColor clr);
248 void setBorderColor(FXColor clr);
249 void setTitleColor(FXColor clr);
250 void setTitleBackColor(FXColor clr);
253 virtual FXbool restore(FXbool notify=
false);
256 virtual FXbool maximize(FXbool notify=
false);
259 virtual FXbool minimize(FXbool notify=
false);
262 virtual FXbool close(FXbool notify=
false);
265 FXbool isMaximized()
const;
268 FXbool isMinimized()
const;
271 FXIcon *getIcon()
const;
274 void setIcon(FXIcon* icon);
277 FXPopup* getMenu()
const;
280 void setMenu(FXPopup* menu);
283 void setTracking(FXbool tracking=
true);
286 FXbool getTracking()
const;
289 void setFont(FXFont *fnt);
295 virtual void save(
FXStream& store)
const;
The MDI child window contains the application work area in a Multiple Document Interface application...
Definition: FXMDIChild.h:78
FXFont * getFont() const
Get title font.
Definition: FXMDIChild.h:292
FXString getTitle() const
Get current title.
Definition: FXMDIChild.h:234
FXint getNormalX() const
Return normal (restored) position.
Definition: FXMDIChild.h:210
Base composite.
Definition: FXComposite.h:32
void setIconX(FXint x)
Change iconified position.
Definition: FXMDIChild.h:216
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
void setNormalX(FXint x)
Change normal (restored) position.
Definition: FXMDIChild.h:204
Definition: FX4Splitter.h:28
An Icon is an image with two additional server-side resources: a shape bitmap, which is used to mask ...
Definition: FXIcon.h:42
FXint getIconX() const
Return iconified position.
Definition: FXMDIChild.h:222
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
The MDI client window manages a number of MDI child windows in a multiple-document interface (MDI) ap...
Definition: FXMDIClient.h:53
Font class.
Definition: FXFont.h:137
FXColor getHiliteColor() const
Get colors.
Definition: FXMDIChild.h:237
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42