Last change
on this file since 1193 was
1193,
checked in by Sam Hocevar, 14 years ago
|
- Break everything. Temporarily. Only the term output works.
- Allow to read from stdin.
- Wrap at terminal width (currently letter-wrap, not word-wrap).
|
-
Property svn:keywords set to
Id
|
File size:
788 bytes
|
Line | |
---|
1 | /* |
---|
2 | * TOIlet The Other Implementation’s letters |
---|
3 | * Copyright (c) 2006 Sam Hocevar <sam@zoy.org> |
---|
4 | * All Rights Reserved |
---|
5 | * |
---|
6 | * $Id: toilet.h 1193 2006-10-08 12:14:13Z sam $ |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or |
---|
9 | * modify it under the terms of the Do What The Fuck You Want To |
---|
10 | * Public License, Version 2, as published by Sam Hocevar. See |
---|
11 | * http://sam.zoy.org/wtfpl/COPYING for more details. |
---|
12 | */ |
---|
13 | |
---|
14 | /* |
---|
15 | * This header defines global variables. |
---|
16 | */ |
---|
17 | |
---|
18 | struct toilet_context |
---|
19 | { |
---|
20 | char const *export; |
---|
21 | char const *font; |
---|
22 | char const *dir; |
---|
23 | |
---|
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 | |
---|
33 | typedef struct toilet_context context_t; |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.