|
Public Types |
enum | {
ID_QUIT = 1,
ID_DUMP,
ID_HOVER,
ID_LAST
} |
Public Member Functions |
| FXApp (const FXString &name="Application", const FXString &vendor="FoxDefault") |
const FXString & | getAppName () const |
const FXString & | getVendorName () const |
bool | openDisplay (const FXchar *dpyname=NULL) |
bool | closeDisplay () |
void * | getDisplay () const |
bool | isInitialized () const |
FXint | getArgc () const |
const FXchar *const * | getArgv () const |
bool | hasInputMethod () const |
FXVisual * | getDefaultVisual () const |
void | setDefaultVisual (FXVisual *vis) |
FXVisual * | getMonoVisual () const |
FXRootWindow * | getRootWindow () const |
void | setRootWindow (FXRootWindow *rt) |
FXWindow * | getFocusWindow () const |
FXWindow * | getCursorWindow () const |
FXWindow * | getActiveWindow () const |
FXPopup * | getPopupWindow () const |
FXWindow * | findWindowWithId (FXID xid) const |
FXWindow * | findWindowAt (FXint rx, FXint ry, FXID window=0) const |
virtual void | create () |
virtual void | destroy () |
virtual void | detach () |
void | addTimeout (FXObject *tgt, FXSelector sel, FXuint ms=1000, void *ptr=NULL) |
void | removeTimeout (FXObject *tgt, FXSelector sel) |
bool | hasTimeout (FXObject *tgt, FXSelector sel) const |
FXuint | remainingTimeout (FXObject *tgt, FXSelector sel) |
void | handleTimeouts () |
void | addChore (FXObject *tgt, FXSelector sel, void *ptr=NULL) |
void | removeChore (FXObject *tgt, FXSelector sel) |
bool | hasChore (FXObject *tgt, FXSelector sel) const |
void | addSignal (FXint sig, FXObject *tgt, FXSelector sel, FXbool immediate=FALSE, FXuint flags=0) |
void | removeSignal (FXint sig) |
bool | addInput (FXInputHandle fd, FXuint mode, FXObject *tgt, FXSelector sel) |
bool | removeInput (FXInputHandle fd, FXuint mode) |
bool | getKeyState (FXuint keysym) const |
bool | peekEvent () |
bool | runOneEvent (bool blocking=true) |
FXint | run () |
FXint | runUntil (FXuint &condition) |
FXint | runWhileEvents () |
FXint | runModalWhileEvents (FXWindow *window=NULL) |
FXint | runModal () |
FXint | runModalFor (FXWindow *window) |
FXint | runModalWhileShown (FXWindow *window) |
FXint | runPopup (FXWindow *window) |
bool | isModal (FXWindow *window) const |
FXWindow * | getModalWindow () const |
FXModality | getModality () const |
void | stop (FXint value=0) |
void | stopModal (FXWindow *window, FXint value=0) |
void | stopModal (FXint value=0) |
void | forceRefresh () |
void | refresh () |
void | flush (bool sync=false) |
void | repaint () |
virtual void | init (int &argc, char **argv, bool connect=true) |
virtual void | exit (FXint code=0) |
FXRegistry & | reg () |
FXDragType | registerDragType (const FXString &name) const |
FXString | getDragTypeName (FXDragType type) const |
FXWindow * | getDragWindow () const |
void | beep () |
void | setNormalFont (FXFont *font) |
FXFont * | getNormalFont () const |
void | beginWaitCursor () |
void | endWaitCursor () |
void | setWaitCursor (FXCursor *cur) |
FXCursor * | getWaitCursor () const |
FXCursor * | getDefaultCursor (FXDefaultCursor which) const |
void | setDefaultCursor (FXDefaultCursor which, FXCursor *cur) |
FXbool | writeWindow (FXStream &store, FXWindow *window) |
FXbool | readWindow (FXStream &store, FXWindow *&window, FXWindow *father, FXWindow *owner) |
FXMutex & | mutex () |
void | setTranslator (FXTranslator *trans) |
FXTranslator * | getTranslator () const |
FXuint | getTypingSpeed () const |
FXuint | getClickSpeed () const |
FXuint | getScrollSpeed () const |
FXuint | getScrollDelay () const |
FXuint | getBlinkSpeed () const |
FXuint | getAnimSpeed () const |
FXuint | getMenuPause () const |
FXuint | getTooltipPause () const |
FXuint | getTooltipTime () const |
FXint | getDragDelta () const |
FXint | getWheelLines () const |
FXint | getScrollBarSize () const |
void | setTypingSpeed (FXuint speed) |
void | setClickSpeed (FXuint speed) |
void | setScrollSpeed (FXuint speed) |
void | setScrollDelay (FXuint delay) |
void | setBlinkSpeed (FXuint speed) |
void | setAnimSpeed (FXuint speed) |
void | setMenuPause (FXuint pause) |
void | setTooltipPause (FXuint pause) |
void | setTooltipTime (FXuint time) |
void | setDragDelta (FXint delta) |
void | setWheelLines (FXint lines) |
void | setScrollBarSize (FXint size) |
FXColor | getBorderColor () const |
FXColor | getBaseColor () const |
FXColor | getHiliteColor () const |
FXColor | getShadowColor () const |
FXColor | getBackColor () const |
FXColor | getForeColor () const |
FXColor | getSelforeColor () const |
FXColor | getSelbackColor () const |
FXColor | getTipforeColor () const |
FXColor | getTipbackColor () const |
FXColor | getSelMenuTextColor () const |
FXColor | getSelMenuBackColor () const |
void | setBorderColor (FXColor color) |
void | setBaseColor (FXColor color) |
void | setHiliteColor (FXColor color) |
void | setShadowColor (FXColor color) |
void | setBackColor (FXColor color) |
void | setForeColor (FXColor color) |
void | setSelforeColor (FXColor color) |
void | setSelbackColor (FXColor color) |
void | setTipforeColor (FXColor color) |
void | setTipbackColor (FXColor color) |
void | setSelMenuTextColor (FXColor color) |
void | setSelMenuBackColor (FXColor color) |
FXuint | getWindowCount () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
void | dumpWidgets () const |
virtual | ~FXApp () |
Static Public Member Functions |
static FXApp * | instance () |
Static Public Attributes |
static const FXuchar | copyright [] |
Friends |
class | FXId |
class | FXBitmap |
class | FXImage |
class | FXIcon |
class | FXCursor |
class | FXDrawable |
class | FXWindow |
class | FXShell |
class | FXRootWindow |
class | FXTopWindow |
class | FXMainWindow |
class | FXPopup |
class | FXFont |
class | FXVisual |
class | FXGLVisual |
class | FXGLContext |
class | FXDC |
class | FXDCWindow |
class | FXDragCorner |
class | FXDockHandler |
class | FXComposeContext |