+struct GadgetTextArea
+{
+ char value[MAX_GADGET_TEXTSIZE + 1]; /* text string in input field */
+ char last_value[MAX_GADGET_TEXTSIZE + 1];/* last text string in input field */
+ int cursor_position; /* actual text cursor position */
+ int cursor_x; /* actual x cursor position */
+ int cursor_y; /* actual y cursor position */
+ int cursor_x_preferred; /* "preferred" x cursor position */
+ int size; /* maximal size of input text */
+ int xsize, ysize; /* size of text area (in chars) */
+};
+