home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / The Hacks! / COSEmulator / COSEmulator- SRC / headers / WindowManager.h < prev   
Encoding:
C/C++ Source or Header  |  1998-06-21  |  665 b   |  40 lines  |  [TEXT/CWIE]

  1. #ifndef _WindowManager_h_
  2. #define    _WindowManager_h_
  3.  
  4.  
  5.  
  6.  
  7. #include "WindowList.h"
  8. #include "Window.h"
  9.  
  10.  
  11. class    WindowManager
  12. {
  13. public:
  14.     WindowManager( void );
  15.     ~WindowManager( void );
  16.     
  17.     void    AddNormalWindow( Window *w );
  18.     void    AddFrontWindow( Window *w );
  19.     void    AddMenuWindow( Window *w );
  20.     
  21.     void    RemoveNormalWindow( Window *w );
  22.     void    RemoveFrontWindow( Window *w );
  23.     
  24.     Boolean    WMHandleMouseClick( Boolean down , point where );
  25.     void    WMHandleMouseMove( point where );
  26.     
  27.     void    DrawWindows( rect *where );
  28.     void    WMMaintance( void );
  29.     
  30.     void    WMGoBackGround( Boolean b );
  31.     
  32. private:
  33.  
  34.     NormalWindowList    normal;
  35.     FrontWindowList        front;
  36.     MenuWindowList        menu;
  37. };
  38.  
  39.  
  40. #endif