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

 FXSplashWindow (FXApp *ap, FXIcon *ic, FXuint opts=SPLASH_SIMPLE, FXTime ns=2000000000)
 FXSplashWindow (FXWindow *ow, FXIcon *ic, FXuint opts=SPLASH_SIMPLE, FXTime ns=2000000000)
virtual void create ()
virtual void detach ()
virtual void show ()
virtual void show (FXuint placement)
virtual void hide ()
virtual FXint getDefaultWidth ()
virtual FXint getDefaultHeight ()
void setIcon (FXIcon *ic)
FXIcongetIcon () const
void setDelay (FXTime ns)
FXTime getDelay () const
virtual void save (FXStream &store) const
virtual void load (FXStream &store)
virtual ~FXSplashWindow ()


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.

See also:


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.

virtual FX::FXSplashWindow::~FXSplashWindow (  )  [virtual]

Destroy splash window.


Member Function Documentation

virtual void FX::FXSplashWindow::create (  )  [virtual]

Create.

Reimplemented from FX::FXTopWindow.

virtual void FX::FXSplashWindow::detach (  )  [virtual]

Detach.

Reimplemented from FX::FXTopWindow.

virtual void FX::FXSplashWindow::show (  )  [virtual]

Show splash window.

Reimplemented from FX::FXTopWindow.

virtual void FX::FXSplashWindow::show ( FXuint  placement  )  [virtual]

Show splash window with a given placement.

Reimplemented from FX::FXTopWindow.

virtual void FX::FXSplashWindow::hide (  )  [virtual]

Hide splash window.

Reimplemented from FX::FXTopWindow.

virtual FXint FX::FXSplashWindow::getDefaultWidth (  )  [virtual]

Return the default width of this window.

Reimplemented from FX::FXTopWindow.

virtual FXint FX::FXSplashWindow::getDefaultHeight (  )  [virtual]

Return the default height of this window.

Reimplemented from FX::FXTopWindow.

void FX::FXSplashWindow::setIcon ( FXIcon ic  ) 

Set the icon for the splash window.

Reimplemented from FX::FXTopWindow.

FXIcon* FX::FXSplashWindow::getIcon (  )  const [inline]

Get the icon for this splash window.

Reimplemented from FX::FXTopWindow.

void FX::FXSplashWindow::setDelay ( FXTime  ns  ) 

Set or change delay in nanoseconds.

FXTime FX::FXSplashWindow::getDelay (  )  const [inline]

Return delay.

virtual void FX::FXSplashWindow::save ( FXStream store  )  const [virtual]

Save label to a stream.

Reimplemented from FX::FXTopWindow.

virtual void FX::FXSplashWindow::load ( FXStream store  )  [virtual]

Load label from a stream.

Reimplemented from FX::FXTopWindow.

Copyright © 1997-2009 Jeroen van der Zijp