src/textbuf_gui.h
changeset 8710 52015340050c
parent 8620 5f1eacb0bc60
child 9233 4daa9bb8dbf7
equal deleted inserted replaced
8709:4187ad809fe7 8710:52015340050c
     3 /** @file textbuf_gui.h Stuff related to the text buffer GUI. */
     3 /** @file textbuf_gui.h Stuff related to the text buffer GUI. */
     4 
     4 
     5 #ifndef TEXTBUF_GUI_H
     5 #ifndef TEXTBUF_GUI_H
     6 #define TEXTBUF_GUI_H
     6 #define TEXTBUF_GUI_H
     7 
     7 
     8 #include "string.h"
       
     9 #include "window_type.h"
     8 #include "window_type.h"
       
     9 #include "string_type.h"
    10 
    10 
    11 struct Textbuf {
    11 struct Textbuf {
    12 	char *buf;                  ///< buffer in which text is saved
    12 	char *buf;                  ///< buffer in which text is saved
    13 	uint16 maxlength, maxwidth; ///< the maximum size of the buffer. Maxwidth specifies screensize in pixels, maxlength is in bytes
    13 	uint16 maxlength, maxwidth; ///< the maximum size of the buffer. Maxwidth specifies screensize in pixels, maxlength is in bytes
    14 	uint16 length, width;       ///< the current size of the string. Width specifies screensize in pixels, length is in bytes
    14 	uint16 length, width;       ///< the current size of the string. Width specifies screensize in pixels, length is in bytes