Skip to content

💫 Example code to put an SDL window as the wallpaper on Windows

License

Notifications You must be signed in to change notification settings

TrAyZeN/sdl-wallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sdl-wallpaper

Example code to put an SDL window as the wallpaper on Windows

This code shows how to create an SDL window and put it as wallpaper. It has been done with an SDL window to easily draw inside it as an example, but the same code can be used with just any window when you have its handle.

Requirements

Build

Below path/to/SDL2/include corresponds to the directory containing the SDL2/ folder containing all the headers and path/to/SDL2/libs corresponds to the directory containing SDL2.lib.

git clone https://github.com/TrAyZeN/sdl-wallpaper.git
cd sdl-wallpaper
cmake . -DSDL2_INCLUDE_DIR:FILEPATH=path/to/SDL2/include -DSDL2_LIBRARY:FILEPATH=path/to/SDL2/libs

This should generate solution file, just open it with Visual Studio and build sdl-wallpaper.

Contributing

Contribution are welcomed

License

MIT TrAyZeN

About

💫 Example code to put an SDL window as the wallpaper on Windows

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published