//==========================================================//
// //
// Diplomprojekt Calina (platformuebergreifende 3d GUI) //
// //
//==========================================================//
// Autoren: Adam Celarek (diplom_arbeit at xibo at) //
// Patrick Freninger () //
// Sebastian Raggl () //
//==========================================================//
/***************************************************************************
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef CALINAGLWIDGET_H
#define CALINAGLWIDGET_H
#include <QGLWidget>
#include "helper.h"
namespace calina {
/**
* @brief
*
*
*
* @author Adam Celarek <testman@xibo.at>
* @todo Dokumentation von da Klassn.. Wegn Prototyp deadline keine Zeit..
*/
class World;
class
[B
]Q_DECL_EXPORT
[/B
] GLWidget
: public QGLWidget { Q_OBJECT
public:
GLWidget
(WidgetList
& widgetList,
QObject *parent
= 0);
~GLWidget();
void initializeGL();
void resizeGL(int w, int h);
void paintGL();
World* parentWorld() const;
private:
WidgetList& p_widgetList;
};
}
#endif
//==========================================================//
// //
// Diplomprojekt Calina (platformuebergreifende 3d GUI) //
// //
//==========================================================//
// Autoren: Adam Celarek (diplom_arbeit at xibo at) //
// Patrick Freninger () //
// Sebastian Raggl () //
//==========================================================//
/***************************************************************************
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef CALINAGLWIDGET_H
#define CALINAGLWIDGET_H
#include <QGLWidget>
#include "helper.h"
namespace calina {
/**
* @brief
*
*
*
* @author Adam Celarek <testman@xibo.at>
* @todo Dokumentation von da Klassn.. Wegn Prototyp deadline keine Zeit..
*/
class World;
class [B]Q_DECL_EXPORT[/B] GLWidget : public QGLWidget {
Q_OBJECT
public:
GLWidget(WidgetList& widgetList, QObject *parent = 0);
~GLWidget();
void initializeGL();
void resizeGL(int w, int h);
void paintGL();
World* parentWorld() const;
private:
WidgetList& p_widgetList;
};
}
#endif
To copy to clipboard, switch view to plain text mode
Bookmarks