diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2001-07-16 22:05:02 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2001-07-16 22:05:02 +0000 |
commit | 2a5127c4e3c45c140abc4450afcbe5f9e98db03e (patch) | |
tree | 2df5b17cd3fbd3b6003b492f46565e9e63bbeedd /gdb/tui/tui.h | |
parent | 9a7f7ba66f7d10343cc43941e7ffbc0dfb41e39b (diff) | |
download | gdb-2a5127c4e3c45c140abc4450afcbe5f9e98db03e.zip gdb-2a5127c4e3c45c140abc4450afcbe5f9e98db03e.tar.gz gdb-2a5127c4e3c45c140abc4450afcbe5f9e98db03e.tar.bz2 |
* tui.h: Cleanup to avoid inclusion of curses includes.
(TuiGenWinInfo, TuiGenWinInfoPtr): Move from here.
* tuiData.h: To here; include curses includes here.
(setTermHeightTo): Rename of setTermHeight to follow reality.
(setTermWidthTo): Likewise with setTermWidth.
Diffstat (limited to 'gdb/tui/tui.h')
-rw-r--r-- | gdb/tui/tui.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/gdb/tui/tui.h b/gdb/tui/tui.h index 07aa41a..8af18e9 100644 --- a/gdb/tui/tui.h +++ b/gdb/tui/tui.h @@ -21,18 +21,9 @@ #ifndef TUI_H #define TUI_H -#if defined (HAVE_NCURSES_H) -#include <ncurses.h> -#elif defined (HAVE_CURSES_H) -#include <curses.h> -#endif -#ifdef ANSI_PROTOTYPES #include <stdarg.h> -#else -#include <varargs.h> -#endif - +#include <string.h> #include "ansidecl.h" #if defined(reg) @@ -97,23 +88,6 @@ TuiWinType, *TuiWinTypePtr; } TuiPoint, *TuiPointPtr; -/* Generic window information */ - typedef struct _TuiGenWinInfo - { - WINDOW *handle; /* window handle */ - TuiWinType type; /* type of window */ - int width; /* window width */ - int height; /* window height */ - TuiPoint origin; /* origin of window */ - OpaquePtr content; /* content of window */ - int contentSize; /* Size of content (# of elements) */ - int contentInUse; /* Can it be used, or is it already used? */ - int viewportHeight; /* viewport height */ - int lastVisibleLine; /* index of last visible line */ - int isVisible; /* whether the window is visible or not */ - } -TuiGenWinInfo, *TuiGenWinInfoPtr; - /* GENERAL TUI FUNCTIONS */ /* tui.c */ extern void tuiInit (char *argv0); |