libtcod
Loading...
Searching...
No Matches
txtfield.h File Reference

Text pad interface. More...

#include "color.h"
#include "console_types.h"
#include "portability.h"

Go to the source code of this file.

Typedefs

typedef struct TCOD_Text * TCOD_text_t

Functions

TCOD_text_t TCOD_text_init (int x, int y, int w, int h, int max_chars)
TCOD_text_t TCOD_text_init2 (int w, int h, int max_chars)
void TCOD_text_set_pos (TCOD_text_t txt, int x, int y)
void TCOD_text_set_properties (TCOD_text_t txt, int cursor_char, int blink_interval, const char *prompt, int tab_size)
void TCOD_text_set_colors (TCOD_text_t txt, TCOD_color_t fore, TCOD_color_t back, float back_transparency)
TCODLIB_BEGIN_IGNORE_DEPRECATIONS bool TCOD_text_update (TCOD_text_t txt, TCOD_key_t key)
TCODLIB_END_IGNORE_DEPRECATIONS void TCOD_text_render (TCOD_text_t txt, TCOD_console_t con)
const char * TCOD_text_get (TCOD_text_t txt)
void TCOD_text_reset (TCOD_text_t txt)
void TCOD_text_delete (TCOD_text_t txt)

Detailed Description

Text pad interface.