Update
This commit is contained in:
@@ -41,13 +41,15 @@ typedef struct {
|
||||
void init_editor(TextEditor *editor, BitmapFont *font, int x, int y, SDL_Renderer *renderer);
|
||||
|
||||
// Insert a new line at a specific position
|
||||
void insert_line(TextEditor *editor, int position, const char *text);
|
||||
void insert_line(TextEditor *editor, int position, const char *text, SDL_Renderer *renderer);
|
||||
|
||||
// Insert a new line at a specific position
|
||||
void insert_line_rel(TextEditor *editor);
|
||||
void insert_line_rel(TextEditor *editor, SDL_Renderer *renderer);
|
||||
|
||||
void editor_render(TextEditor *editor, SDL_Renderer * renderer);
|
||||
|
||||
void remove_character(TextEditor *editor, SDL_Renderer *renderer);
|
||||
|
||||
// Insert a character at the current cursor position
|
||||
void insert_character(TextEditor *editor, char ch, SDL_Renderer *renderer);
|
||||
|
||||
|
Reference in New Issue
Block a user