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

Clean up window properties/interfaces. #972

Merged
merged 5 commits into from
Oct 3, 2019

Conversation

PJB3005
Copy link
Member

@PJB3005 PJB3005 commented Sep 30, 2019

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.

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.
Copy link
Member

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"

Copy link
Member Author

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.

@PJB3005
Copy link
Member Author

PJB3005 commented Oct 3, 2019

Build seems to be failing when generating the bindings, could you try to restart the build @varon?

System.AggregateException: One or more errors occurred. (The process cannot access the file 'C:\projects\opentk\src\OpenGL\2.0\InterfaceWithoutExtensions.cs' because it is being used by another process.) ---> System.IO.IOException: The process cannot access the file 'C:\projects\opentk\src\OpenGL\2.0\InterfaceWithoutExtensions.cs' because it is being used by another process.

@varon varon merged commit 3988936 into opentk:master Oct 3, 2019
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