34 POPUP_HORIZONTAL = 0x00020000,
35 POPUP_SHRINKWRAP = 0x00040000
65 virtual FXbool doesOverrideRedirect()
const;
66 void drawBorderRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
67 void drawRaisedRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
68 void drawSunkenRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
69 void drawRidgeRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
70 void drawGrooveRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
71 void drawDoubleRaisedRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
72 void drawDoubleSunkenRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
73 void drawFrame(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
78 virtual const void* GetClass()
const;
81 long onPaint(
FXObject*,FXSelector,
void*);
82 long onFocusUp(
FXObject*,FXSelector,
void*);
83 long onFocusDown(
FXObject*,FXSelector,
void*);
84 long onFocusLeft(
FXObject*,FXSelector,
void*);
85 long onFocusRight(
FXObject*,FXSelector,
void*);
86 long onFocusNext(
FXObject*,FXSelector,
void*);
87 long onFocusPrev(
FXObject*,FXSelector,
void*);
88 long onEnter(
FXObject*,FXSelector,
void*);
89 long onLeave(
FXObject*,FXSelector,
void*);
90 long onMotion(
FXObject*,FXSelector,
void*);
91 long onMap(
FXObject*,FXSelector,
void*);
92 long onLayout(
FXObject*,FXSelector,
void*);
93 long onButtonPress(
FXObject*,FXSelector,
void*);
94 long onButtonRelease(
FXObject*,FXSelector,
void*);
95 long onUngrabbed(
FXObject*,FXSelector,
void*);
96 long onCmdUnpost(
FXObject*,FXSelector,
void*);
97 long onKeyPress(
FXObject*,FXSelector,
void*);
98 long onKeyRelease(
FXObject*,FXSelector,
void*);
99 long onCmdChoice(
FXObject*,FXSelector,
void*);
102 ID_CHOICE=FXShell::ID_LAST,
103 ID_LAST=ID_CHOICE+1000
108 FXPopup(
FXWindow* owner,FXuint opts=POPUP_VERTICAL|FRAME_RAISED|FRAME_THICK,FXint x=0,FXint y=0,FXint w=0,FXint h=0);
111 virtual FXint getDefaultWidth();
114 virtual FXint getDefaultHeight();
117 virtual void layout();
126 virtual void setFocus();
129 virtual void killFocus();
138 void setFrameStyle(FXuint style);
141 FXuint getFrameStyle()
const;
147 void setHiliteColor(FXColor clr);
153 void setShadowColor(FXColor clr);
159 void setBorderColor(FXColor clr);
165 void setBaseColor(FXColor clr);
171 virtual void popup(
FXWindow* grabto,FXint x,FXint y,FXint w=0,FXint h=0);
174 virtual void popdown();
186 void setOrientation(FXuint orient);
189 FXuint getOrientation()
const;
192 void setShrinkWrap(FXbool flag);
195 FXbool getShrinkWrap()
const;
198 virtual FXbool doesSaveUnder()
const;
Window is the base class for all widgets in FOX.
Definition: FXWindow.h:130
Definition: FX4Splitter.h:28
The Shell widget is used as the base class for top level windows, i.e.
Definition: FXShell.h:35
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