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

Rename Draw/SizeHandle → ThemeDraw/Size; revise SizeMgr; #[extends] macro for ThemeDraw #327

Merged
merged 13 commits into from
Jun 10, 2022

Conversation

dhardy
Copy link
Collaborator

@dhardy dhardy commented Jun 10, 2022

New feature: ThemeDraw implementations may be an extension over a specified "base" theme (omitted methods use shims around base). This uses a macro, which shouldn't be necessary but the alternative (outlined in code doc) requires three features missing from stable Rust.

Other:

  • Rename DrawHandleThemeDraw and SizeHandleThemeSize
  • Add kas::theme::Feature enum
  • Replace most methods in SizeMgr and ThemeSize with two new ones: (size rules of) feature, and align_feature
  • Unhandled message warnings now include type
  • Remove "glow" shadows from FlatTheme in dark mode

@dhardy dhardy merged commit bb46d25 into master Jun 10, 2022
@dhardy dhardy mentioned this pull request Jun 10, 2022
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