Skip to content
/ XWrap Public

simple X11 wrapper written in C for C/C++ for beginners

Notifications You must be signed in to change notification settings

ishay320/XWrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XWrap: A Simple C Wrapper Renderer for X11

XWrap is a lightweight and user-friendly C/C++ library designed for rendering simple graphics, including images, on X11 window systems. It offers a straightforward and intuitive API for creating windows, drawing lines and shapes, handling user input events, and rendering images.

Key Features:

  • Single Header: The library is conveniently packaged in a single header file, making it easy to include and use in your projects.
  • Automatic Linking: XWrap can automatically link with X11, eliminating the need for manual linking during the compilation process. This feature allows for seamless integration with X11 without requiring additional configuration.
  • Simplicity: XWrap focuses on providing a simple interface without an overwhelming number of options. For more advanced functionality, you can utilize the features offered by X11 directly.

Alt text

Dependency

To use XWrap, you can take advantage of its auto-linking feature. However, if you prefer to link X11 manually or if you need more advanced X11 functionality, you will need to have the libx11-dev library installed for standard linking. You can install it using the following command:

$ sudo apt install libx11-dev

Please note that if you choose to use XWrap's auto-linking feature, the installation of libx11-dev is not required, you only need to have X11 in your system.

About

simple X11 wrapper written in C for C/C++ for beginners

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages