namespace hiro { struct Settings : Configuration::Document { vector keycodes; struct Geometry : Configuration::Node { signed frameX; signed frameY; signed frameWidth; signed frameHeight; signed menuHeight; signed statusHeight; } geometry; struct Window : Configuration::Node { unsigned backgroundColor; } window; void load(); void save(); Settings(); }; static Settings* settings = nullptr; }