Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 21, 2006, 11:29:35 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: now one can enter levels with the GUI, and Images should be shown as Well

Location:
branches/gui/src/story_entities/menu
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • branches/gui/src/story_entities/menu/glgui_imagebutton.cc

    r8689 r8691  
    1717
    1818#include "glgui_imagebutton.h"
    19 #include "multi_line_text.h"
    2019
    2120#include "debug.h"
     
    3736  void GLGuiImageButton::releasing(const Vector2D& pos, bool focused)
    3837  {
    39 
     38    this->emit(startLevel(this->levelID));
    4039  }
    4140
    4241  void GLGuiImageButton::receivedFocus()
    43   {}
     42  {
     43    this->image->loadImageFromFile(this->imageName);
     44  }
    4445  void GLGuiImageButton::removedFocus()
    4546  {}
Note: See TracChangeset for help on using the changeset viewer.