#include "defs.h"
#include "tui/tui.h"
#include "tui/tui-data.h"
+#include "tui/tui-io.h"
#include "tui/tui-wingeneral.h"
#include "tui/tui-win.h"
#include "tui/tui-stack.h"
+#include "cli/cli-style.h"
#include "gdb_curses.h"
else
attrs = tui_border_attrs;
+ /* tui_apply_style resets the style entirely, so be sure to call it
+ before applying ATTRS. */
+ tui_apply_style (win, (highlight_flag
+ ? tui_active_border_style.style ()
+ : tui_border_style.style ()));
wattron (win, attrs);
#ifdef HAVE_WBORDER
wborder (win, tui_border_vline, tui_border_vline,
}
}
wattroff (win, attrs);
+ tui_apply_style (win, ui_file_style ());
}
void
tui_gen_win_info::make_window ()
{
- handle.reset (newwin (height, width, origin.y, origin.x));
+ handle.reset (newwin (height, width, y, x));
if (handle != NULL)
scrollok (handle.get (), TRUE);
}