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

Integrate Egui UI #69

Closed
4 tasks done
zicklag opened this issue Jun 21, 2022 · 3 comments
Closed
4 tasks done

Integrate Egui UI #69

zicklag opened this issue Jun 21, 2022 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@zicklag
Copy link
Member

zicklag commented Jun 21, 2022

We need to integrate Egui instead of RAUI for UI.

It should be trivial to just re-use the existing bevy egui plugin.

  • Integrate Egui plugin
  • Implement with 9-patch widget for Egui
  • Implement image-themed buttons
  • Implement retro-font handling
@zicklag zicklag added the enhancement New feature or request label Jun 21, 2022
@zicklag zicklag added this to the 0.3 milestone Jun 21, 2022
@zicklag
Copy link
Member Author

zicklag commented Jun 22, 2022

OK, Egui is turning out way easier to use than RAUI!

The immediate mode nature get's rid of a lot of the complications of RAUI and makes modifying the ECS world so easy right inside the UI.

Also, I've just finished creating a 9-patch style frame for Egui:

image

It's super simple for the user to use, which is great. Now we've just got to get checkboxes, and buttons, and fonts.

@zicklag
Copy link
Member Author

zicklag commented Jun 22, 2022

Got buttons working!

Image

Decided to skip checkboxes for now, because I don't think we're going to use them right away.

That leaves font rendering left.

@zicklag
Copy link
Member Author

zicklag commented Jun 23, 2022

It's all working!

ui

@zicklag zicklag closed this as completed Jun 23, 2022
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