Skip to content

Clean up Window interface #189

@hhirsch

Description

@hhirsch

The Window class is messy to use.

  • When you use it without running setConfig you'll do method calls on nullptrs leading to segfaults
  • There is input code crammed in there

We want the following changes:

  • Erase dependency to the Config class altogether using reasonable defaults, setters and an intermediate (named WindowConfigurator) class that applies config values to setters of the Window class.
  • Move the input handling stuff to a different class
  • Dramatically decrease LOC in Window class
  • Move main functions to source/core/gl
  • Possibly move into own repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions