[Change] Being a bitch!

This commit is contained in:
Rtch90 2012-01-10 02:37:52 +00:00
parent dba8045011
commit 19d9f2e898
3 changed files with 11 additions and 11 deletions

Binary file not shown.

View File

@ -73,7 +73,7 @@ void Button::SetText(string textArg) {
bool Button::CheckMouseOver(void) {
if(event.motion.x > _button.GetX() && event.motion.x < _button.GetX() + _button.GetWidth()) {
if(event.motion.y > _button.GetY() && event.motion.y < _button.GetY() + _button.GetHeight()) {
if (!_highlighted) {
if(_highlighted) {
_button.SetRGB(_mouseOverColour.r, _mouseOverColour.g, _mouseOverColour.b);
}
return true;