Changeset 8691 in orxonox.OLD for branches/gui/src/story_entities/menu
- Timestamp:
- Jun 21, 2006, 11:29:35 PM (19 years ago)
- Location:
- branches/gui/src/story_entities/menu
- Files:
-
- 1 added
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/story_entities/menu/glgui_imagebutton.cc
r8689 r8691 17 17 18 18 #include "glgui_imagebutton.h" 19 #include "multi_line_text.h"20 19 21 20 #include "debug.h" … … 37 36 void GLGuiImageButton::releasing(const Vector2D& pos, bool focused) 38 37 { 39 38 this->emit(startLevel(this->levelID)); 40 39 } 41 40 42 41 void GLGuiImageButton::receivedFocus() 43 {} 42 { 43 this->image->loadImageFromFile(this->imageName); 44 } 44 45 void GLGuiImageButton::removedFocus() 45 46 {} -
branches/gui/src/story_entities/menu/glgui_imagebutton.h
r8689 r8691 13 13 #include "event_listener.h" 14 14 15 16 #include <stack> 17 18 class GLGuiImage; 15 #include "glgui_image.h" 19 16 20 17 //! Namespace of the GLGuiImageButton of ORXONOX. … … 27 24 virtual ~GLGuiImageButton(); 28 25 26 27 DeclareSignal1(startLevel, int); 29 28 30 29 protected:
Note: See TracChangeset
for help on using the changeset viewer.