![]() |
TAPs 0.7.7.3
|
00001 /****************************************************************************** 00002 TAPsOpenGLCtrlButton.hpp 00003 00004 Button Control via OpenGL 00005 00006 SUKITTI PUNAK (05/02/2007) 00007 UPDATE (05/02/2007) 00008 ******************************************************************************/ 00009 #ifndef TAPs_OPENGL_CONTROL_BUTTON_HPP 00010 #define TAPs_OPENGL_CONTROL_BUTTON_HPP 00011 00016 #include "TAPsOpenGLCtrl.hpp" 00017 00018 BEGIN_NAMESPACE_TAPs__OpenGL 00019 //============================================================================= 00020 class OpenGLCtrlButton : public /*virtual*/ OpenGLCtrl { 00021 //----------------------------------------------------------------------------- 00022 public: 00023 //------------------------------------------------------------------------- 00024 // Constructor and Destructor 00025 OpenGLCtrlButton (); 00026 virtual ~OpenGLCtrlButton (); 00027 //--------------------------------------------------------------- 00028 // Get/Set Function(s) 00029 //------------------------------------------- 00030 virtual void Default (); 00031 //------------------------------------------- 00032 //------------------------------------------- 00033 //--------------------------------------------------------------- 00034 //--------------------------------------------------------------- 00035 // Operation(s) 00036 //--------------------------------------------------------------- 00037 // Drawing(s) 00038 virtual void Draw (); // start at xy-coordinates 00039 //----------------------------------------------------------------------------- 00040 protected: 00041 //--------------------------------------------------------------- 00042 //------------------------------------------------------------------------- 00043 // Data Member(s) 00044 //--------------------------------------------------------------- 00045 //=============================================================== 00046 //--------------------------------------------------------------- 00047 // Static Data Member(s) 00048 //------------------------------------------------------------------------- 00049 }; // END CLASS OpenGLCtrlButton 00050 00051 //============================================================================= 00052 END_NAMESPACE_TAPs__OpenGL 00053 //----------------------------------------------------------------------------- 00054 // Include definition if TAPs_USE_EXPORT is not defined 00055 #if !defined( TAPs_USE_EXPORT ) 00056 #include "TAPsOpenGLCtrlButton.cpp" 00057 #endif 00058 //----------------------------------------------------------------------------- 00059 #endif 00060 //34567890123456789012345678901234567890123456789012345678901234567890123456789 00061 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----