home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-07-20 | 519 b | 25 lines | [TEXT/CWIE] |
- //Copyright (c) 1997 Aidan Cully
- //All rights reserved
-
- #ifndef __MODALWINDOW_H
- #define __MODALWINDOW_H
-
- #include "CLBaseWindow.h"
- #include "CLEventDispatcher.h"
-
- class TModalWindow:
- public virtual TBaseWindow,
- public MEventDispatcher
- {
- protected:
- virtual BOOLEAN Run();
- virtual BOOLEAN RunSelf();
- public:
- TModalWindow( short, TLayoutLeaf* );
- virtual void Quit();
- virtual SInt8 DoHideWindow();
- virtual void CalcMouseMove( const Point&, RgnHandle );
- virtual void HandleMouse( TMouseButtonEvent *ev );
- };
-
- #endif