Lines Matching refs:Window

101 class Window;
105 typedef std::shared_ptr<Window> WindowSP;
317 virtual bool WindowDelegateDraw(Window &window, bool force) { in WindowDelegateDraw()
321 virtual HandleCharResult WindowDelegateHandleChar(Window &window, int key) { in WindowDelegateHandleChar()
336 bool WindowDelegateDraw(Window &window, bool force) override;
338 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override;
355 enum class Type { Window, Pad }; enumerator
572 class Window : public Surface { class
574 Window(const char *name) in Window() function in curses::Window
575 : Surface(Surface::Type::Window), m_name(name), m_panel(nullptr), in Window()
581 Window(const char *name, WINDOW *w, bool del = true) in Window() function in curses::Window
582 : Surface(Surface::Type::Window), m_name(name), m_panel(nullptr), in Window()
591 Window(const char *name, const Rect &bounds) in Window() function in curses::Window
592 : Surface(Surface::Type::Window), m_name(name), m_panel(nullptr), in Window()
601 virtual ~Window() { in ~Window()
689 WindowSP subwindow_sp = std::make_shared<Window>(name, get_window(), true); in CreateSubWindow()
702 bool RemoveSubWindow(Window *window) { in RemoveSubWindow()
833 Window *parent_window = GetParent(); in CreateHelpSubwindow()
913 Window *GetParent() const { return m_parent; } in GetParent()
971 Window *m_parent;
982 Window(const Window &) = delete;
983 const Window &operator=(const Window &) = delete;
2258 FormAction(const char *label, std::function<void(Window &)> action) in FormAction()
2277 void Execute(Window &window) { m_action(window); } in Execute()
2283 std::function<void(Window &)> m_action;
2455 void AddAction(const char *label, std::function<void(Window &)> action) { in AddAction()
2664 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
2794 void ExecuteAction(Window &window, int index) { in ExecuteAction()
2806 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override { in WindowDelegateHandleChar()
2878 AddAction("Detach", [this](Window &window) { Detach(window); }); in DetachOrKillProcessFormDelegate()
2879 AddAction("Kill", [this](Window &window) { Kill(window); }); in DetachOrKillProcessFormDelegate()
2884 void Kill(Window &window) { in Kill()
2893 void Detach(Window &window) { in Detach()
2925 AddAction("Attach", [this](Window &window) { Attach(window); }); in ProcessAttachFormDelegate()
3025 void Attach(Window &window) { in Attach()
3092 AddAction("Create", [this](Window &window) { CreateTarget(window); }); in TargetCreateFormDelegate()
3209 void CreateTarget(Window &window) { in CreateTarget()
3298 AddAction("Launch", [this](Window &window) { Launch(window); }); in ProcessLaunchFormDelegate()
3585 void Launch(Window &window) { in Launch()
3748 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
3771 void ExecuteCallback(Window &window) { in ExecuteCallback()
3781 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override { in WindowDelegateHandleChar()
3897 int DrawAndRunMenu(Window &window);
3899 void DrawMenuTitle(Window &window, bool highlight);
3901 bool WindowDelegateDraw(Window &window, bool force) override;
3903 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override;
4021 void Menu::DrawMenuTitle(Window &window, bool highlight) { in DrawMenuTitle()
4080 bool Menu::WindowDelegateDraw(Window &window, bool force) { in WindowDelegateDraw()
4129 HandleCharResult Menu::WindowDelegateHandleChar(Window &window, int key) { in WindowDelegateHandleChar()
4417 m_window_sp = std::make_shared<Window>("main", stdscr, false); in GetMainWindow()
4538 void DrawTree(Window &window) { in DrawTree()
4566 void DrawTreeForChild(Window &window, Row *child, uint32_t reverse_depth) { in DrawTreeForChild()
4602 virtual void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) = 0;
4693 bool Draw(Window &window, const int first_visible_row, in Draw()
4754 void DrawTreeForChild(Window &window, TreeItem *child, in DrawTreeForChild()
4835 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
4898 HandleCharResult WindowDelegateHandleChar(Window &window, int c) override { in WindowDelegateHandleChar()
5009 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5027 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5090 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5190 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5299 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5436 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5484 void TreeDelegateDrawTreeItem(TreeItem &item, Window &window) override { in TreeDelegateDrawTreeItem()
5535 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
5603 HandleCharResult WindowDelegateHandleChar(Window &window, int c) override { in WindowDelegateHandleChar()
5746 bool DisplayRowObject(Window &window, Row &row, DisplayOptions &options, in DisplayRowObject()
5800 void DisplayRows(Window &window, std::vector<Row> &rows, in DisplayRows()
5888 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
5955 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
6212 bool HelpDialogDelegate::WindowDelegateDraw(Window &window, bool force) { in WindowDelegateDraw()
6236 HandleCharResult HelpDialogDelegate::WindowDelegateHandleChar(Window &window, in WindowDelegateHandleChar()
6328 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
6332 HandleCharResult WindowDelegateHandleChar(Window &window, int key) override { in WindowDelegateHandleChar()
6713 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
6800 bool WindowDelegateDraw(Window &window, bool force) override { in WindowDelegateDraw()
7249 HandleCharResult WindowDelegateHandleChar(Window &window, int c) override { in WindowDelegateHandleChar()