AChar#
Represents a single 32-bit char.
| Header: | #include <AUI/Common/AChar.h> |
| CMake: | aui_link(my_target PUBLIC aui::core) |
Examples#
examples/app/notes/src/main.cpp
Notes App — Note taking app that demonstrates usage of AListModel, AProperty, user data saving and loading.
examples/ui/contacts/src/main.cpp
AUI Contacts — Usage of AUI_DECLARATIVE_FOR to make a contacts-like application.
using namespace std::chrono_literals;
static constexpr auto CONTACTS_SORT = ranges::actions::sort(std::less {}, [](const _<Contact>& c) -> decltype(auto) { return *c->displayName; });
static AChar groupLetter(const AString& s) {
return s.empty() ? AChar(U'_') : s.utf8().first();
}
class ContactsWindow : public AWindow {
public: