Commit 681cf61
dave horner
feat(e_window_hydra): add e_window_hydra demo for grid-aligned Chrome Hydra sketches. Runs a random example from https://hydra.ojack.xyz/?sketch_id=example
- Added `e_window_hydra.rs` binary to launch Chrome with Hydra sketches, pinning the window to a grid-aligned region. NOTE: debugchrome-cdp-rs is must be installed and is not automated.
- Implemented `position_grid.rs` for drawing and interacting with character-sized egui grids.
- Added `position_grid_manager.rs` to manage grid-to-screen translation and HWND alignment.
- Integrated mouse click simulation and window z-order control for precise positioning.
- Included `position_grid_demo.rs` as a secondary example of PositionGrid usage.12 files changed
Lines changed: 1544 additions & 415 deletions
File tree
- addendum/e_window
- examples
- src
- bin
- cargo-e
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
0 commit comments