Commit b3bacae0 authored by Frédéric Larue's avatar Frédéric Larue

GLViewer modified so that display parameters can be hidden.

parent ebeedd64
......@@ -183,6 +183,8 @@ protected:
bool m_ChangeNearPlaneMode;
bool m_ChangeFarPlaneMode;
bool m_IsSelectionAllowed;
/*****************************\
| Constructor(s) / destructor |
\*****************************/
......@@ -248,6 +250,9 @@ public:
void paintGL();
virtual void resizeGL( int width, int height );
inline void setParametersDisplayed( bool displayed ) { ((QWidget*) m_DisplayOptionsLayout->parent())->setVisible( displayed ); }
inline bool areParametersDisplayed() const { return ((QWidget*) m_DisplayOptionsLayout->parent())->isVisible(); }
inline float speedFactor() const { return m_SpeedFactor; }
inline float ctrlSpeedFactor() const { return m_CtrlSpeedFactor; }
inline float shiftSpeedFactor() const { return m_ShiftSpeedFactor; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment