libdonut  2.3.2
Application framework for cross-platform game development in C++20
Public Attributes | List of all members
donut::events::TextInputEditedEvent Struct Reference

Text input was edited. More...

#include <donut/events/Event.hpp>

Inheritance diagram for donut::events::TextInputEditedEvent:
donut::events::TextInputEventBase donut::events::InputEventBase donut::events::EventBase

Public Attributes

std::int32_t textCursorOffset
 The cursor offset of the start of the selected text. More...
 
std::int32_t textCursorSelectionLength
 The length of the current text selection, if any. More...
 
- Public Attributes inherited from donut::events::TextInputEventBase
std::string inputText
 Input text. More...
 
- Public Attributes inherited from donut::events::InputEventBase
std::uint32_t windowId
 Unique identifier of the window that this event belongs to, if any. More...
 

Detailed Description

Text input was edited.

Member Data Documentation

◆ textCursorOffset

std::int32_t donut::events::TextInputEditedEvent::textCursorOffset

The cursor offset of the start of the selected text.

◆ textCursorSelectionLength

std::int32_t donut::events::TextInputEditedEvent::textCursorSelectionLength

The length of the current text selection, if any.


The documentation for this struct was generated from the following file: