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

Dynamic window abstraction #641

Closed
eliaspekkala opened this issue Oct 7, 2020 · 3 comments
Closed

Dynamic window abstraction #641

eliaspekkala opened this issue Oct 7, 2020 · 3 comments
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Feature A new feature, making something new possible

Comments

@eliaspekkala
Copy link
Contributor

Bevy's window abstraction isn't very dynamic; it doesn't let you set window properties on demand like you can with Winit. This means you have to use the Winit API directly (though WinitWindows) to do things like mouse grabbing (see #614).

@cart said the following about this issue:

In the medium term, we need to revisit our Window abstraction and either:

  1. Expose a way to easily / dynamically set window properties at runtime
  2. Fully embrace Winit as our windowing abstraction (which implicitly means that we must extend Winit whenever we want to support new platforms, such as consoles). This is a pretty big commitment, so I'm pretty hesitant to do this. But it would certainly simplify the code / immediately expose a bunch of nice features.
@karroffel
Copy link
Contributor

It seems like #644 is relevant here

@karroffel karroffel added C-Feature A new feature, making something new possible A-Windowing Platform-agnostic interface layer to run your app in labels Oct 7, 2020
@cart
Copy link
Member

cart commented Oct 7, 2020

I just left some comments there about the various paths we can take.

@cart
Copy link
Member

cart commented Oct 15, 2020

Closed by #644

@cart cart closed this as completed Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Windowing Platform-agnostic interface layer to run your app in C-Feature A new feature, making something new possible
Projects
None yet
Development

No branches or pull requests

3 participants