Lines Matching defs:Rect

113 type summary add -s "${var.origin%S} ${var.size%S}" curses::Rect
165 struct Rect {
169 Rect() : origin(), size() {}
171 Rect(const Point &p, const Size &s) : origin(p), size(s) {}
195 Rect MakeStatusBar() {
196 Rect status_bar;
209 Rect MakeMenuBar() {
210 Rect menubar;
222 void HorizontalSplitPercentage(float top_percentage, Rect &top,
223 Rect &bottom) const {
228 void HorizontalSplit(int top_height, Rect &top, Rect &bottom) const {
241 void VerticalSplitPercentage(float left_percentage, Rect &left,
242 Rect &right) const {
247 void VerticalSplit(int left_width, Rect &left, Rect &right) const {
261 bool operator==(const Rect &lhs, const Rect &rhs) {
265 bool operator!=(const Rect &lhs, const Rect &rhs) {
362 Surface SubSurface(Rect bounds) {
397 Rect GetFrame() const { return Rect(Point(), GetSize()); }
454 void Box(const Rect &bounds, chtype v_char = ACS_VLINE,
474 void TitledBox(const Rect &bounds, const char *title,
590 Window(const char *name, const Rect &bounds)
626 Rect GetBounds() const { return Rect(GetParentOrigin(), GetSize()); }
628 Rect GetCenteredRect(int width, int height) {
634 return Rect(Point(x, y), Size(width, height));
659 void SetBounds(const Rect &bounds) {
679 WindowSP CreateSubWindow(const char *name, const Rect &bounds,
808 Rect bounds = GetBounds();
1135 Rect content_bounds = surface.GetFrame();
1154 Rect frame = surface.GetFrame();
1155 Rect field_bounds, error_bounds;
1566 Rect content_bounds = surface.GetFrame();
1787 Rect bounds = Rect(Point(0, line), Size(width, height));
1788 Rect field_bounds, remove_button_bounds;
1823 Rect content_bounds = surface.GetFrame();
1825 Rect fields_bounds, new_button_bounds;
2076 Rect bounds = surface.GetFrame();
2077 Rect key_field_bounds, arrow_and_value_field_bounds;
2080 Rect arrow_bounds, value_field_bounds;
2595 Rect bounds = Rect(Point(0, line), Size(width, height));
2610 Rect bounds = Rect(Point(x, 0), Size(width, 1));
2618 Rect frame = surface.GetFrame();
2619 Rect fields_bounds, actions_bounds;
2639 Rect frame = pad.GetFrame();
2640 Rect error_bounds, elements_bounds;
2672 Rect content_bounds = window.GetFrame();
2977 Rect bounds = m_main_window_sp->GetCenteredRect(85, 8);
3556 Rect bounds = m_main_window_sp->GetCenteredRect(85, 8);
3736 Rect content_bounds = surface.GetFrame();
3737 Rect text_field_bounds, matchs_bounds;
3752 Rect content_bounds = window.GetFrame();
4189 Rect menu_bounds;
4423 Rect content_bounds = m_window_sp->GetFrame();
4435 Rect threads_bounds;
4436 Rect source_variables_bounds;
4444 Rect source_bounds;
4445 Rect variables_registers_bounds;
4450 Rect variables_bounds;
4451 Rect registers_bounds;
6406 Rect bounds = main_window_sp->GetCenteredRect(80, 19);
6458 Rect bounds = main_window_sp->GetCenteredRect(80, 22);
6470 Rect bounds = main_window_sp->GetCenteredRect(80, 22);
6579 const Rect source_bounds = source_window_sp->GetBounds();
6582 const Rect variables_bounds = variables_window_sp->GetBounds();
6589 Rect registers_bounds = variables_bounds;
6600 Rect new_variables_rect;
6605 const Rect variables_bounds = registers_window_sp->GetBounds();
6606 Rect new_registers_rect;
6612 Rect new_source_rect;
6631 const Rect source_bounds = source_window_sp->GetBounds();
6635 const Rect variables_bounds = variables_window_sp->GetBounds();
6651 Rect new_regs_rect;
6656 const Rect variables_bounds = variables_window_sp->GetBounds();
6657 Rect new_vars_rect;
6663 Rect new_source_rect;
6682 const Rect threads_bounds = threads_window_sp->GetBounds();
6695 Rect new_threads_bounds, breakpoints_bounds;
7665 Rect content_bounds = main_window_sp->GetFrame();
7666 Rect menubar_bounds = content_bounds.MakeMenuBar();
7667 Rect status_bounds = content_bounds.MakeStatusBar();
7668 Rect source_bounds;
7669 Rect variables_bounds;
7670 Rect threads_bounds;
7671 Rect source_variables_bounds;