SDOM - Simple SDL Document Object Model
A lightweight, extensible Document Object Model for SDL-based applications.
Loading...
Searching...
No Matches
SDOM_TriStateCheckbox.hpp File Reference

Go to the source code of this file.

Classes

class  SDOM::TriStateCheckbox
 
struct  SDOM::TriStateCheckbox::InitStruct
 

Namespaces

namespace  SDOM
 Contains all core classes and utilities for the SDOM library.
 

Enumerations

enum class  SDOM::TriState : int { SDOM::Unchecked = 0 , SDOM::Checked = 1 , SDOM::Indeterminate = 2 }
 

Functions

static std::optional< std::string > SDOM::tristate_name_from_index (TriState idx)
 
static std::optional< TriStateSDOM::tristate_index_from_name (const std::string &name)
 

Variables

static const std::unordered_map< int, std::string > SDOM::tristate_to_string
 
static const std::unordered_map< std::string, int > SDOM::tristate_string_to_index