win-overlay 0.1.0

DirectX overlay for Windows written in Rust
docs.rs failed to build win-overlay-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

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));    
    });

}