aboutsummaryrefslogtreecommitdiff
path: root/src/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/screen.h b/src/screen.h
index 76f82c9..e0aad31 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -1,9 +1,8 @@
#include "addrs.h"
+#include "pool.h"
-#define MAX_SCREENS 7
#define LINE_SIZE 40
-#define SCREEN_SIZE 920
-#define BOTTOM_LINE_OFFS 880
+#define SCR_VIS_HEIGHT 23
#define SCR_UNUSED 0
#define SCR_INACTIVE 1
@@ -23,15 +22,6 @@ extern char scr_current;
/* the screen that's currently being written to */
extern char scr_active;
-/* which screens are "active". the screen being displayed is
- never active. any screen that's not visible that's had anything
- written to it gets marked active. switching the display to an
- active screen clears its active flag. */
-extern char scr_status[MAX_SCREENS];
-
-/* names (channel or query). should be treated as read-only by callers. */
-extern char scr_names[7][32];
-
/* call before using any of the other functions. sets up the
display list, clears all screen memory, selects screen 0
for display. */
@@ -44,7 +34,7 @@ void scr_init(void);
if display is true, the new screen displays. otherwise it's created
"in the background".
*/
-char scr_create(const char *name, char display);
+char scr_create(const char *name);
/* destroys a screen (frees up its slot). */
void scr_destroy(char s);