- void OnKeyUp(wxKeyEvent& event);
- void OnEnterWindow(wxMouseEvent& event);
-
- void Render();
- void InitGL();
- void Rotate(GLfloat deg);
- static GLfloat CalcRotateSpeed(unsigned long acceltime);
- static GLfloat CalcRotateAngle( unsigned long lasttime,
- unsigned long acceltime );
- void Action( long code, unsigned long lasttime,
- unsigned long acceltime );
-
-private:
- bool m_init;
- GLuint m_gllist;
- long m_rleft;
- long m_rright;
-
- static unsigned long m_secbase;
- static int m_TimeInitialized;
- static unsigned long m_xsynct;
- static unsigned long m_gsynct;
-
- long m_Key;
- unsigned long m_StartTime;
- unsigned long m_LastTime;
- unsigned long m_LastRedraw;
-
-DECLARE_EVENT_TABLE()
-};