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

Changes in preparation for global menu support #643

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

aaronfranke
Copy link
Sponsor Contributor

This PR makes a few changes and additions to the way actions are done in GodSVG. Now basically all functionality found in the top buttons also have an input action associated with them. Many of these input actions do not have a key bound to them, but they could be bound in the future, either out of the box, or allowing users to bind them.

Aside from input actions, this PR also adds a few signals, adds a few public methods to change state normally only accessible through buttons, and makes a few style enhancements.

These changes are designed to allow support for global menu integration in the future. However, I decided to future-proof and use the new API available only in Godot 4.3 or later, thus why I am splitting this into 2 PRs. For this first PR, everything in here is compatible with Godot 4.2.x. For what the full global menu support will look like, check out this branch: https://github.com/aaronfranke/GodSVG/tree/global-menu

@MewPurPur MewPurPur merged commit 3209fec into MewPurPur:main Apr 9, 2024
1 check passed
@MewPurPur
Copy link
Owner

Thanks!

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.

None yet

2 participants