#include <Draw_Window.hxx>
 | 
|   | Draw_Window () | 
|   | 
|   | Draw_Window (const char *title, Standard_Integer X, Standard_Integer Y=0, Standard_Integer DX=50, Standard_Integer DY=50) | 
|   | 
|   | Draw_Window (Window mother) | 
|   | 
|   | Draw_Window (Window mother, char *title, Standard_Integer X=0, Standard_Integer Y=0, Standard_Integer DX=50, Standard_Integer DY=50) | 
|   | 
|   | Draw_Window (const char *window) | 
|   | 
| void  | Init (Standard_Integer X=0, Standard_Integer Y=0, Standard_Integer DX=50, Standard_Integer DY=50) | 
|   | 
| void  | Init (Window mother, Standard_Integer X=0, Standard_Integer Y=0, Standard_Integer DX=50, Standard_Integer DY=50) | 
|   | 
| void  | StopWinManager () | 
|   | 
| void  | SetPosition (Standard_Integer NewXpos, Standard_Integer NewYpos) | 
|   | 
| void  | SetDimension (Standard_Integer NewDx, Standard_Integer NewDy) | 
|   | 
| void  | GetPosition (Standard_Integer &PosX, Standard_Integer &PosY) | 
|   | 
| Standard_Integer  | HeightWin () const  | 
|   | 
| Standard_Integer  | WidthWin () const  | 
|   | 
| void  | SetTitle (const char *title) | 
|   | 
| char *  | GetTitle () | 
|   | 
| void  | DisplayWindow () | 
|   | 
| void  | Hide () | 
|   | 
| void  | Destroy () | 
|   | 
| void  | Clear () | 
|   | 
| void  | Wait (Standard_Boolean wait=Standard_True) | 
|   | 
| Drawable  | GetDrawable () const  | 
|   | 
| void  | InitBuffer () | 
|   | 
| void  | SetColor (int) | 
|   | 
| void  | SetMode (int) | 
|   | 
| void  | DrawString (int, int, char *) | 
|   | 
| void  | DrawSegments (Segment *, int) | 
|   | 
| void  | Redraw () | 
|   | 
| Standard_Boolean  | Save (const char *theFileName) const  | 
|   | 
| virtual  | ~Draw_Window () | 
|   | 
| virtual void  | WExpose () | 
|   | 
| virtual void  | WButtonPress (const Standard_Integer X, const Standard_Integer Y, const Standard_Integer &button) | 
|   | 
| virtual void  | WButtonRelease (const Standard_Integer X, const Standard_Integer Y, const Standard_Integer &button) | 
|   | 
| virtual void  | WMotionNotify (const Standard_Integer X, const Standard_Integer Y) | 
|   | 
| virtual void  | WConfigureNotify (const Standard_Integer X, const Standard_Integer Y, const Standard_Integer dx, const Standard_Integer dy) | 
|   | 
| virtual void  | WUnmapNotify () | 
|   | 
      
        
          | typedef void(* Draw_Window::FCallbackBeforeTerminate) () | 
        
      
 
 
      
        
          | Draw_Window::Draw_Window  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | Draw_Window::Draw_Window  | 
          ( | 
          Window  | 
          mother | ) | 
           | 
        
      
 
 
      
        
          | Draw_Window::Draw_Window  | 
          ( | 
          const char *  | 
          window | ) | 
           | 
        
      
 
 
  
  
      
        
          | virtual Draw_Window::~Draw_Window  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
This method registers a callback function that will be called just before exit. This is usefull especially for Windows platform, on which Draw is normally self-terminated instead of exiting. 
 
 
      
        
          | void Draw_Window::Clear  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void Draw_Window::Destroy  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void Draw_Window::DisplayWindow  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void Draw_Window::DrawSegments  | 
          ( | 
          Segment *  | 
          ,  | 
        
        
           | 
           | 
          int  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void Draw_Window::DrawString  | 
          ( | 
          int  | 
          ,  | 
        
        
           | 
           | 
          int  | 
          ,  | 
        
        
           | 
           | 
          char *  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
  
  
      
        
          | static void Draw_Window::Flush  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
      
        
          | Drawable Draw_Window::GetDrawable  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
      
        
          | char* Draw_Window::GetTitle  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void Draw_Window::Hide  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void Draw_Window::InitBuffer  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void Draw_Window::Redraw  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void Draw_Window::SetColor  | 
          ( | 
          int  | 
           | ) | 
           | 
        
      
 
 
      
        
          | void Draw_Window::SetMode  | 
          ( | 
          int  | 
           | ) | 
           | 
        
      
 
 
      
        
          | void Draw_Window::SetTitle  | 
          ( | 
          const char *  | 
          title | ) | 
           | 
        
      
 
 
      
        
          | void Draw_Window::StopWinManager  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | virtual void Draw_Window::WExpose  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
  
  
      
        
          | virtual void Draw_Window::WUnmapNotify  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
      
        
          | Base_Window& Draw_Window::base | 
        
      
 
 
The documentation for this class was generated from the following file: