Move many widget classes to lib_ui.

This commit is contained in:
John Preston
2019-09-16 14:14:06 +03:00
parent dda587a2fc
commit 849deb57e2
189 changed files with 3750 additions and 2572 deletions
+2 -2
View File
@@ -111,12 +111,12 @@ void AbstractButton::setOver(bool over, StateChangeSource source) {
if (over && !(_state & StateFlag::Over)) {
auto was = _state;
_state |= StateFlag::Over;
RegisterLeaveSubscription(this);
Integration::Instance().registerLeaveSubscription(this);
onStateChanged(was, source);
} else if (!over && (_state & StateFlag::Over)) {
auto was = _state;
_state &= ~State(StateFlag::Over);
UnregisterLeaveSubscription(this);
Integration::Instance().unregisterLeaveSubscription(this);
onStateChanged(was, source);
}
updateCursor();