Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 966 vs 969 for /trunk/Source Code/GUI/GUIButton.cpp

Diff revisions: vs.
  @@ -31,7 +31,7 @@
31 31 CEGUI::UDim(relativeDimensions.y / 100, 0.0f)));
32 32 _btnWindow->setText(text.c_str());
33 33 _btnWindow->subscribeEvent(CEGUI::PushButton::EventClicked,
34 - CEGUI::Event::Subscriber(&GUIButton::buttonPressed, this));
34 + CEGUI::Event::Subscriber(&GUIButton::joystickButtonPressed, this));
35 35 _parent->addChild(_btnWindow);
36 36 _btnWindow->setEnabled(true);
37 37
  @@ -81,7 +81,7 @@
81 81 }
82 82 }
83 83
84 - bool GUIButton::buttonPressed(const CEGUI::EventArgs& /*e*/) {
84 + bool GUIButton::joystickButtonPressed(const CEGUI::EventArgs& /*e*/) {
85 85 if (_callbackFunction) {
86 86 _callbackFunction(getGUID());
87 87 if (_onClickSound && _soundCallback) {