summaryrefslogtreecommitdiffstats
path: root/examples/opengl/overlay_x11/gearwidget.h
blob: ce1c2b822c74374ccc69c798a30df068239e30ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/****************************************************************************
**
** Definition of a simple TQt OpenGL widget
**
** Copyright (C) 1999-2008 Trolltech ASA.  All rights reserved.
**
** This file is part of an example program for TQt.  This example
** program may be used, distributed and modified without limitation.
**
*****************************************************************************/

#ifndef GEAR_H
#define GEAR_H

#include <ntqgl.h>

class GearWidget : public TQGLWidget
{
public:
    GearWidget( TQWidget *parent=0, const char *name=0 );

protected:
    void initializeGL();
    void resizeGL( int, int );
    void paintGL();
};


#endif