34 DECOR_TITLE = 0x00020000,
35 DECOR_MINIMIZE = 0x00040000,
36 DECOR_MAXIMIZE = 0x00080000,
37 DECOR_CLOSE = 0x00100000,
38 DECOR_BORDER = 0x00200000,
39 DECOR_SHRINKABLE = 0x00400000,
40 DECOR_STRETCHABLE = 0x00800000,
41 DECOR_RESIZE = DECOR_SHRINKABLE|DECOR_STRETCHABLE,
42 DECOR_MENU = 0x01000000,
43 DECOR_ALL = (DECOR_TITLE|DECOR_MINIMIZE|DECOR_MAXIMIZE|DECOR_CLOSE|DECOR_BORDER|DECOR_SHRINKABLE|DECOR_STRETCHABLE|DECOR_MENU)
113 void setdecorations();
114 FXTopWindow(
FXApp* ap,
const FXString& name,
FXIcon *ic,
FXIcon *mi,FXuint opts,FXint x,FXint y,FXint w,FXint h,FXint pl,FXint pr,FXint pt,FXint pb,FXint hs,FXint vs);
115 FXTopWindow(
FXWindow* ow,
const FXString& name,
FXIcon *ic,
FXIcon *mi,FXuint opts,FXint x,FXint y,FXint w,FXint h,FXint pl,FXint pr,FXint pt,FXint pb,FXint hs,FXint vs);
120 virtual const void* GetClass()
const;
123 long onFocusUp(
FXObject*,FXSelector,
void*);
124 long onFocusDown(
FXObject*,FXSelector,
void*);
125 long onFocusLeft(
FXObject*,FXSelector,
void*);
126 long onFocusRight(
FXObject*,FXSelector,
void*);
127 long onSessionNotify(
FXObject*,FXSelector,
void*);
128 long onSessionClosed(
FXObject*,FXSelector,
void*);
129 long onRestore(
FXObject*,FXSelector,
void*);
130 long onMaximize(
FXObject*,FXSelector,
void*);
131 long onMinimize(
FXObject*,FXSelector,
void*);
132 long onCmdRestore(
FXObject*,FXSelector,
void*);
133 long onCmdMaximize(
FXObject*,FXSelector,
void*);
134 long onCmdMinimize(
FXObject*,FXSelector,
void*);
135 long onCmdFullScreen(
FXObject*,FXSelector,
void*);
136 long onCmdClose(
FXObject*,FXSelector,
void*);
137 long onCmdSetStringValue(
FXObject*,FXSelector,
void*);
138 long onCmdGetStringValue(
FXObject*,FXSelector,
void*);
139 long onCmdSetIconValue(
FXObject*,FXSelector,
void*);
140 long onCmdGetIconValue(
FXObject*,FXSelector,
void*);
143 ID_RESTORE=FXShell::ID_LAST,
154 virtual void create();
157 virtual void detach();
160 virtual void destroy();
163 virtual void layout();
166 virtual void setFocus();
169 virtual void killFocus();
178 virtual void show(FXuint placement);
181 void place(FXuint placement);
184 virtual FXint getDefaultWidth();
187 virtual FXint getDefaultHeight();
190 FXbool getWMBorders(FXint& left,FXint& right,FXint& top,FXint& bottom);
193 virtual void raise();
196 virtual void lower();
199 virtual void move(FXint x,FXint y);
202 virtual void resize(FXint w,FXint h);
205 virtual void position(FXint x,FXint y,FXint w,FXint h);
208 virtual void flash(FXbool yes);
211 virtual FXbool restore(FXbool notify=
false);
214 virtual FXbool maximize(FXbool notify=
false);
217 virtual FXbool minimize(FXbool notify=
false);
220 virtual FXbool fullScreen(FXbool notify=
false);
223 virtual FXbool stackingOrder(FXuint order);
232 virtual FXbool close(FXbool notify=
false);
235 FXbool isMaximized()
const;
238 FXbool isMinimized()
const;
241 FXbool isFullScreen()
const;
244 void setTitle(
const FXString& name);
250 void setPadTop(FXint pt);
256 void setPadBottom(FXint pb);
262 void setPadLeft(FXint pl);
268 void setPadRight(FXint pr);
280 void setHSpacing(FXint hs);
283 void setVSpacing(FXint vs);
286 void setPackingHints(FXuint ph);
289 FXuint getPackingHints()
const;
292 void setDecorations(FXuint decorations);
295 FXuint getDecorations()
const;
307 void setMiniIcon(
FXIcon *ic);
310 virtual void save(
FXStream& store)
const;
FXIcon * getIcon() const
Return window icon.
Definition: FXTopWindow.h:298
Window is the base class for all widgets in FOX.
Definition: FXWindow.h:130
FXIcon * getMiniIcon() const
Return window mini (title) icon.
Definition: FXTopWindow.h:304
Maximize the window.
Definition: FXTopWindow.h:145
The Application object is the central point of a FOX user-interface.
Definition: FXApp.h:134
FXString getTitle() const
Return window title.
Definition: FXTopWindow.h:247
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Restore the window.
Definition: FXTopWindow.h:144
Minimize the window.
Definition: FXTopWindow.h:146
Make the window full screen.
Definition: FXTopWindow.h:147
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 getPadLeft() const
Get left interior padding.
Definition: FXTopWindow.h:265
The Shell widget is used as the base class for top level windows, i.e.
Definition: FXShell.h:35
Abstract base class for all top-level windows.
Definition: FXTopWindow.h:97
FXint getPadRight() const
Get right interior padding.
Definition: FXTopWindow.h:271
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
FXint getHSpacing() const
Return horizontal spacing between children.
Definition: FXTopWindow.h:274
FXint getVSpacing() const
Return vertical spacing between children.
Definition: FXTopWindow.h:277
Close the window.
Definition: FXTopWindow.h:148
FXint getPadTop() const
Get top interior padding.
Definition: FXTopWindow.h:253
FXint getPadBottom() const
Get bottom interior padding.
Definition: FXTopWindow.h:259
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42