Skip to content

Commit 27b49b7

Browse files
committed
Add base text input system
1 parent 0edbf63 commit 27b49b7

File tree

6 files changed

+489
-0
lines changed

6 files changed

+489
-0
lines changed

desktop_version/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ set(VVV_SRC
101101
src/Spacestation2.cpp
102102
src/TerminalScripts.cpp
103103
src/Textbox.cpp
104+
src/TextInput.cpp
104105
src/Tower.cpp
105106
src/UtilityClass.cpp
106107
src/WarpClass.cpp

desktop_version/src/KeyPoll.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include "LocalizationStorage.h"
1313
#include "Music.h"
1414
#include "Screen.h"
15+
#include "TextInput.h"
1516
#include "UTF8.h"
1617
#include "Vlogging.h"
1718

@@ -142,6 +143,7 @@ void KeyPoll::Poll(void)
142143
SDL_Event evt;
143144
while (SDL_PollEvent(&evt))
144145
{
146+
TextInput::handle_events(evt);
145147
switch (evt.type)
146148
{
147149
/* Keyboard Input */

0 commit comments

Comments
 (0)