Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
text_input.hpp File Reference

UTF-8 text typed during a frame, following the user's keyboard layout. More...

#include <aegis2d/platform/export.hpp>
#include <string>
#include <string_view>

Go to the source code of this file.

Classes

class  aegis2d::platform::TextInput
 UTF-8 text typed during a frame, following the user's keyboard layout. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::platform
 Window and input on top of SDL3, independent of the graphics API (client only).
 

Functions

bool aegis2d::platform::pop_back_utf8 (std::string &text) noexcept
 Removes the last UTF-8 code point of a string, as Backspace does.
 

Detailed Description

UTF-8 text typed during a frame, following the user's keyboard layout.