HikoGUI
A low latency retained GUI
|
Defines delegate_delegate and some default text delegates. More...
#include "../observer/observer.hpp"
#include "../utility/utility.hpp"
#include "../concurrency/concurrency.hpp"
#include "../dispatch/dispatch.hpp"
#include "../GUI/GUI.hpp"
#include "../macros.hpp"
#include "../unicode/unicode.hpp"
#include "../l10n/l10n.hpp"
#include <string>
#include <memory>
#include <functional>
Go to the source code of this file.
Data Structures | |
class | hi::v1::text_delegate |
A delegate that controls the state of a text_widget. More... | |
class | hi::v1::default_text_delegate< char const * > |
A default text delegate specialization for std::string . More... | |
class | hi::v1::default_text_delegate< std::string > |
A default text delegate specialization for std::string . More... | |
class | hi::v1::default_text_delegate< gstring > |
A default text delegate specialization for gstring . More... | |
class | hi::v1::default_text_delegate< txt > |
A default text delegate specialization for translate . More... | |
Namespaces | |
namespace | hi |
The HikoGUI namespace. | |
namespace | hi::v1 |
The HikoGUI API version 1. | |
Functions | |
hi_export_module (hikogui.widgets.text_delegate) | |
template<typename Value > requires requires { default_text_delegate<observer_decay_t<Value>>{std::forward<Value>(value)}; } | |
std::shared_ptr< text_delegate > | hi::v1::make_default_text_delegate (Value &&value) noexcept |
Create a shared pointer to a default text delegate. | |
Defines delegate_delegate and some default text delegates.