mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
The Paintbrush with a brush whose Size or Width is on Stylus Wheel with a range the wheel can change, or the Eraser with a value on Stylus Wheel and a variation above 0, uses the wheel. The app asks the active tool (Tool::reads_wheel) once a frame and tells the host when the answer changes (Services::stylus_wheel). Until a tool uses the wheel, a pen message loads no Wintab32.dll, installs no hook, subclasses no window and opens no context; when it stops, the context closes.