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_parent(nullptr), in Window()
599 virtual ~Window() { in ~Window()
687 WindowSP subwindow_sp = std::make_shared<Window>(name, get_window(), true); in CreateSubWindow()
700 bool RemoveSubWindow(Window *window) { in RemoveSubWindow()
831 Window *parent_window = GetParent(); in CreateHelpSubwindow()
911 Window *GetParent() const { return m_parent; } in GetParent()
969 Window *m_parent;
980 Window(const Window &) = delete;
981 const Window &operator=(const Window &) = delete;
2256 FormAction(const char *label, std::function<void(Window &)> action) in FormAction()
2275 void Execute(Window &window) { m_action(window); } in Execute()
2281 std::function<void(Window &)> m_action;
2453 void AddAction(const char *label, std::function<void(Window &)> action) { in AddAction()
2662 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
2792 void ExecuteAction(Window &window, int index) { in ExecuteAction()
2804 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override { in WindowDelegateHandleChar()
2876 AddAction("Detach", [this](Window &window) { Detach(window); }); in DetachOrKillProcessFormDelegate()
2877 AddAction("Kill", [this](Window &window) { Kill(window); }); in DetachOrKillProcessFormDelegate()
2882 void Kill(Window &window) { in Kill()
2891 void Detach(Window &window) { in Detach()
2923 AddAction("Attach", [this](Window &window) { Attach(window); }); in ProcessAttachFormDelegate()
3023 void Attach(Window &window) { in Attach()
3090 AddAction("Create", [this](Window &window) { CreateTarget(window); }); in TargetCreateFormDelegate()
3207 void CreateTarget(Window &window) { in CreateTarget()
3296 AddAction("Launch", [this](Window &window) { Launch(window); }); in ProcessLaunchFormDelegate()
3583 void Launch(Window &window) { in Launch()
3746 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
3769 void ExecuteCallback(Window &window) { in ExecuteCallback()
3779 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override { in WindowDelegateHandleChar()
3895 int DrawAndRunMenu(Window &window);
3897 void DrawMenuTitle(Window &window, bool highlight);
3899 bool WindowDelegateDraw(Window &window, bool force) override;
3901 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override;
4019 void Menu::DrawMenuTitle(Window &window, bool highlight) { in DrawMenuTitle()
4078 bool Menu::WindowDelegateDraw(Window &window, bool force) { in WindowDelegateDraw()
4127 HandleCharResult Menu::WindowDelegateHandleChar(Window &window, int key) { in WindowDelegateHandleChar()
4415 m_window_sp = std::make_shared<Window>("main", stdscr, false); in GetMainWindow()
4536 void DrawTree(Window &window) { in DrawTree()
4564 void DrawTreeForChild(Window &window, Row *child, uint32_t reverse_depth) { in DrawTreeForChild()
4600 virtual void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) = 0;
4691 bool Draw(Window &window, const int first_visible_row, in Draw()
4752 void DrawTreeForChild(Window &window, TreeItem *child, in DrawTreeForChild()
4833 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
4896 HandleCharResult WindowDelegateHandleChar(Window &window, int c) override { in WindowDelegateHandleChar()
5007 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5025 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5088 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5188 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5297 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5434 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5482 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5533 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
5601 HandleCharResult WindowDelegateHandleChar(Window &window, int c) override { in WindowDelegateHandleChar()
5744 bool DisplayRowObject(Window &window, Row &row, DisplayOptions &options, in DisplayRowObject()
5798 void DisplayRows(Window &window, std::vector<Row> &rows, in DisplayRows()
5886 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
5953 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
6210 bool HelpDialogDelegate::WindowDelegateDraw(Window &window, bool force) { in WindowDelegateDraw()
6234 HandleCharResult HelpDialogDelegate::WindowDelegateHandleChar(Window &window, in WindowDelegateHandleChar()
6326 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
6330 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override { in WindowDelegateHandleChar()
6711 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
6798 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
7245 HandleCharResult WindowDelegateHandleChar(Window &window, int c) override { in WindowDelegateHandleChar()