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

Native Support for Plugins #41

Merged
merged 10 commits into from
Jan 18, 2024
Merged

Native Support for Plugins #41

merged 10 commits into from
Jan 18, 2024

Conversation

SirMallard
Copy link
Collaborator

Plugins are now supported, making it much easier to develop a plugin using Iris. An example file has been provided which contains all the necessary code needed to create a simple plugin.

Additions

New shutdown method

  • Destroys the root widget and cleans up any connections from any instances.
  • Cleans up any connections not from an instance (previously a memory leak).
  • The cycle connection is properly stopped to prevent it from running.

Changes

  • Some events have been moved to be connected on Init.
  • Added the Widget Utility to the Internal class.
  • Changed the behaviour of UseScreenGUIs so that when disabled it will use frames instead.
  • Rewrote input event on windows to scan all windows to determine if the mouse is in any window.
  • ShowDemoWindow now returns the window widget.

Fixes

  • Removed window size check.
  • Prevented some events running if Iris is not started.
  • Fixed Wrapped and RichText arguments not working if the global config was disabled.
  • Fixed some Types.
  • Fixed indentation.

@SirMallard SirMallard merged commit 1afa90b into main Jan 18, 2024
@SirMallard SirMallard deleted the plugin branch January 18, 2024 17:07
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

1 participant