Lines Matching refs:Window
100 class Window;
104 typedef std::shared_ptr<Window> WindowSP;
316 virtual bool WindowDelegateDraw(Window &window, bool force) { in WindowDelegateDraw()
320 virtual HandleCharResult WindowDelegateHandleChar(Window &window, int key) { in WindowDelegateHandleChar()
335 bool WindowDelegateDraw(Window &window, bool force) override;
337 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override;
354 enum class Type { Window, Pad }; enumerator
571 class Window : public Surface { class
573 Window(const char *name) in Window() function in curses::Window
574 : Surface(Surface::Type::Window), m_name(name), m_panel(nullptr), in Window()
580 Window(const char *name, WINDOW *w, bool del = true) in Window() function in curses::Window
581 : Surface(Surface::Type::Window), m_name(name), m_panel(nullptr), in Window()
590 Window(const char *name, const Rect &bounds) in Window() function in curses::Window
591 : Surface(Surface::Type::Window), m_name(name), m_panel(nullptr), in Window()
600 virtual ~Window() { in ~Window()
688 WindowSP subwindow_sp = std::make_shared<Window>(name, get_window(), true); in CreateSubWindow()
701 bool RemoveSubWindow(Window *window) { in RemoveSubWindow()
832 Window *parent_window = GetParent(); in CreateHelpSubwindow()
912 Window *GetParent() const { return m_parent; } in GetParent()
970 Window *m_parent;
981 Window(const Window &) = delete;
982 const Window &operator=(const Window &) = delete;
2257 FormAction(const char *label, std::function<void(Window &)> action) in FormAction()
2276 void Execute(Window &window) { m_action(window); } in Execute()
2282 std::function<void(Window &)> m_action;
2454 void AddAction(const char *label, std::function<void(Window &)> action) { in AddAction()
2663 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
2793 void ExecuteAction(Window &window, int index) { in ExecuteAction()
2805 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override { in WindowDelegateHandleChar()
2877 AddAction("Detach", [this](Window &window) { Detach(window); }); in DetachOrKillProcessFormDelegate()
2878 AddAction("Kill", [this](Window &window) { Kill(window); }); in DetachOrKillProcessFormDelegate()
2883 void Kill(Window &window) { in Kill()
2892 void Detach(Window &window) { in Detach()
2924 AddAction("Attach", [this](Window &window) { Attach(window); }); in ProcessAttachFormDelegate()
3024 void Attach(Window &window) { in Attach()
3091 AddAction("Create", [this](Window &window) { CreateTarget(window); }); in TargetCreateFormDelegate()
3208 void CreateTarget(Window &window) { in CreateTarget()
3297 AddAction("Launch", [this](Window &window) { Launch(window); }); in ProcessLaunchFormDelegate()
3584 void Launch(Window &window) { in Launch()
3747 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
3770 void ExecuteCallback(Window &window) { in ExecuteCallback()
3780 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override { in WindowDelegateHandleChar()
3896 int DrawAndRunMenu(Window &window);
3898 void DrawMenuTitle(Window &window, bool highlight);
3900 bool WindowDelegateDraw(Window &window, bool force) override;
3902 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override;
4020 void Menu::DrawMenuTitle(Window &window, bool highlight) { in DrawMenuTitle()
4079 bool Menu::WindowDelegateDraw(Window &window, bool force) { in WindowDelegateDraw()
4128 HandleCharResult Menu::WindowDelegateHandleChar(Window &window, int key) { in WindowDelegateHandleChar()
4416 m_window_sp = std::make_shared<Window>("main", stdscr, false); in GetMainWindow()
4537 void DrawTree(Window &window) { in DrawTree()
4565 void DrawTreeForChild(Window &window, Row *child, uint32_t reverse_depth) { in DrawTreeForChild()
4601 virtual void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) = 0;
4720 bool Draw(Window &window, const int first_visible_row, in Draw()
4781 void DrawTreeForChild(Window &window, TreeItem *child, in DrawTreeForChild()
4859 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
4922 HandleCharResult WindowDelegateHandleChar(Window &window, int c) override { in WindowDelegateHandleChar()
5033 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5051 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5114 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5213 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5322 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5458 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5505 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5555 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
5623 HandleCharResult WindowDelegateHandleChar(Window &window, int c) override { in WindowDelegateHandleChar()
5766 bool DisplayRowObject(Window &window, Row &row, DisplayOptions &options, in DisplayRowObject()
5820 void DisplayRows(Window &window, std::vector<Row> &rows, in DisplayRows()
5908 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
5975 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
6232 bool HelpDialogDelegate::WindowDelegateDraw(Window &window, bool force) { in WindowDelegateDraw()
6256 HandleCharResult HelpDialogDelegate::WindowDelegateHandleChar(Window &window, in WindowDelegateHandleChar()
6348 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
6352 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override { in WindowDelegateHandleChar()
6734 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
6821 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
7271 HandleCharResult WindowDelegateHandleChar(Window &window, int c) override { in WindowDelegateHandleChar()