Skip to content

watsonmw/platform

Repository files navigation

Introduction

"platform" is a lightweight framework for writing graphical demos and screensavers on Windows.

The code abstracts away most Win32 internals, the idea being to keep most Win32-isms out of your projects, which is useful for porting or just improving the clarity of the code.

It contains utility classes for the following:

  • Multi monitor screen savers, with preview and config modes
  • Window creation and event interception
  • OpenGL render context creation, both fullscreen and windowed
  • Mouse and keyboard input
  • Storing and reading settings from a file or the registry
  • Threading
  • Parsing command line switches
  • Load image files
  • Debug logging
  • Directory listings/file info

Examples

Example programs are included under the "examples" directory.

  1. PhotoViewer - A GDI screen saver that displays images from the local drive.

  2. Matrix - A OpenGL screen saver that displays matrix style falling codes.

  3. TerrainDemo - An OpenGL application with a startup dialog, that demonstrates fullscreen and windowed OpenGL. The keyboard and mouse are used to control the camera.

About

Win32 Graphics Demo Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published