void PG_CheckButton::SetUnpressed() { my_widgetButton->SetPressed(false); my_isPressed = false; Update(); // Notify parent sigClick(this, false); }
void kgmGuiButton::onMsLeftUp(int key, int x, int y) { sigClick(0); m_state = StateFocus; }