QGLWidgetAdapter.h

00001 /*
00002  * @(#)QGLWidgetAdapter.h  0.2.0 / 2007-08-17
00003  *
00004  * Copyright (c) 2007, ETF and contributors. All rights reserved.
00005  *
00006  * This software is licensed under the LGPL, version 2.1, license.
00007  * A copy of the license is included in the file LICENSE-LGPL.txt.
00008  */
00009 #ifndef QGLWIDGETADAPTER_H
00010 #define QGLWIDGETADAPTER_H
00011 
00012 #include "JavaQxOpenGL.h"
00013 
00014 /*^**************************************************************************^*/
00015 /*- QGLWidgetAdapter Class.                                                  -*/
00016 /*^**************************************************************************^*/
00017 
00018 class GLJQComponentBridge;
00019 
00026 class JAVAQX_EXPORT QGLWidgetAdapter : public QGLWidget
00027 {
00028 public:
00029   QGLWidgetAdapter(GLJQComponentBridge *glComp);
00030 protected:
00031   void initializeGL();
00032   void resizeGL(int width, int height);
00033   void paintGL();
00034 private:
00035   GLJQComponentBridge *m_glComp;
00036 };
00037 
00038 #endif // QGLWIDGETADAPTER_H
00039 
00040 /*^*****************************************************************************
00041   File History:
00042 
00043  - 2007-08-17 16:58:11 Slobodan
00044    Initial version
00045 
00046 *****************************************************************************^*/

Copyright © 2007 ETF and contributors. All Rights Reserved.