shithub: widget

ref: e74727d7e806863494a92d4b5cdcefdeee7495e9
dir: /libwidget/textbox.h/

View raw version
/*** Textbox ***/

typedef struct Textbox Textbox;

struct Textbox
{
	Widget;

	Font *font;
	String *content;
	Point lastpt;
	int selectable;
	int editable;
};

int istextbox(Widget*);

Textbox* newtextbox(int selectable, int editable, Font*, char *content);