Skip to content

Updating Win32 window contents during resizes by callbacks

License

Notifications You must be signed in to change notification settings

Neutrlno/SFML_Resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFML-resize

Updating Win32 window contents during resizes using callbacks specifically for SFML 2.6.0

This modification is based on the pull request by hobby8

The code has been slightly altered in WindowImplWin32.cpp: WM_PAIN changed to WM_TIMER. This alteration allows the window to receive callbacks even when the window size doesn't change (e.g. when the cursor is grabbed but not moved).

Download SFML 2.6.0, merge this repo into it, compile using CMake and VS. Example use case is in the main.cpp

About

Updating Win32 window contents during resizes by callbacks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages