goat3d

view goatview/src/goatview.h @ 72:36e39632db75

- fixed exporter animation bounds calculation - fixed missing scene name in exported meshes - rewritting goatview as a full GUI app with Qt
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 06 May 2014 03:31:35 +0300
parents
children 9862541fdcf5
line source
1 #ifndef GOATVIEW_H_
2 #define GOATVIEW_H_
4 #include <QtWidgets/QtWidgets>
5 #include <QtOpenGL/QGLWidget>
7 class GoatView : public QMainWindow {
8 Q_OBJECT
9 private:
10 bool make_menu();
11 bool make_dock();
12 bool make_center();
14 private slots:
15 void open_scene();
16 void open_anim();
18 public:
19 GoatView();
20 ~GoatView();
21 };
23 class GoatViewport : public QGLWidget {
24 Q_OBJECT
25 public:
26 GoatViewport();
27 ~GoatViewport();
29 QSize sizeHint() const;
31 void initializeGL();
32 void resizeGL(int xsz, int ysz);
33 void paintGL();
34 };
36 #endif // GOATVIEW_H_