Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 941 vs 952 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::joystickButtonPressed, this));
34 + CEGUI::Event::Subscriber(&GUIButton::buttonPressed, this));
35 35 _parent->addChild(_btnWindow);
36 36 _btnWindow->setEnabled(true);
37 37
  @@ -80,7 +80,7 @@
80 80 }
81 81 }
82 82
83 - bool GUIButton::joystickButtonPressed(const CEGUI::EventArgs& /*e*/) {
83 + bool GUIButton::buttonPressed(const CEGUI::EventArgs& /*e*/) {
84 84 if (_callbackFunction) {
85 85 _callbackFunction(getGUID());
86 86 if (_onClickSound && _soundCallback) {