Changeset 8689 in orxonox.OLD for branches/gui/src/lib/gui/gl/specials/glgui_imagebutton.h
- Timestamp:
- Jun 21, 2006, 10:50:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/specials/glgui_imagebutton.h
r8688 r8689 10 10 #define _GLGUI_IMAGEBUTTON_H 11 11 12 #include "glgui_ widget.h"12 #include "glgui_pushbutton.h" 13 13 #include "event_listener.h" 14 14 15 15 16 #include <stack> 17 18 class GLGuiImage; 16 19 17 20 //! Namespace of the GLGuiImageButton of ORXONOX. 18 21 namespace OrxGui 19 22 { 20 class GLGuiImageButton : public GLGui Widget23 class GLGuiImageButton : public GLGuiPushButton 21 24 { 22 25 public: 23 GLGuiImageButton( );26 GLGuiImageButton(const std::string& label, unsigned int levelID, const std::string& imageName, GLGuiImage* image); 24 27 virtual ~GLGuiImageButton(); 25 28 26 void debug() const;27 29 28 30 protected: 29 virtual void resize(); 31 virtual void releasing(const Vector2D& pos, bool focused); 32 virtual void receivedFocus(); 33 virtual void removedFocus(); 34 30 35 31 36 private: 37 unsigned int levelID; 38 std::string imageName; 39 GLGuiImage* image; 32 40 33 41 private:
Note: See TracChangeset
for help on using the changeset viewer.