Skip to content

Separate widget logic/state and rendering #10

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

Open
Tracked by #6
rafern opened this issue Nov 19, 2023 · 0 comments
Open
Tracked by #6

Separate widget logic/state and rendering #10

rafern opened this issue Nov 19, 2023 · 0 comments

Comments

@rafern
Copy link
Owner

rafern commented Nov 19, 2023

This allows for custom renderers, which might be better suited for the engine being used. For example:

  • text is usually the most noticeably low-res part of the UI
  • using mesh-based text when it's available (for example, in Wonderland Engine) would improve text quality a lot
  • however, that would mean that a custom version of the Label widget would have to be written to support Wonderland Engine

If rendering is separated from widget state/logic, then this improvement could be done while keeping the base library engine-agnostic, and not having to make a custom version of each widget that uses text just for Wonderland Engine

@rafern rafern mentioned this issue Nov 19, 2023
12 tasks
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

No branches or pull requests

1 participant