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

Dynamic UI System #53

Open
PepperLola opened this issue Aug 7, 2022 · 2 comments
Open

Dynamic UI System #53

PepperLola opened this issue Aug 7, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@PepperLola
Copy link
Owner

Add a dynamic UI system that allows one to programmatically create a UI for an easier and more streamlined development process, and a more unified user experience. For example, this would mean a wrapper around the built-in Minecraft UI classes that provides an easy to use API for creating UI screens with custom components.

@PepperLola
Copy link
Owner Author

Changes

Added dynamic label, button, checkbox, spacer, and horizontal/vertical stack. Interacting with elements works, positioning them, adding them to a stack, etc. Also created Armor GUI dynamically.

TODO

  • Label/text scaling while still accurately measuring the dimensions (maybe just multiply base dimensions by scale factor?)
  • Add all other components from old UI widgets
  • Create all GUIs dynamically and attain parity between the systems (then delete the old one)

@PepperLola PepperLola self-assigned this Aug 7, 2022
@PepperLola PepperLola added the enhancement New feature or request label Aug 7, 2022
@PepperLola
Copy link
Owner Author

Changes

  • Created Armor Status Mod GUI

TODO

  • Label/text scaling needs to be fixed for larger text
  • Add all other components from old UI widgets (color picker, etc.)
  • Create all other GUIs dynamically and attain parity between the systems (then delete the old one)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant