diff options
author | June McEnroe <june@causal.agency> | 2022-02-19 20:20:19 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-02-19 20:20:19 -0500 |
commit | 073cebec7a5a07ab2b829e40ce47ec3b1d774bd9 (patch) | |
tree | ad20f89bb88ca5bd3499c2628b03a00d67985a4c /chat.h | |
parent | Factor out window management to window.c (diff) | |
download | catgirl-073cebec7a5a07ab2b829e40ce47ec3b1d774bd9.tar.gz catgirl-073cebec7a5a07ab2b829e40ce47ec3b1d774bd9.zip |
Factor out input handling to input.c
Diffstat (limited to '')
-rw-r--r-- | chat.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/chat.h b/chat.h index e9a2926..1bf1edd 100644 --- a/chat.h +++ b/chat.h @@ -311,17 +311,16 @@ enum { extern char uiTitle[TitleCap]; extern struct _win_st *uiStatus; extern struct _win_st *uiMain; +extern struct _win_st *uiInput; +extern bool uiSpoilerReveal; extern struct Util uiNotifyUtil; -void uiInitEarly(void); -void uiInitLate(void); +void uiInit(void); uint uiAttr(struct Style style); short uiPair(struct Style style); -void uiUpdate(void); void uiShow(void); void uiHide(void); -void uiWait(void); void uiDraw(void); -void uiRead(void); +void uiResize(void); void uiWrite(uint id, enum Heat heat, const time_t *time, const char *str); void uiFormat( uint id, enum Heat heat, const time_t *time, const char *format, ... @@ -329,6 +328,11 @@ void uiFormat( void uiLoad(const char *name); int uiSave(void); +void inputInit(void); +void inputWait(void); +void inputUpdate(void); +void inputRead(void); + enum Scroll { ScrollOne, ScrollPage, |