Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7980 in orxonox.OLD for branches/gui


Ignore:
Timestamp:
May 30, 2006, 3:14:34 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: Better Signal definition

Location:
branches/gui/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl_gui/glgui_cursor.cc

    r7928 r7980  
    8989
    9090
    91       this->setAbsCoor2D(newPos);
    9291      movement = Vector2D();
    9392    }
     93    this->setAbsCoor2D(newPos);
    9494  }
    9595
  • branches/gui/src/lib/gui/gl_gui/signal_connector.h

    r7972 r7980  
    3333    * @param SignalName the Signal to be retrieved.
    3434    */
    35 #define SIGNAL(SignalName) \
    36     getSignalVector_##SignalName()
     35#define SIGNAL(Object, SignalName) \
     36    Object->getSignalVector_##SignalName()
    3737
    3838/**
  • branches/gui/src/story_entities/simple_game_menu.cc

    r7972 r7980  
    101101
    102102  OrxGui::GLGuiSlider* slider = new OrxGui::GLGuiSlider();
    103   slider->connect(slider->SIGNAL(valueChanged), this, SLOT(SimpleGameMenu, TEST));
     103  slider->connect(SIGNAL(slider, valueChanged), this, SLOT(SimpleGameMenu, TEST));
    104104  slider->setRange(-1, 10);
    105105  slider->setValue(slider->min());
Note: See TracChangeset for help on using the changeset viewer.