This is a very basic library for drawing text and simple shapes over other windows using a transparent overlay window. It supports Linux distributions using X11 only. This has been tested on Ubuntu 24.04 with Gnome/Mutter (use a "Ubuntu on Xorg" session)
I originally used this as part of cheat software for the game Rust. See my post here for information on implementing 3D projection in software. This is now part of my external aimbot project.
- Cairo
- Xlib
- libXfixes
- libXcomposite
For Ubuntu 17.10:
sudo apt-get update; sudo apt-get install -y libcairo2 libcairo2-dev libcairo2-doc libx11-6 libx11-dev libx11-doc libxfixes3 libxfixes-dev libxcomposite1 libxcomposite-dev
git clone https://github.com/shaggyrogers/X11Overlay.git
cd X11Overlay/
make
- "make" will build the library
- "make test" will build the test program (main.cpp)
- "make python" will build the python interface (overlay.so)
See python example script
- Does not update target window position
- Overlay window might flicker
- Misc. minor bugs
- Colors are incorrectly reset by overlapping elements
- Unfilled circles are incorrectly drawn with a radial line
- Fix bugs
- Cleanup/refactor
- Add tests
MIT - see LICENSE.md