/haiku/src/apps/debugger/user_interface/gui/value/ |
H A D | TableCellValueRendererUtils.cpp | 18 TableCellValueRendererUtils::DrawString(BView* view, BRect rect, argument 31 rect.Width() - 2 * kTextMargin + 2); 40 x = rect.left + kTextMargin; 44 x = rect.left + (rect.Width() - view->StringWidth(string)) / 2; 48 x = rect.right - kTextMargin - view->StringWidth(string); 53 float y = rect.top 54 + (rect.Height() - (fontHeight.ascent + fontHeight.descent
|
/haiku/src/preferences/media/ |
H A D | Media.cpp | 27 BRect rect(32, 64, 637, 462); 44 const char* scanString = " rect = %li,%li,%li,%li"; 46 if (c - a >= rect.IntegerWidth()) { 47 rect.left = a; 48 rect.right = c; 50 if (d - b >= rect.IntegerHeight()) { 51 rect.top = b; 52 rect.bottom = d; 60 fWindow = new MediaWindow(rect);
|
/haiku/src/apps/expander/ |
H A D | DirectoryFilePanel.cpp | 71 BRect rect; local 73 rect = cancel->Frame(); 75 rect = background->Bounds(); 76 rect.left = rect.right; 77 rect.top = rect.bottom - 35; 78 rect.bottom -= 10; 81 rect.right = rect [all...] |
/haiku/src/tests/servers/app/transformation/ |
H A D | main.cpp | 103 BRect rect(view->Bounds()); 104 rect.OffsetTo(B_ORIGIN); 106 rect.InsetBy(rect.Width() / 3, rect.Height() / 3); 108 rect.left + rect.Width() / 2, 109 rect.top + rect.Height() / 2); 117 view->FillRect(rect); [all...] |
/haiku/src/servers/app/drawing/Painter/ |
H A D | Painter.h | 155 // strokes a one pixel wide solid rect, no blending 163 // fills a solid rect with color c, no blending 167 // fills a rect with a linear gradient, the caller should be 174 // fills a solid rect with color c, no blending, no clipping 189 void AlignEllipseRect(BRect* rect, 246 inline BRect TransformAndClipRect(BRect rect) const; 247 inline BRect ClipRect(BRect rect) const; 248 inline BRect TransformAlignAndClipRect(BRect rect) const; 249 inline BRect AlignAndClipRect(BRect rect) const; 250 inline BRect AlignRect(BRect rect) cons [all...] |
/haiku/src/apps/mediaplayer/interface/ |
H A D | VolumeSlider.cpp | 100 BRect rect = BSlider::ThumbFrame(); local 101 rect.InsetBy(2, 2); 102 rect.bottom += 1; 104 BRect rect(BarFrame()); 107 rect.InsetBy(0, 1); 110 rect.InsetBy(0, -1); 112 rect.InsetBy(rect.Height() / 2, 0); 113 rect.left = rect [all...] |
/haiku/src/servers/app/ |
H A D | IntRect.cpp | 218 IntRect::operator==(const IntRect& rect) const 220 return left == rect.left && right == rect.right && 221 top == rect.top && bottom == rect.bottom; 226 IntRect::operator!=(const IntRect& rect) const 228 return !(*this == rect); 233 IntRect::operator&(const IntRect& rect) const 235 return IntRect(max_c(left, rect.left), max_c(top, rect [all...] |
/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | CheckBox.cpp | 40 BRect rect(Bounds()); 47 container->StrokeRect(rect); 50 rect.InsetBy(2, 2); 51 container->StrokeLine(rect.LeftTop(), rect.RightBottom()); 52 container->StrokeLine(rect.RightTop(), rect.LeftBottom());
|
/haiku/src/apps/processcontroller/ |
H A D | PCWindow.cpp | 43 BRect rect = Bounds(); local 45 BView* topView = new BView(rect, NULL, B_FOLLOW_ALL, B_WILL_DRAW); 50 // view rect should be same size as window rect but with left top at (0, 0) 51 rect.Set(0, 0, width - 1, 15); 52 SetSizeLimits(rect.Width() + 21, rect.Width() + 21, 15 + 21, 15 + 21); 54 rect.OffsetTo((Bounds().Width() - 16) / 2, (Bounds().Height() - 16) / 2); 56 topView->AddChild(new ProcessController(rect));
|
/haiku/src/apps/diskprobe/ |
H A D | TypeEditors.h | 17 TypeEditorView(BRect rect, const char* name, 32 extern TypeEditorView* GetTypeEditorFor(BRect rect, DataEditor& editor); 34 extern TypeEditorView* GetTypeEditorAt(int32 index, BRect rect,
|
/haiku/src/add-ons/network_settings/dialup/ |
H A D | DialUpApplication.cpp | 48 BRect rect(150, 50, 450, 435); 49 DialUpWindow *window = new DialUpWindow(rect); 50 window->MoveTo(center_on_screen(rect, window));
|
/haiku/src/tests/kits/translation/multitest/ |
H A D | WorkWindow.h | 10 WorkWindow(BRect rect);
|
H A D | WorkWindow.cpp | 9 WorkWindow::WorkWindow(BRect rect) argument 10 : BWindow(rect, "Work Window", B_TITLED_WINDOW, B_WILL_DRAW)
|
/haiku/src/tests/kits/device/stickit_BJoystick/ |
H A D | JoystickWindow.h | 22 BRect _BuildHats(BJoystick *stick, BRect rect); 23 void _BuildAxes(BJoystick *stick, BRect rect); 25 int number, BRect rect); 34 BJoystick *stick, BRect rect);
|
H A D | JoystickWindow.cpp | 28 BRect rect) 29 : BWindow(rect, deviceName, B_TITLED_WINDOW, 54 BRect rect(5, 5, 350, 25); 55 BStringView *stickName = new BStringView(rect, "stickname", name.String()); 59 rect = _BuildButtons(stick); 60 rect.top += 15; 61 rect.bottom += 15; 62 rect = _BuildHats(stick, rect); 63 _BuildAxes(stick, rect); 27 JoystickWindow(const char *deviceName, BJoystick *stick, BRect rect) argument 194 _BuildHats(BJoystick *stick, BRect rect) argument 207 _BuildString(BString name, const char* strName, int number, BRect rect) argument 222 _BuildAxes(BJoystick *stick, BRect rect) argument [all...] |
/haiku/src/apps/resedit/ |
H A D | PreviewColumn.cpp | 20 PreviewColumn::DrawField(BField* field, BRect rect, BView* parent) argument 23 pField->DrawField(rect, parent);
|
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | vterm.c | 233 void vterm_scroll_rect(VTermRect rect, argument 237 int (*eraserect)(VTermRect rect, int selective, void *user), 243 if(abs(downward) >= rect.end_row - rect.start_row || 244 abs(rightward) >= rect.end_col - rect.start_col) { 246 (*eraserect)(rect, 0, user); 251 /* rect: [XXX................] 255 dest.start_col = rect.start_col; 256 dest.end_col = rect [all...] |
H A D | screen.c | 6 #include "rect.h" 104 static void damagerect(VTermScreen *screen, VTermRect rect) argument 111 emit = rect; 117 if(rect.end_row > rect.start_row + 1) { 120 emit = rect; 124 screen->damaged = rect; 127 else if(rect.start_row == screen->damaged.start_row) { 129 if(screen->damaged.start_col > rect.start_col) 130 screen->damaged.start_col = rect 163 VTermRect rect = { local 178 VTermRect rect; local 266 erase_internal(VTermRect rect, int selective, void *user) argument 290 erase_user(VTermRect rect, int selective, void *user) argument 299 erase(VTermRect rect, int selective, void *user) argument 305 scrollrect(VTermRect rect, int downward, int rightward, void *user) argument 491 VTermRect rect; local 503 VTermRect rect = { local 531 VTermRect rect = { local 544 VTermRect rect = { local 589 VTermRect rect; local 680 _get_chars(const VTermScreen *screen, const int utf8, void *buffer, size_t len, const VTermRect rect) argument 732 vterm_screen_get_chars(const VTermScreen *screen, uint32_t *chars, size_t len, const VTermRect rect) argument 737 vterm_screen_get_text(const VTermScreen *screen, char *str, size_t len, const VTermRect rect) argument [all...] |
/haiku/src/libs/print/libprint/ |
H A D | AboutBox.cpp | 36 AboutBoxView::AboutBoxView(BRect rect, const char *driver_name, const char *version, const char *copyright) argument 37 : BView(rect, "", B_FOLLOW_ALL, B_WILL_DRAW) 63 BRect rect; local 64 rect.Set(110, 50, 175, 55); 65 BButton *button = new BButton(rect, "", "OK", new BMessage(kMsgOK)); 105 BRect rect; local 106 rect.Set(100, 80, 400, 170); 107 AboutBoxWindow *window = new AboutBoxWindow(rect, driver_name, version, copyright);
|
/haiku/src/add-ons/control_look/FlatControlLook/ |
H A D | FlatControlLook.h | 33 virtual void DrawButtonFrame(BView* view, BRect& rect, 39 virtual void DrawButtonFrame(BView* view, BRect& rect, 46 virtual void DrawButtonFrame(BView* view, BRect& rect, 57 virtual void DrawMenuBarBackground(BView* view, BRect& rect, 63 BRect& rect, const BRect& updateRect, 66 virtual void DrawMenuFieldFrame(BView* view, BRect& rect, 69 virtual void DrawMenuFieldFrame(BView* view, BRect& rect, 72 virtual void DrawMenuFieldFrame(BView* view, BRect& rect, 79 BRect& rect, const BRect& updateRect, 84 BRect rect, cons [all...] |
/haiku/src/tests/kits/interface/pictureprint/ |
H A D | DumpPrintJob.cpp | 64 BRect rect; local 66 while (pjp.NextPicture(picture, pos, rect) == B_OK) { 69 rect.left, rect.top, rect.right, rect.bottom);
|
/haiku/src/servers/app/decorator/ |
H A D | DefaultDecorator.h | 41 virtual void _DrawFrame(BRect rect); 46 BRect rect); 48 BRect rect); 50 BRect rect); 56 bool direct, BRect rect); 58 const BRect rect, bool down,
|
/haiku/src/kits/interface/ |
H A D | Region.cpp | 47 BRegion::BRegion(const BRect rect) argument 54 if (!rect.IsValid()) 57 fBounds = _ConvertToInternal(rect); 112 BRegion::Set(BRect rect) argument 114 Set(_Convert(rect)); 202 BRegion::Intersects(BRect rect) const 204 return Intersects(_Convert(rect)); 247 clipping_rect *rect = &fData[i]; local 250 i, rect->left, rect 312 Include(BRect rect) argument 349 Exclude(BRect rect) argument [all...] |
/haiku/src/add-ons/decorators/BeDecorator/ |
H A D | BeDecorator.h | 29 BRect rect, Desktop* desktop); 44 virtual void _DrawFrame(BRect rect); 46 virtual void _DrawTab(Decorator::Tab* tab, BRect rect); 47 virtual void _DrawTitle(Decorator::Tab* tab, BRect rect); 49 BRect rect); 51 BRect rect); 53 BRect rect); 61 const BRect rect, bool down, 64 const BRect rect, bool down, 68 bool direct, BRect rect); [all...] |
/haiku/src/kits/tracker/ |
H A D | Pose.cpp | 202 BRect rect; local 204 rect = widget->CalcClickRect(poseLoc, column, poseView); 206 rect = widget->CalcClickRect(pose->Location(poseView), NULL, poseView); 208 if (rect.Contains(where)) { 209 widget->MouseUp(rect, poseView, pose, where); 347 BRect rect; local 349 rect = CalcRect(poseLoc, poseView); 350 rect.left += poseView->ListOffset(); 351 rect.right = rect 530 BRect rect = _IconRect(poseView, where); local 554 Draw(BRect rect, const BRect& updateRect, BPoseView* poseView, BView* drawView, bool fullDraw, BPoint offset, bool selected) argument 923 BRect rect; local 946 BRect rect; local 985 BRect rect; local [all...] |