Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXSplashWindow Class Reference

The Splash Window is a window typically shown during startup of an application. More...

#include <FXSplashWindow.h>

Inheritance diagram for FX::FXSplashWindow:
FX::FXTopWindow FX::FXShell FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject

List of all members.

Public Member Functions

long onPaint (FXObject *, FXSelector, void *)
 FXSplashWindow (FXApp *ap, FXIcon *ic, FXuint opts=SPLASH_SIMPLE, FXTime ns=2000000000)
 Construct splash window; the window will be automatically hidden (or deleted if SPLASH_DESTROY is passed) after a given delay, specified in nanoseconds).
 FXSplashWindow (FXWindow *ow, FXIcon *ic, FXuint opts=SPLASH_SIMPLE, FXTime ns=2000000000)
 Construct splash window; the window will be automatically hidden (or deleted if SPLASH_DESTROY is passed) after a given delay, specified in nanoseconds).
virtual void create ()
 Create.
virtual void detach ()
 Detach.
virtual void show ()
 Show splash window.
virtual void show (FXuint placement)
 Show splash window with a given placement.
virtual void hide ()
 Hide splash window.
virtual FXint getDefaultWidth ()
 Return the default width of this window.
virtual FXint getDefaultHeight ()
 Return the default height of this window.
void setIcon (FXIcon *ic)
 Set the icon for the splash window.
FXIcongetIcon () const
 Get the icon for this splash window.
void setDelay (FXTime ns)
 Set or change delay in nanoseconds.
FXTime getDelay () const
 Return delay.
virtual void save (FXStream &store) const
 Save label to a stream.
virtual void load (FXStream &store)
 Load label from a stream.
virtual ~FXSplashWindow ()
 Destroy splash window.

Protected Attributes

FXIconicon
FXTime delay

Detailed Description

The Splash Window is a window typically shown during startup of an application.

It comprises a large icon, which is also used as the shape of the window if SPLASH_SHAPED is passed; with the SPLASH_SIMPLE option the window will be simply rectangular.


Constructor & Destructor Documentation

FX::FXSplashWindow::FXSplashWindow ( FXApp ap,
FXIcon ic,
FXuint  opts = SPLASH_SIMPLE,
FXTime  ns = 2000000000 
)

Construct splash window; the window will be automatically hidden (or deleted if SPLASH_DESTROY is passed) after a given delay, specified in nanoseconds).

The splash window is free floating. Use this constructor when the splash window is to be displayed before the main window appears.

FX::FXSplashWindow::FXSplashWindow ( FXWindow ow,
FXIcon ic,
FXuint  opts = SPLASH_SIMPLE,
FXTime  ns = 2000000000 
)

Construct splash window; the window will be automatically hidden (or deleted if SPLASH_DESTROY is passed) after a given delay, specified in nanoseconds).

The splash window stays on top of its owner window, which must already have been created previously.


The documentation for this class was generated from the following file:

Copyright © 1997-2011 Jeroen van der Zijp