ref: bbb4d415885680a85ddef6dc66238af7a13639d6
dir: /src/pt2_textedit.h/
#pragma once #include <stdint.h> #include <stdbool.h> #include <SDL2/SDL.h> void renderTextEditCursor(void); void removeTextEditCursor(void); void editTextPrevChar(void); void editTextNextChar(void); void handleTextEditing(uint8_t mouseButton); void enterTextEditMode(int16_t editObject); void enterNumberEditMode(uint8_t type, int16_t editObject); void leaveTextEditMode(bool updateValue); void handleTextEditInputChar(char textChar); bool handleTextEditMode(SDL_Scancode scancode);