zori_longtext.h 517 B

1234567891011121314151617181920212223
  1. #ifndef zori_longtext_H_INCLUDED
  2. #define zori_longtext_H_INCLUDED
  3. #include "zori.h"
  4. struct zori_longtext {
  5. struct zori_widget widget;
  6. int align;
  7. zori_string * caption;
  8. zori_string * text;
  9. int line_start, line_stop, line_pos; /* Current text "window". */
  10. int line_max, line_height; /* text constants. */
  11. int page_lines;
  12. /* Text "window" size for one "page" of text in amount of lines. */
  13. int paused;
  14. double delay_total;
  15. };
  16. #endif