window
a hand drawn 2d gui lib for windows, from ahk or from c++
a 2d gui lib for windows, hand drawn, no native controls anywhere. every pixel of a window is rasterised by us, the titlebar included. it targets widgets and overlays first, a bar across the screen, a floating card, an always on top hud, and full app windows with resize and aero snap are in scope too
which door is yours
| you are | you want | start at |
|---|---|---|
| writing a stock ahk v2 script | Kit, the wrapper over the dll, no DllCall anywhere | the ahk side |
| writing c++ | the real api, raii, value types, no marshalling | the c++ api |
| binding another language | the flat c exports and their handles | the c abi |
new to the lib entirely, start here instead, it is four pages and it ends with a window on your screen
the one rule
the draw layer only ever sees a pointer and a stride. it never knows or cares where those pixels end
up, which is why the same drawing code goes out through UpdateLayeredWindow, a plain BitBlt or a
DirectComposition swapchain. the ideology is the long version