home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / mgl11 / demo / titlwind.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-09  |  1.2 KB  |  49 lines

  1. /****************************************************************************
  2. *
  3. *                    Demo - Demonstration Program for the
  4. *                        MegaGraph Graphics Library
  5. *
  6. *                   Copyright (C) 1994 SciTech Software.
  7. *                            All rights reserved.
  8. *
  9. * Filename:        $RCSfile: titlwind.hpp $
  10. * Version:        $Revision: 1.2 $
  11. *
  12. * Language:        C++ 3.0
  13. * Environment:    IBM PC (MS DOS)
  14. *
  15. * Description:    Header file for the class TitleWindow, a class for
  16. *                displaying the title information for the current
  17. *                demo at the top of the display.
  18. *
  19. * $Id: titlwind.hpp 1.2 1994/03/09 11:29:32 kjb release $
  20. *
  21. ****************************************************************************/
  22.  
  23. #ifndef    __TITLWIND_HPP
  24. #define    __TITLWIND_HPP
  25.  
  26. #ifndef    __TDIALOG_HPP
  27. #include "tdialog.hpp"
  28. #endif
  29.  
  30. #ifndef    __TSTTEXT_HPP
  31. #include "tsttext.hpp"
  32. #endif
  33.  
  34. /*-------------------------- Class definitions ----------------------------*/
  35.  
  36. class TitleWindow : public TDialog {
  37. protected:
  38.     TStaticText    *title;        // Text for the title
  39.  
  40. public:
  41.             // Constructor
  42.             TitleWindow(const TRect& bounds);
  43.  
  44.             // Method handle events
  45.     virtual    void handleEvent(TEvent& event,phaseType phase = phFocused);
  46.     };
  47.  
  48. #endif    // __TITLWIND_HPP
  49.