-
Notifications
You must be signed in to change notification settings - Fork 627
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
Clean up window properties/interfaces. #972
Conversation
Windows interfaces have been collapsed into IGameWindow/INativeWindow. Removed/updated some properties on NativeWindowSettings to make more sense. Fixed some property applications such as visibility being AFTER window creation.
@@ -15,7 +15,7 @@ namespace OpenToolkit.Windowing.Common | |||
/// <summary> | |||
/// Defines the interface for a GameWindow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the most hilariously bad doc comment ever.
Can we briefly explain how IGameWindow differs from INativeWindow?
"IGameWindow provides a game update loop and corresponding events on top of INativeWindow"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer doing that in another PR, since I'll probably touch the exact separation between Game and NativeWindow anyways, it'd be better to do it then.
src/Windowing/OpenToolkit.Windowing.Common/Interfaces/INativeWindow.cs
Outdated
Show resolved
Hide resolved
Build seems to be failing when generating the bindings, could you try to restart the build @varon?
|
Windows interfaces have been collapsed into IGameWindow/INativeWindow.
Removed/updated some properties on NativeWindowSettingsto make more sense.
Fixed some property applications such as visibility being AFTER window creation.