PaintMain
Entry point for the standalone Paint application.
| Group | paint |
Declared in src/paint/PaintMain.hpp.
Detailed description
Paint runs on its own and as a part of HUB (owner, 2026-10-17: "paint should work standalone as well as being a feature of hub just like construct or bahn"). Both hosts run the same PaintActivity on an ActivityStack, with the same pages around it: one code path, reached two ways, as Bahn does.
The standalone host has no node, so it has no sentient and no swarm. PaintActivity keeps its canvases in the node-agnostic data folder of the app, and the swarm canvas stays a local mirror. Sharing a canvas with other devices is what HUB adds.
PaintMain lives in the program, not in libpaint. In libpaint it would make the library include libstandalone, whose headers reach libconstruct and libmesh, and add include edges that no Depends of libpaint covers (analyze-deps, §WFD-RL-78).
The activity is PaintActivity.