-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename BaseState to WidgetState #969
Conversation
7cf7b60
to
66db763
Compare
CHANGELOG.md
Outdated
@@ -70,6 +70,7 @@ This means that druid no longer requires cairo on macOS and uses Core Graphics i | |||
- `SHOW_WINDOW` and `CLOSE_WINDOW` commands now only use `Target` to determine the affected window. ([#928] by [@finnerale]) | |||
- Replaced `NEW_WINDOW`, `SET_MENU` and `SHOW_CONTEXT_MENU` commands with methods on `EventCtx` and `DelegateCtx`. ([#931] by [@finnerale]) | |||
- Replaced `Command::one_shot` and `::take_object` with a `SingleUse` payload wrapper type. ([#959] by [@finnerale]) | |||
- Renamed `BaseState` to `WidgetState` ([#969] by [@cmyr]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BaseState
/ WidgetState
are not public API right? In that case this is not really a change for users.
I believe it should go into the Maintenance
section instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool, I think this should be ready to go now, pending CI.
66db763
to
ddeeca5
Compare
This is motivated by a desire to avoid some confusion with a future patch that adds a RootState struct to unify some of the other stuff shared between various contexts.
ddeeca5
to
5d1aa86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This is motivated by a desire to avoid some confusion with a
future patch that adds a RootState struct to unify some of the
other stuff shared between various contexts.