#include <vtkKWSplashScreen.h>
Inheritance diagram for vtkKWSplashScreen:
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWSplashScreen, vtkKWTopLevel) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual void | Display () |
void | SetProgressMessage (const char *) |
virtual int | ReadImage (const char *filename) |
virtual void | UpdateEnableState () |
virtual void | SetProgressMessageVerticalOffset (int) |
virtual int | GetProgressMessageVerticalOffset () |
virtual char * | GetImageName () |
virtual void | SetImageName (const char *) |
Static Public Member Functions | |
vtkKWSplashScreen * | New () |
Protected Member Functions | |
vtkKWSplashScreen () | |
~vtkKWSplashScreen () | |
void | UpdateCanvasSize () |
void | UpdateProgressMessagePosition () |
virtual int | GetRequestedWidth () |
virtual int | GetRequestedHeight () |
Protected Attributes | |
vtkKWCanvas * | Canvas |
char * | ImageName |
int | ProgressMessageVerticalOffset |
A class for displaying splash screen.
Definition at line 27 of file vtkKWSplashScreen.h.
|
|
|
|
|
Reimplemented from vtkKWTopLevel. |
|
|
|
Reimplemented from vtkKWTopLevel. |
|
Create the widget. Reimplemented from vtkKWTopLevel. |
|
Display the splash screen Override to center it no matter what. Reimplemented from vtkKWTopLevel. |
|
Set the text of the progress message |
|
Set/Get the offset of the progress message (negative value means offset from the bottom of the splash, positive value from the top) |
|
Set/Get the offset of the progress message (negative value means offset from the bottom of the splash, positive value from the top) |
|
Set/Get the name of the splash image (a Tk image name) |
|
Set/Get the name of the splash image (a Tk image name) |
|
Convenience method to read an image and use it as the splash image If ImageName is set, this method will update the corresponding Tk image, otherwise it will create a new one and assign its name to ImageName. Check vtkKWResourceUtilities::ReadImage for the list of supported image format Return 1 on success, 0 otherwise |
|
Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc. Reimplemented from vtkKWTopLevel. |
|
|
|
|
|
Convenience method to get the width/height of the toplevel as requested by the window manager. Not exposed in public since it is so Tk related. Is is usually used to get the geometry of a window before it is mapped to screen, as requested by the geometry manager. Override to prevent the splashscreen from flickering at startup. Return the size of the image itself, without explicitly calling 'update' to let the geometry manager figure things out (= flicker) Reimplemented from vtkKWTopLevel. |
|
Convenience method to get the width/height of the toplevel as requested by the window manager. Not exposed in public since it is so Tk related. Is is usually used to get the geometry of a window before it is mapped to screen, as requested by the geometry manager. Override to prevent the splashscreen from flickering at startup. Return the size of the image itself, without explicitly calling 'update' to let the geometry manager figure things out (= flicker) Reimplemented from vtkKWTopLevel. |
|
Definition at line 75 of file vtkKWSplashScreen.h. |
|
Definition at line 76 of file vtkKWSplashScreen.h. |
|
Definition at line 77 of file vtkKWSplashScreen.h. |