about summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-22 14:11:50 -0500
committerJune McEnroe <june@causal.agency>2019-02-22 14:11:50 -0500
commite20c64d5d72e341abf8dc3cb38d7cfec371faafc (patch)
tree96890088e4645416c058ab3504feb63c1b16d9da /chat.h
parentReplace "view" with "window" (diff)
downloadcatgirl-e20c64d5d72e341abf8dc3cb38d7cfec371faafc.tar.gz
catgirl-e20c64d5d72e341abf8dc3cb38d7cfec371faafc.zip
Reorganize UI code for the umpteenth time
It's actually in a good state now, I think.
Diffstat (limited to '')
-rw-r--r--chat.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/chat.h b/chat.h
index bd889f4..b07aa42 100644
--- a/chat.h
+++ b/chat.h
@@ -116,13 +116,13 @@ void ircQuit(const char *mesg);
 void uiInit(void);
 void uiShow(void);
 void uiHide(void);
-void uiExit(void);
 void uiDraw(void);
 void uiRead(void);
-void uiPrompt(void);
+void uiExit(int status);
 
-void uiWindowTag(struct Tag tag);
-void uiWindowNum(int num);
+void uiPrompt(bool nickChanged);
+void uiShowTag(struct Tag tag);
+void uiShowNum(int num);
 void uiCloseTag(struct Tag tag);
 
 enum UIHeat {
@@ -130,7 +130,7 @@ enum UIHeat {
 	UIWarm,
 	UIHot,
 };
-void uiLog(struct Tag tag, enum UIHeat heat, const wchar_t *line);
+void uiLog(struct Tag tag, enum UIHeat heat, const wchar_t *str);
 void uiFmt(struct Tag tag, enum UIHeat heat, const wchar_t *format, ...);
 
 enum TermMode {