Ignore:
Timestamp:
Oct 8, 2006, 2:14:13 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • Break everything. Temporarily. Only the term output works.
  • Allow to read from stdin.
  • Wrap at terminal width (currently letter-wrap, not word-wrap).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/toilet.h

    r1143 r1193  
    1616 */
    1717
    18 extern char const *toilet_export;
    19 extern char const *toilet_font;
    20 extern char const *toilet_dir;
     18struct toilet_context
     19{
     20    char const *export;
     21    char const *font;
     22    char const *dir;
    2123
     24    unsigned int term_width;
     25
     26    cucul_canvas_t *cv;
     27    unsigned int w, h, ew, eh, x, y;
     28
     29    int (*feed)(struct toilet_context *, uint32_t);
     30    int (*end)(struct toilet_context *);
     31};
     32
     33typedef struct toilet_context context_t;
     34
Note: See TracChangeset for help on using the changeset viewer.