Add support for getting and setting window states with size overload by eXpl0it3r · Pull Request #3501 · SFML/SFML · GitHub
Skip to content

Add support for getting and setting window states with size overload#3501

Draft
eXpl0it3r wants to merge 3 commits intomasterfrom
feature/set_states_with_size
Draft

Add support for getting and setting window states with size overload#3501
eXpl0it3r wants to merge 3 commits intomasterfrom
feature/set_states_with_size

Conversation

@eXpl0it3r
Copy link
Copy Markdown
Member

@eXpl0it3r eXpl0it3r commented May 3, 2025

Description

This is an alternative/extended API design for #3496.
Main description & discussion on the other PR

sf::WindowBase implements the following three functions:

  • setState(sf::State state)
  • setState(sf::State state, sf::Vector2u size)
  • sf::State getState()

Comment thread include/SFML/Window/WindowBase.hpp Outdated
Comment thread include/SFML/Window/WindowBase.hpp Outdated
Comment thread include/SFML/Window/WindowBase.hpp Outdated
@ChrisThrasher ChrisThrasher force-pushed the feature/set_states_with_size branch from 7f72379 to 9412d67 Compare June 8, 2025 17:09
@ChrisThrasher
Copy link
Copy Markdown
Member

@ChrisThrasher ChrisThrasher force-pushed the feature/set_states_with_size branch 2 times, most recently from 4a88208 to 12a4516 Compare June 8, 2025 17:24
@github-project-automation github-project-automation Bot moved this to Planned in SFML 3.2.0 Jun 19, 2025
@eXpl0it3r eXpl0it3r added this to the 3.2 milestone Aug 28, 2025
@JonnyPtn
Copy link
Copy Markdown
Contributor

JonnyPtn commented Feb 7, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Planned

Development

Successfully merging this pull request may close these issues.

3 participants