win-overlay

Crates.iowin-overlay
lib.rswin-overlay
version0.1.0
sourcesrc
created_at2021-08-20 14:11:53.320886
updated_at2021-08-20 14:11:53.320886
descriptionDirectX overlay for Windows written in Rust
homepage
repository
max_upload_size
id439992
size13,345
Zor (zorftw)

documentation

README

win-overlay (-rs)

DirectX overlay written in Rust for various projects, wanted to easily create overlays across projects so decided to write my own implementation in Rust.

dependencies

  • winapi
  • lazy_static

usage


//....
use win_overlay::Overlay;

pub fn main() {

    let overlay = Overlay::create_overlay(/**/);

    // Note: this enters a loop.
    overlay.draw(&|| {
        overlay.draw_filled_box(0, 0, 100, 100, D3DCOLOR_RGBA(255,0,0,255));    
    });

}
Commit count: 0

cargo fmt