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

Detach Mui from GuiScreenWrapper #64

Merged
merged 12 commits into from
Sep 1, 2024
Merged

Detach Mui from GuiScreenWrapper #64

merged 12 commits into from
Sep 1, 2024

Conversation

brachy84
Copy link
Member

With this PR ModularScreen is much less bound to GuiScreenWrapper. Now any GuiScreen will work as long as it implements IMuiScreen. Everything GuiScreenWrapper is now handled by events and accessor mixins. This would allow ModularScreens to be used in almost any context. Additionally this pr offers a overlay api. It allows adding ModularScreens as overlay on any GuiScreen.

@brachy84 brachy84 added this to the 2.5.0 milestone Jul 25, 2024
@brachy84 brachy84 marked this pull request as ready for review September 1, 2024 09:39
@brachy84 brachy84 merged commit 47cf883 into master Sep 1, 2024
@brachy84 brachy84 deleted the detach-mui branch September 1, 2024 11:19
miozune pushed a commit to GTNewHorizons/ModularUI2 that referenced this pull request Sep 6, 2024
* detach GuiScreenWrapper

* fix mouse input

* slightly scuffed gui overlays

* fix text widget for unusual scales

* lots of small stuff

* setup tests & own matrix and vector impl

* dont use deprecated field

* move overlay test to own class

* test button overlapping

* allow creating custom gui wrappers from UIFactory

* helpers & javadoc for ui factories

(cherry picked from commit 47cf883)
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