Skip to content
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

EventMgr, SetRectMgr, DrawMgr; misc #266

Merged
merged 26 commits into from
Jan 13, 2022
Merged

EventMgr, SetRectMgr, DrawMgr; misc #266

merged 26 commits into from
Jan 13, 2022

Conversation

dhardy
Copy link
Collaborator

@dhardy dhardy commented Jan 7, 2022

  • Clippy now runs on stable and nightly, without forcing warnings into errors on nightly
  • Renamed: Manager -> EventMgr, ManagerState -> EventState
  • Added: fn WidgetCore::identify(&self) returning a printable object (e.g. Canvas#0)
  • Added: fn WidgetChildren::is_strict_ancestor_of(&self, id: &WidgetId)
  • Layout::size_rules now takes size_mgr: SizeMgr parameter (new type wrapping SizeHandle)
  • Layout::set_rect now takes mgr: &mut SetRectMgr parameter (new type, able to construct SizeMgr and accept TkAction, constructible from EventMgr)
  • Layout::draw now takes parameter draw: DrawMgr (new type, able to construct SizeMgr, SetRectMgr and EventState
  • Move kas_core::draw::handle and kas_core::draw::theme private modules to new kas_core::theme module
  • Replace WidgetCore::input_state with EventMgr::draw_state
  • Fix closing non-parent popups when opening a new popup
  • Combine touch and mouse movement events within a single frame
  • Rename Quad::with_coords and with_pos_and_size to Quad::from_coords and from_pos_and_size
  • Add updatable data versioning
  • DragHandle is now never keyboard-navigable (simpler logic)
  • Some more methods have #[must_use]
  • Fix pop-up menu open/close on mouse hover

Also: fix bug in MatrixData::update impl for SharedRc<_>
This fixes lag when scrolling data-list-view by click on the
scrollbar with a large number of entries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant