Refactor everything

We now hijack existing system functions to integrate with `WinMgr`,
instead of `Spawn`ing our own `SaphirTask`.

Also, you can now use `Saphir(Bool)` to toggle enable/disable the
features.

There is a global var `saphir` which values are set by `Defaults.HC` for
colors and other behaviors; these values can be changed at any time.
This commit is contained in:
Alec Murphy
2026-04-25 18:25:56 -04:00
parent 98b17d20fa
commit 1e379a1053
14 changed files with 374 additions and 346 deletions

13
Load.HC
View File

@@ -1,11 +1,12 @@
/* clang-format off */
#include "Patch";
#include "Win";
#include "KeyDev";
#include "Status";
#include "Saphir";
#include "M:/Saphir/Misc";
#include "M:/Saphir/Class";
#include "M:/Saphir/WinMgr";
#include "M:/Saphir/Cmd";
#include "M:/Saphir/KeyDev";
#include "M:/Saphir/Main";
/* clang-format on */
WinTileHorz;
#include "M:/Defaults";