diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-02-24 17:21:45 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-02-24 17:21:45 (GMT) |
commit | 707118ce9485f1c703bf6cc99bad3affc2a48c10 (patch) | |
tree | e88a90b086f7cb7d2cf331554f5cae7b0fca2def /src/QGLView.h | |
parent | 91896e0d9680a5919ff31d82162a855f5ef2b08c (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.h | 5 |
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: |