UIFrame *UITexture::processLeftClick(float /*mx*/, float /*my*/) { if (clickFunc) { clickFunc(this, id); return this; } return 0; }
bool hgeGUIMenuItem::MouseLButton(bool bDown) { if (!bDown) { clickFunc(this); isPressed = false; return true; } else { isPressed = true; return false; } }