home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / opengl / overlay_x11 / gearwidget.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-11  |  716 b   |  31 lines

  1. /****************************************************************************
  2. ** $Id:  qt/gearwidget.h   3.0.0   edited Jun 1 18:44 $
  3. **
  4. ** Definition of a simple Qt OpenGL widget
  5. **
  6. ** Copyright (C) 1999 by Trolltech AS.  All rights reserved.
  7. **
  8. ** This file is part of an example program for Qt.  This example
  9. ** program may be used, distributed and modified without limitation.
  10. **
  11. *****************************************************************************/
  12.  
  13. #ifndef GEAR_H
  14. #define GEAR_H
  15.  
  16. #include <qgl.h>
  17.  
  18. class GearWidget : public QGLWidget
  19. {
  20. public:
  21.     GearWidget( QWidget *parent=0, const char *name=0 );
  22.  
  23. protected:
  24.     void initializeGL();
  25.     void resizeGL( int, int );
  26.     void paintGL();
  27. };
  28.  
  29.  
  30. #endif
  31.