/* TUI display locator.
- Copyright (C) 1998-2021 Free Software Foundation, Inc.
+ Copyright (C) 1998-2023 Free Software Foundation, Inc.
Contributed by Hewlett-Packard Company.
#include "tui/tui-data.h"
-struct frame_info;
+class frame_info_ptr;
/* Locator window class. */
-struct tui_locator_window : public tui_win_info
+struct tui_locator_window
+ : public tui_nofocus_window, tui_noscroll_window, tui_oneline_window,
+ tui_nobox_window
{
tui_locator_window () = default;
return STATUS_NAME;
}
- int max_height () const override
- {
- return 1;
- }
-
- int min_height () const override
- {
- return 1;
- }
-
- bool can_box () const override
- {
- return false;
- }
-
- bool can_focus () const override
- {
- return false;
- }
-
void rerender () override;
-protected:
-
- void do_scroll_vertical (int n) override
- {
- }
-
- void do_scroll_horizontal (int n) override
- {
- }
-
private:
/* Create the status line to display as much information as we can
};
extern void tui_show_locator_content (void);
-extern bool tui_show_frame_info (struct frame_info *);
+extern bool tui_show_frame_info (frame_info_ptr);
#endif /* TUI_TUI_STACK_H */