diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-04-24 03:54:01 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-04-24 03:54:01 -0400 |
| commit | 715964c0b5ab8a2bc2b8ae8b7935e9ea0088e332 (patch) | |
| tree | 8d61003fadc3d3c7761394c517c4488c2b63743d /src/screen.h | |
| parent | 2ce1d0d8a2e7f79e1bb008836a4dca48adba867e (diff) | |
| download | fujinet-chat-715964c0b5ab8a2bc2b8ae8b7935e9ea0088e332.tar.gz | |
Dynamic screens. Still a bit flaky, but actually does work to some degree.
Diffstat (limited to 'src/screen.h')
| -rw-r--r-- | src/screen.h | 16 |
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); |
