summaryrefslogtreecommitdiff
path: root/src/QGLView.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-02-24 17:21:45 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-02-24 17:21:45 (GMT)
commit707118ce9485f1c703bf6cc99bad3affc2a48c10 (patch)
treee88a90b086f7cb7d2cf331554f5cae7b0fca2def /src/QGLView.h
parent91896e0d9680a5919ff31d82162a855f5ef2b08c (diff)
move enable_opencsg_shaders, fix indenting, split out display_opencsg_warning
also update docs, and try to make enable_opencsg_shaders the same between qgl and offscreengl
Diffstat (limited to 'src/QGLView.h')
-rw-r--r--src/QGLView.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/QGLView.h b/src/QGLView.h
index 5cb1872..da96b6a 100644
--- a/src/QGLView.h
+++ b/src/QGLView.h
@@ -38,7 +38,9 @@ public:
void setOrthoMode(bool enabled) { this->orthomode = enabled; }
std::string getRendererInfo() const;
bool save(const char *filename);
+#ifdef ENABLE_OPENCSG
void enable_opencsg_shaders();
+#endif
public:
QLabel *statusLabel;
@@ -66,8 +68,9 @@ private:
void normalizeAngle(GLdouble& angle);
#ifdef ENABLE_OPENCSG
-private slots:
void display_opencsg_warning();
+private slots:
+ void display_opencsg_warning_dialog();
#endif
signals:
contact: Jan Huwald // Impressum