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 text;
14#[allow(dead_code)]
15mod vertex;
16
17#[cfg(target_os = "windows")]
18mod overlay;
19#[cfg(target_os = "windows")]
20mod renderer;
21#[cfg(target_os = "windows")]
22mod window;
23
24pub use color::Color;
25pub use error::{Error, Result};
26pub use text::{TextAlign, TextStyle};
27
28#[cfg(target_os = "windows")]
29pub use input::{InputEvent, InteractionMode, KeyState, MouseButton};
30#[cfg(target_os = "windows")]
31pub use overlay::Overlay;
32#[cfg(target_os = "windows")]
33pub use window::OverlayTarget;