Lines Matching refs:Rect
107 type summary add -s "${var.origin%S} ${var.size%S}" curses::Rect
159 struct Rect { struct
163 Rect() : origin(), size() {} in Rect() argument
165 Rect(const Point &p, const Size &s) : origin(p), size(s) {} in Rect() argument
189 Rect MakeStatusBar() { in MakeStatusBar() argument
190 Rect status_bar; in MakeStatusBar()
203 Rect MakeMenuBar() { in MakeMenuBar() argument
204 Rect menubar; in MakeMenuBar()
216 void HorizontalSplitPercentage(float top_percentage, Rect &top, in HorizontalSplitPercentage() argument
217 Rect &bottom) const { in HorizontalSplitPercentage()
222 void HorizontalSplit(int top_height, Rect &top, Rect &bottom) const { in HorizontalSplit() argument
235 void VerticalSplitPercentage(float left_percentage, Rect &left, in VerticalSplitPercentage() argument
236 Rect &right) const { in VerticalSplitPercentage()
241 void VerticalSplit(int left_width, Rect &left, Rect &right) const { in VerticalSplit() argument
255 bool operator==(const Rect &lhs, const Rect &rhs) { in operator ==()
259 bool operator!=(const Rect &lhs, const Rect &rhs) { in operator !=()
376 Rect GetFrame() const { return Rect(Point(), GetSize()); } in GetFrame()
433 void Box(const Rect &bounds, chtype v_char = ACS_VLINE, in Box()
453 void TitledBox(const Rect &bounds, const char *title, in TitledBox()
549 SubPad(Pad &pad, Rect bounds) { in SubPad()
553 SubPad(SubPad &subpad, Rect bounds) { in SubPad()
578 Window(const char *name, const Rect &bounds) in Window()
613 Rect GetBounds() const { return Rect(GetParentOrigin(), GetSize()); } in GetBounds()
615 Rect GetCenteredRect(int width, int height) { in GetCenteredRect()
621 return Rect(Point(x, y), Size(width, height)); in GetCenteredRect()
646 void SetBounds(const Rect &bounds) { in SetBounds()
666 WindowSP CreateSubWindow(const char *name, const Rect &bounds, in CreateSubWindow()
795 Rect bounds = GetBounds(); in CreateHelpSubwindow()
974 DerivedWindow(Window &window, Rect bounds) { in DerivedWindow()
978 DerivedWindow(DerivedWindow &derived_window, Rect bounds) { in DerivedWindow()
1136 Rect content_bounds = surface.GetFrame(); in DrawField()
1155 Rect frame = surface.GetFrame(); in FieldDelegateDraw()
1156 Rect field_bounds, error_bounds; in FieldDelegateDraw()
1509 Rect content_bounds = surface.GetFrame(); in FieldDelegateDraw()
1700 Rect bounds = Rect(Point(0, line), Size(width, height)); in DrawFields()
1701 Rect field_bounds, remove_button_bounds; in DrawFields()
1736 Rect content_bounds = surface.GetFrame(); in FieldDelegateDraw()
1738 Rect fields_bounds, new_button_bounds; in FieldDelegateDraw()
2207 Rect bounds = Rect(Point(0, line), Size(width, height)); in DrawFields()
2222 Rect bounds = Rect(Point(x, 0), Size(width, 1)); in DrawActions()
2230 Rect frame = surface.GetFrame(); in DrawElements()
2231 Rect fields_bounds, actions_bounds; in DrawElements()
2251 Rect frame = pad.GetFrame(); in DrawContent()
2252 Rect error_bounds, elements_bounds; in DrawContent()
2273 Rect content_bounds = window.GetFrame(); in WindowDelegateDraw()
2557 Rect bounds = m_main_window_sp->GetCenteredRect(85, 8); in StopRunningProcess()
2977 Rect menu_bounds; in WindowDelegateHandleChar()
3212 Rect content_bounds = m_window_sp->GetFrame(); in TerminalSizeChanged()
3224 Rect threads_bounds; in TerminalSizeChanged()
3225 Rect source_variables_bounds; in TerminalSizeChanged()
3233 Rect source_bounds; in TerminalSizeChanged()
3234 Rect variables_registers_bounds; in TerminalSizeChanged()
3239 Rect variables_bounds; in TerminalSizeChanged()
3240 Rect registers_bounds; in TerminalSizeChanged()
4951 Rect bounds = main_window_sp->GetCenteredRect(80, 22); in MenuDelegateAction()
5060 const Rect source_bounds = source_window_sp->GetBounds(); in MenuDelegateAction()
5063 const Rect variables_bounds = variables_window_sp->GetBounds(); in MenuDelegateAction()
5070 Rect registers_bounds = variables_bounds; in MenuDelegateAction()
5081 Rect new_variables_rect; in MenuDelegateAction()
5086 const Rect variables_bounds = registers_window_sp->GetBounds(); in MenuDelegateAction()
5087 Rect new_registers_rect; in MenuDelegateAction()
5093 Rect new_source_rect; in MenuDelegateAction()
5112 const Rect source_bounds = source_window_sp->GetBounds(); in MenuDelegateAction()
5116 const Rect variables_bounds = variables_window_sp->GetBounds(); in MenuDelegateAction()
5132 Rect new_regs_rect; in MenuDelegateAction()
5137 const Rect variables_bounds = variables_window_sp->GetBounds(); in MenuDelegateAction()
5138 Rect new_vars_rect; in MenuDelegateAction()
5144 Rect new_source_rect; in MenuDelegateAction()
6106 Rect content_bounds = main_window_sp->GetFrame(); in Activate()
6107 Rect menubar_bounds = content_bounds.MakeMenuBar(); in Activate()
6108 Rect status_bounds = content_bounds.MakeStatusBar(); in Activate()
6109 Rect source_bounds; in Activate()
6110 Rect variables_bounds; in Activate()
6111 Rect threads_bounds; in Activate()
6112 Rect source_variables_bounds; in Activate()