goat3d

diff goatview/src/goatview.h @ 83:57e745dd13c2

almost working
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 12 May 2014 07:22:52 +0300
parents 70b7c41a4f17
children 91e3aa1a60c3
line diff
     1.1 --- a/goatview/src/goatview.h	Sun May 11 22:04:54 2014 +0300
     1.2 +++ b/goatview/src/goatview.h	Mon May 12 07:22:52 2014 +0300
     1.3 @@ -11,10 +11,10 @@
     1.4  class GoatViewport;
     1.5  
     1.6  class GoatView : public QMainWindow {
     1.7 +private:
     1.8  	Q_OBJECT
     1.9 -private:
    1.10 +
    1.11  	GoatViewport *glview;
    1.12 -	QStandardItemModel *sgmodel;	// scene graph model
    1.13  	QTreeWidget *scntree;
    1.14  
    1.15  	void closeEvent(QCloseEvent *ev);
    1.16 @@ -31,6 +31,8 @@
    1.17  	~GoatView();
    1.18  
    1.19  	bool load_scene(const char *fname);
    1.20 +
    1.21 +	void show_about();
    1.22  };
    1.23  
    1.24  class GoatViewport : public QGLWidget {
    1.25 @@ -50,6 +52,8 @@
    1.26  	void resizeGL(int xsz, int ysz);
    1.27  	void paintGL();
    1.28  
    1.29 +	void toggle_lighting();
    1.30 +
    1.31  	void mousePressEvent(QMouseEvent *ev);
    1.32  	void mouseMoveEvent(QMouseEvent *ev);
    1.33  };