]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/spred/fns.h
cc: use 7 octal digits for 21 bit runes
[plan9front.git] / sys / src / cmd / spred / fns.h
1 void    change(File *);
2 void    cmdprint(char *, ...);
3 void    docmd(char *);
4 void*   emalloc(ulong);
5 void    filinit(File *, char *);
6 void    filredraw(File *);
7 char*   filtitle(File *, char *, char *);
8 int     filtitlelen(File *);
9 Pal*    findpal(char *, char *, int);
10 Ident   getident(int);
11 int     identcmp(Ident*, Ident *);
12 void    initwin(void);
13 Pal*    newpal(char *);
14 Spr*    newspr(char *);
15 Win*    newwin(int, Rectangle, File *);
16 Win*    newwinsel(int, Mousectl *, File *);
17 void    paldraw(Win *);
18 void    palset(Pal *, int, u32int);
19 void    palsize(Pal *, int, int);
20 void    putfil(File *);
21 void    putident(Ident);
22 void    putpal(Pal *);
23 void    putspr(Spr *);
24 int     quit(void);
25 int     readpal(Pal *, Biobuf *);
26 int     readspr(Spr *, Biobuf *);
27 void    resize(void);
28 void    setfocus(Win *);
29 void    sprsize(Spr *, int, int, int);
30 int     tline(Biobuf *, char **, char **, int);
31 void    winclick(Mousectl *);
32 void    winclose(Win *);
33 void    winresize(Win *, Mousectl *);
34 Win*    winsel(Mousectl*, int);
35 void    winwrite(Win *, char *);
36 void    winzerox(Win *, Mousectl *);
37 int     writepal(Pal *, char *);
38 int     writespr(Spr *, char *);