1 /* aNetHack 0.0.1 mhtxtbuf.h $ANH-Date: 1432512799 2015/05/25 00:13:19 $ $ANH-Branch: master $:$ANH-Revision: 1.9 $ */
2 /* Copyright (C) 2001 by Alex Kompel */
3 /* aNetHack may be freely redistributed. See license for details. */
5 #ifndef MSWINTextBuffer_h
6 #define MSWINTextBuffer_h
10 typedef struct mswin_anethack_text_buffer
*PNHTextBuffer
;
11 PNHTextBuffer
mswin_init_text_buffer(BOOL wrap_text
);
12 void mswin_free_text_buffer(PNHTextBuffer pb
);
13 void mswin_add_text(PNHTextBuffer pb
, int attr
, const char *text
);
14 void mswin_set_text_wrap(PNHTextBuffer pb
, BOOL wrap_text
);
15 BOOL
mswin_get_text_wrap(PNHTextBuffer pb
);
16 void mswin_render_text(PNHTextBuffer pb
, HWND edit_control
);
18 #endif /* MSWINTextBuffer_h */