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

More API improvements. #491

Open
wants to merge 1 commit into
base: 1.16
Choose a base branch
from

Conversation

Speiger
Copy link
Contributor

@Speiger Speiger commented May 27, 2021

-Added: A way to create a Panel without adding it into the probe.
-Added: Turning a ProbeInfo into a Element so you can actually add it without a unsave cast.

Reason i add this:
If you want to fully control how elements are added you have to use the API implementation there is no way to add a element without 5 extra steps to just create a panel without adding it to the current info.

Also this new feature requires that IProbeInfos are convertable to IElement so you can actually add them.

This provides a lot more control.

Note: This could break custom implementations if they didn't implement the new API methods.
Another note: This technically could be moved into the "Style" Creator API if wanted. But this would not work idealy with dynamic data. Though maybe i am adding that later to it.

-Added: A way to create a Panel without adding it into the probe.
-Added: Turning a ProbeInfo into a Element so you can actually add it without a unsave cast.
@Speiger
Copy link
Contributor Author

Speiger commented Jan 19, 2022

@McJty do you plan to implement something like this into your "IStyleManager" or create like something "IElementManager"?
So panels can be created without having to access the implementation to create a panel?

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