ZenitUI
Retained-mode C++20 UI framework
Loading...
Searching...
No Matches
Checkbox.hpp File Reference

A boolean checkbox with a drawn check mark. More...

#include "Common.hpp"
#include "Layout.hpp"

Go to the source code of this file.

Classes

class  ZenitUI::UI::Checkbox
 A checkbox with a custom-painted check mark. More...

Detailed Description

A boolean checkbox with a drawn check mark.

The visual is drawn directly by renderContent (a filled rounded rect for the box, plus a small white square for the check mark when checked). Theme rules can override both through the ::box and ::mark pseudo-elements.