Skip to content

Dynamic window abstraction #641

Closed
Closed
@eliaspekkala

Description

@eliaspekkala

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WindowingPlatform-agnostic interface layer to run your app inC-FeatureA new feature, making something new possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions