Skip to content

shinymonitor/picofb.h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

picofb.h

A minimal single-header cross-platform library for displaying a framebuffer on screen with multi input and mouse handling

Features

  • Simple API
  • Multi key and mouse input
  • Many implementations (Auto backend select):
    • X11: Linux/X11 only
    • WIN32: Windows only
    • SDL2: Cross-platform (Linux/Windows/Mac), Slower, Fallback
  • Save framebuffer to PPM image format

Use cases

  • Software rendered applications (UI, Games)
  • Easy render testing

Usage

See example.c and docs section in picofb.h

Compilation

Link with:

  • Linux/X11: -lX11
  • Windows: None
  • Others: -SDL2

About

A single header library to quickly display a framebuffer with multi input handling

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages