|
HikoGUI
A low latency retained GUI
|
Data Structures | |
| struct | loop_info |
Public Types | |
| using | scope = std::unordered_map<std::string, datum> |
| using | stack = std::vector<scope> |
Public Member Functions | |
| void | write (std::string_view text) noexcept |
| Write data to the output. | |
| ssize_t | output_size () const noexcept |
| Get the size of the output. | |
| void | set_output_size (ssize_t new_size) noexcept |
| Set the size of the output. | |
| void | enable_output () noexcept |
| void | disable_output () noexcept |
| void | loop_push (ssize_t count=-1, ssize_t size=-1) noexcept |
| void | loop_pop () noexcept |
| void | push () |
| void | pop () |
| bool | has_locals () const noexcept |
| scope const & | locals () const |
| scope & | locals () |
| datum const & | loop_get (std::string_view name) const |
| datum const & | get (std::string const &name) const |
| datum & | get (std::string const &name) |
| template<typename T > | |
| void | set_local (std::string const &name, T &&value) |
| template<typename T > | |
| void | set_global (std::string const &name, T &&value) |
| datum & | set (std::string const &name, datum const &value) |
Data Fields | |
| ssize_t | output_disable_count = 0 |
| std::string | output |
| stack | local_stack |
| std::vector< loop_info > | loop_stack |
| scope | globals |
|
inlinenoexcept |
Get the size of the output.
Used if you need to reset the output to a previous position.
Set the size of the output.
Used if you need to reset the output to a previous position.
|
inlinenoexcept |
Write data to the output.