NAP
Public Member Functions | Public Attributes | List of all members
TextInputEvent Class Reference

#include <inputevent.h>

Public Member Functions

 TextInputEvent (const std::string &text, int window)
 
- Public Member Functions inherited from WindowInputEvent
 WindowInputEvent (int window)
 
- Public Member Functions inherited from Event
virtual ~Event ()=default
 
 Event ()=default
 
 Event (const Event &)=delete
 
Eventoperator= (const Event &)=delete
 

Public Attributes

std::string mText
 text input More...
 
- Public Attributes inherited from WindowInputEvent
int mWindow
 Window ID. More...
 

Description

Input event that holds a block of text

Inheritance diagram for TextInputEvent:
[legend]
Collaboration diagram for TextInputEvent:
[legend]

Constructor & Destructor Documentation

◆ TextInputEvent()

TextInputEvent ( const std::string &  text,
int  window 
)

Member Data Documentation

◆ mText

std::string mText

text input