Skip to content

bl1tmaps/Pixel-Window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixel Window

A minimal, header only C, cross platform window-spawning library. Provides a buffer of RGB pixels, mouse, and realtime keyboard, and Sprite Text on Mac OS, Linux X11/Wayland, and Windows (Win32). All CPU rendered, and cross-architecture.

Examples

You include pixel_window.h and you are good to go! See CMakeLists.txt for any linking considerations

The core premise:

    // ...
    PixelWindow* win = pw_create_window(width, height, "Interactive Pixel Window", false);
    
    // ...
    while (something) {
        // ...
        pw_update_window(win, rgb_buffer);
        // ...
    }

see main.cpp for an example.

Mac OS on ARM + Metal

MacOS

Windows XP on i386 + VESA

Windows

Building Example Program

cmake -B build .
cd build
make

About

Minimal Pixel Buffer Window on Windows, Mac and Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors