home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / mgl11 / demo / explwind.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-09  |  1.6 KB  |  56 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: explwind.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 ExplanationWindow, a class for
  16. *                displaying the explanation information about the current
  17. *                demo at the bottom of the display. It also contains the
  18. *                speed buttons to move forwards or backwards through the
  19. *                demos.
  20. *
  21. * $Id: explwind.hpp 1.2 1994/03/09 11:29:32 kjb release $
  22. *
  23. ****************************************************************************/
  24.  
  25. #ifndef    __EXPLWIND_HPP
  26. #define    __EXPLWIND_HPP
  27.  
  28. #ifndef    __TDIALOG_HPP
  29. #include "tdialog.hpp"
  30. #endif
  31.  
  32. #ifndef    __TSTTEXT_HPP
  33. #include "tsttext.hpp"
  34. #endif
  35.  
  36. /*-------------------------- Class definitions ----------------------------*/
  37.  
  38. //---------------------------------------------------------------------------
  39. // The ExplanationWindow class is a special TDialog class used to display
  40. // information about the current demo, and to handle the speed buttons.
  41. //---------------------------------------------------------------------------
  42.  
  43. class ExplanationWindow : public TDialog {
  44. protected:
  45.     TMultiLineText    *explanation;    // Text for the explanation
  46.  
  47. public:
  48.             // Constructor
  49.             ExplanationWindow(const TRect& bounds);
  50.  
  51.             // Method handle events
  52.     virtual    void handleEvent(TEvent& event,phaseType phase = phFocused);
  53.     };
  54.  
  55. #endif    // __EXPLWIND_HPP
  56.