Skip to main content

procmod_overlay/
lib.rs

1//! Cross-platform game overlay rendering with transparent, click-through windows.
2//!
3//! `procmod-overlay` creates a transparent overlay window on top of a target game window
4//! and provides an immediate-mode 2D drawing API for shapes, text, and game HUD elements.
5
6mod color;
7mod error;
8#[allow(dead_code)]
9mod font;
10#[cfg(target_os = "windows")]
11mod input;
12#[allow(dead_code)]
13mod vertex;
14
15#[cfg(target_os = "windows")]
16mod overlay;
17#[cfg(target_os = "windows")]
18mod renderer;
19#[cfg(target_os = "windows")]
20mod window;
21
22pub use color::Color;
23pub use error::{Error, Result};
24
25#[cfg(target_os = "windows")]
26pub use input::{InputEvent, InteractionMode, KeyState, MouseButton};
27#[cfg(target_os = "windows")]
28pub use overlay::Overlay;
29#[cfg(target_os = "windows")]
30pub use window::OverlayTarget;