ref: 1dc9e6722254bd508e4759853228b638f8e43d52
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);