home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / mgl11 / demo / demowind.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-09  |  1.3 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: demowind.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 DemoWindow, a class for
  16. *                rendering the current demo in the window.
  17. *
  18. * $Id: demowind.hpp 1.2 1994/03/09 11:29:32 kjb release $
  19. *
  20. ****************************************************************************/
  21.  
  22. #ifndef    __DEMOWIND_HPP
  23. #define    __DEMOWIND_HPP
  24.  
  25. #ifndef    __TDIALOG_HPP
  26. #include "tdialog.hpp"
  27. #endif
  28.  
  29. /*-------------------------- Class definitions ----------------------------*/
  30.  
  31. //---------------------------------------------------------------------------
  32. // The DemoWindow class is a special TDialog class used to display
  33. // the current rendering in a double buffered animation window.
  34. //---------------------------------------------------------------------------
  35.  
  36. class DemoWindow : public TDialog {
  37. protected:
  38.  
  39.             // Method to draw the background
  40.     virtual    void drawBackground(const TRect& clip);
  41.  
  42. public:
  43.             // Constructor
  44.             DemoWindow(const TRect& bounds);
  45.  
  46.     };
  47.  
  48. #endif    // __DEMOWIND_HPP
  49.