#overlay #direct-x #win #windows

win-overlay

使用 Rust 编写的 Windows DirectX 监视器

1 个不稳定版本

0.1.0 2021 年 8 月 20 日

#556图形 API

Apache-2.0

13KB
294

win-overlay (-rs)

使用 Rust 编写的 DirectX 监视器,为各种项目编写,希望在不同项目之间轻松创建监视器,因此决定使用 Rust 编写自己的实现。

依赖项

  • winapi
  • lazy_static

使用方法


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

}

依赖项

~225KB