Changeset 5360 in orxonox.OLD for trunk/src/lib/gui/gl_gui
- Timestamp:
- Oct 11, 2005, 12:53:49 AM (19 years ago)
- Location:
- trunk/src/lib/gui/gl_gui
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl_gui/glgui_bar.cc
r5316 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_bar.h
r5316 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_button.cc
r5314 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_button.h
r5314 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_checkbutton.cc
r5314 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_checkbutton.h
r5314 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_colorselector.cc
r5314 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_colorselector.h
r5314 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_container.cc
r5314 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_container.h
r5314 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_cursor.cc
r5314 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_cursor.h
r5314 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_element.cc
r5314 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_element.h
r5314 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_image.cc
r5314 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_image.h
r5314 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_menu.cc
r5314 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_menu.h
r5314 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_pushbutton.cc
r5359 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_pushbutton.h
r5359 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_slider.cc
r5314 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_slider.h
r5314 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_text.cc
r5314 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_text.h
r5314 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */ -
trunk/src/lib/gui/gl_gui/glgui_textfield.cc
r5314 r5360 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ 15 15 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 16 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_GUI 17 17 18 #include " proto_class.h"18 #include "glgui_.h" 19 19 20 20 using namespace std; 21 21 22 23 22 /** 24 23 * standard constructor 25 * @todo this constructor is not jet implemented - do it26 24 */ 27 ProtoClass::ProtoClass()25 GLGui::GLGui () 28 26 { 29 this->setClassID(CL_PROTO_ID, "ProtoClass");27 this->init(); 30 28 31 /* If you make a new class, what is most probably the case when you write this file32 don't forget to:33 1. Add the new file new_class.cc to the ./src/Makefile.am34 2. Add the class identifier to ./src/class_id.h eg. CL_NEW_CLASS35 36 Advanced Topics:37 - if you want to let your object be managed via the ObjectManager make sure to read38 the object_manager.h header comments. You will use this most certanly only if you39 make many objects of your class, like a weapon bullet.40 */41 29 } 42 30 … … 45 33 * standard deconstructor 46 34 */ 47 ProtoClass::~ProtoClass()35 GLGui::~GLGui() 48 36 { 49 // delete what has to be deleted here 37 50 38 } 39 40 /** 41 * initializes the GUI-element 42 */ 43 GLGui::init() 44 { 45 this->setClassID(CL_GLGUI_, "GLGui"); 46 47 } 48 49 /** 50 * draws the GLGui 51 */ 52 void GLGui::draw() 53 { 54 55 } -
trunk/src/lib/gui/gl_gui/glgui_textfield.h
r5314 r5360 1 1 /*! 2 * @file proto_class.h 3 * @brief Definition of ... 4 */ 2 * @file glgui_.h 3 * The gl_ widget of th openglGUI 4 * 5 */ 5 6 6 #ifndef _ PROTO_CLASS_H7 #define _ PROTO_CLASS_H7 #ifndef _GLGUI__H 8 #define _GLGUI__H 8 9 9 10 #include "base_object.h" … … 11 12 // FORWARD DECLARATION 12 13 13 14 15 //! A class for ... 16 class ProtoClass : public BaseObject { 14 //! This is part of the openglGUI class 15 /** 16 * 17 */ 18 class GLGui : public GLGui { 17 19 18 20 public: 19 ProtoClass();20 virtual ~ ProtoClass();21 GLGui(); 22 virtual ~GLGui(); 21 23 24 void init(); 25 26 virtual void draw(); 22 27 23 28 private: … … 25 30 }; 26 31 27 #endif /* _ PROTO_CLASS_H */32 #endif /* _GLGUI__H */
Note: See TracChangeset
for help on using the changeset viewer.