Cleanup in preparation for multiline tags.

This commit is contained in:
rsc 2005-10-31 18:39:19 +00:00
parent a47fbb1641
commit 33dc4226a8
6 changed files with 110 additions and 92 deletions

View file

@ -212,7 +212,7 @@ uint textload(Text*, uint, char*, int);
Rune textreadc(Text*, uint);
void textredraw(Text*, Rectangle, Font*, Image*, int);
void textreset(Text*);
int textresize(Text*, Rectangle);
int textresize(Text*, Rectangle, int);
void textscrdraw(Text*);
void textscroll(Text*, int);
void textselect(Text*);
@ -264,6 +264,10 @@ struct Window
int utflastqid;
int utflastboff;
int utflastq;
int tagsafe; /* taglines is correct */
int tagexpand;
int taglines;
Rectangle tagtop;
};
void wininit(Window*, Window*, Rectangle);
@ -276,7 +280,7 @@ void winsetname(Window*, Rune*, int);
void winsettag(Window*);
void winsettag1(Window*);
void wincommit(Window*, Text*);
int winresize(Window*, Rectangle, int);
int winresize(Window*, Rectangle, int, int);
void winclose(Window*);
void windelete(Window*);
int winclean(Window*, int);