Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

GUI/Widgets/vtkKWSplashScreen.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Module:    $RCSfile: vtkKWSplashScreen.h,v $
00004 
00005   Copyright (c) Kitware, Inc.
00006   All rights reserved.
00007   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00008 
00009      This software is distributed WITHOUT ANY WARRANTY; without even
00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00011      PURPOSE.  See the above copyright notice for more information.
00012 
00013 =========================================================================*/
00020 #ifndef __vtkKWSplashScreen_h
00021 #define __vtkKWSplashScreen_h
00022 
00023 #include "vtkKWTopLevel.h"
00024 
00025 class vtkKWCanvas;
00026 
00027 class KWWIDGETS_EXPORT vtkKWSplashScreen : public vtkKWTopLevel
00028 {
00029 public:
00030   static vtkKWSplashScreen* New();
00031   vtkTypeRevisionMacro(vtkKWSplashScreen, vtkKWTopLevel);
00032   void PrintSelf(ostream& os, vtkIndent indent);
00033 
00035   virtual void Create(vtkKWApplication *app);
00036 
00038   virtual void Display();
00039   
00041   void SetProgressMessage(const char *);
00042   
00044 
00046   virtual void SetProgressMessageVerticalOffset(int);
00047   vtkGetMacro(ProgressMessageVerticalOffset, int);
00049 
00051 
00052   vtkGetStringMacro(ImageName);
00053   virtual void SetImageName(const char*);
00055   
00061   virtual int ReadImage(const char *filename);
00062   
00069   virtual void UpdateEnableState();
00070 
00071 protected:
00072   vtkKWSplashScreen();
00073   ~vtkKWSplashScreen();
00074 
00075   vtkKWCanvas *Canvas;
00076   char *ImageName;
00077   int ProgressMessageVerticalOffset;
00078 
00079   void UpdateCanvasSize();
00080   void UpdateProgressMessagePosition();
00081 
00083 
00090   virtual int GetRequestedWidth();
00091   virtual int GetRequestedHeight();
00093 
00094 private:
00095   vtkKWSplashScreen(const vtkKWSplashScreen&); // Not implemented
00096   void operator=(const vtkKWSplashScreen&); // Not implemented
00097 };
00098 
00099 
00100 #endif
00101 
00102 
00103 

Generated on Tue May 30 12:31:44 2006 for ParaView by doxygen 1.3.5