Skip to content

Make hints more idiomatic #638

Open
Open
@phrohdoh

Description

@phrohdoh

Current

sdl2::hint::set("SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS", "0");

Idea

// if this belongs in sdl2::video, then we'll use that
// or if there is a better place for the enum, great
sdl2::hint::set(sdl2::hint::Hint::MinimizeOnFocusLoss, false);

If this is desired let me know and I'll try to make time for an implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions