Searched refs:rect (Results 1 - 25 of 512) sorted by relevance

1234567891011>>

/haiku/src/servers/app/drawing/
H A Ddrawing_support.cpp6 align_rect_to_pixels(BRect* rect) argument
8 // round the rect with the least ammount of distortion
9 rect->OffsetTo(roundf(rect->left), roundf(rect->top));
10 rect->right = roundf(rect->right);
11 rect->bottom = roundf(rect->bottom);
/haiku/headers/private/interface/
H A Dclipping.h27 clipping_rect rect; local
29 rect.left = min_c(r1.left, r2.left);
30 rect.top = min_c(r1.top, r2.top);
31 rect.right = max_c(r1.right, r2.right);
32 rect.bottom = max_c(r1.bottom, r2.bottom);
34 return rect;
39 // The caller should check if the returned rect is valid. If it isn't valid,
44 clipping_rect rect; local
46 rect.left = max_c(r1.left, r2.left);
47 rect
57 offset_rect(clipping_rect &rect, int32 x, int32 y) argument
67 scale_rect(clipping_rect& rect, float x, float y) argument
78 to_BRect(const clipping_rect &rect) argument
87 to_clipping_rect(const BRect &rect) argument
111 point_in(const clipping_rect &rect, int32 px, int32 py) argument
122 point_in(const clipping_rect &rect, const BPoint &pt) argument
132 rect_contains(const clipping_rect &rect, const clipping_rect &testRect) argument
141 valid_rect(const clipping_rect &rect) argument
169 rect_width(const clipping_rect &rect) argument
177 rect_height(const clipping_rect &rect) argument
[all...]
/haiku/src/preferences/filetypes/
H A DDropTargetListView.cpp34 BRect rect = Bounds(); local
37 rect.left++;
38 rect.top++;
40 rect.right--;
41 rect.bottom--;
43 StrokeRect(rect);
79 BRect rect = Bounds(); local
80 rect.right = rect.left + 1;
81 Invalidate(rect);
[all...]
/haiku/src/add-ons/control_look/BeControlLook/
H A DBeControlLook.cpp115 BeControlLook::DrawButtonFrame(BView* view, BRect& rect, argument
119 _DrawButtonFrame(view, rect, updateRect, 0, 0, 0, 0, base,
125 BeControlLook::DrawButtonFrame(BView* view, BRect& rect, argument
129 _DrawButtonFrame(view, rect, updateRect, 0, 0, 0, 0, base,
135 BeControlLook::DrawButtonFrame(BView* view, BRect& rect, argument
139 _DrawButtonFrame(view, rect, updateRect, 0, 0, 0, 0, base,
145 BeControlLook::DrawButtonBackground(BView* view, BRect& rect, argument
149 _DrawButtonBackground(view, rect, updateRect, 0, 0, 0, 0,
155 BeControlLook::DrawButtonBackground(BView* view, BRect& rect, argument
159 _DrawButtonBackground(view, rect, updateRec
165 DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
175 DrawCheckBox(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags) argument
301 DrawRadioButton(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags) argument
400 DrawScrollBarBorder(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
426 DrawScrollBarButton(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, int32 direction, orientation orientation, bool down) argument
562 DrawScrollBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
572 DrawScrollBarThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation, uint32 knobStyle) argument
713 DrawScrollViewFrame(BView* view, BRect& rect, const BRect& updateRect, BRect verticalScrollBarFrame, BRect horizontalScrollBarFrame, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 _borders) argument
743 DrawArrowShape(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 direction, uint32 flags, float tint) argument
806 DrawMenuBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
836 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument
847 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument
858 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument
895 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, bool popupIndicator, uint32 flags) argument
905 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
915 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float, const rgb_color& base, bool popupIndicator, uint32 flags) argument
925 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, bool popupIndicator, uint32 flags) argument
935 DrawMenuBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
952 DrawMenuItemBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
969 DrawStatusBar(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& barColor, float progressPosition) argument
1021 DrawSliderBar(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, rgb_color leftFillColor, rgb_color rightFillColor, float sliderScale, uint32 flags, orientation orientation) argument
1063 DrawSliderBar(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, rgb_color fillColor, uint32 flags, orientation orientation) argument
1109 DrawSliderThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
1187 DrawSliderTriangle(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
1196 DrawSliderTriangle(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& fill, uint32 flags, orientation orientation) argument
1258 DrawSliderHashMarks(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, int32 count, hash_mark_location location, uint32 flags, orientation orientation) argument
1348 DrawTabFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, border_style borderStyle, uint32 side) argument
1387 DrawActiveTab(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, uint32 side, int32, int32, int32, int32) argument
1608 DrawInactiveTab(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, uint32 side, int32 index, int32 selected, int32 first, int32 last) argument
1824 DrawSplitter(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, orientation orientation, uint32 flags, uint32 borders) argument
1939 DrawBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 borders) argument
2042 DrawRaisedBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
2107 DrawTextControlBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
2149 DrawGroupFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 borders) argument
2160 DrawLabel(BView* view, const char* label, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, const rgb_color* textColor) argument
2170 DrawLabel(BView* view, const char* label, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, const BAlignment& alignment, const rgb_color* textColor) argument
2316 DrawLabel(BView* view, const char* label, const BBitmap* icon, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, const BAlignment& alignment, const rgb_color* textColor) argument
2474 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
2484 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
2494 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
2509 _DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, const rgb_color& background, float contrast, float brightness, uint32 flags, uint32 borders) argument
2730 _DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument
2754 _DrawPopUpMarker(BView* view, const BRect& rect, const rgb_color& base, uint32 flags) argument
2780 _DrawMenuFieldBackgroundOutside(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, bool popupIndicator, uint32 flags) argument
2803 _DrawMenuFieldBackgroundInside(BView* view, BRect& rect, const BRect& updateRect, float, float, float, float, const rgb_color& base, uint32 flags, uint32 borders) argument
2880 _DrawScrollBarBackgroundFirst(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
2974 _DrawScrollBarBackgroundSecond(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
3110 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, uint32 borders) argument
[all...]
/haiku/src/apps/poorman/
H A DPoorManView.cpp12 PoorManView::PoorManView(BRect rect, const char *name) argument
13 : BView(rect, name, B_FOLLOW_ALL, B_WILL_DRAW)
/haiku/src/tests/kits/interface/
H A DCheckBoxTest.cpp24 DividedBackgroundView(BRect rect);
30 DividedBackgroundView::DividedBackgroundView(BRect rect) argument
31 : BView(rect, NULL, B_FOLLOW_NONE, B_WILL_DRAW)
43 BRect rect = bounds; local
44 rect.right = rect.left + bounds.Width() / 2;
47 FillRect(rect, B_SOLID_LOW);
49 rect.left = rect.right + 1;
50 rect
[all...]
H A DSliderTest.cpp24 downBy(BRect &rect, BView* view) argument
26 rect.bottom = rect.top + view->Bounds().Height() + 10;
27 rect.OffsetBy(0, rect.Height());
32 rightBy(BRect &rect, BView* view) argument
34 rect.right = rect.left + view->Bounds().Width() + 10;
35 rect.OffsetBy(rect
46 BRect rect = Bounds(); local
[all...]
/haiku/src/apps/debuganalyzer/gui/
H A DColorCheckBox.cpp45 BRect rect(Bounds());
46 rect.left += fCheckBox->Frame().right + 5;
47 rect.right = rect.left + 9;
48 rect.top = floorf((rect.top + rect.bottom) / 2);
49 rect.bottom = rect.top + 1;
52 FillRect(rect);
[all...]
/haiku/src/apps/haikudepot/ui/
H A DGeneralContentScrollView.cpp33 BRect rect = innerFrame; local
34 rect.left = rect.right + 1;
35 rect.right = rect.left + B_V_SCROLL_BAR_WIDTH;
37 scrollBar->MoveTo(rect.left, rect.top);
38 scrollBar->ResizeTo(rect.Width(), rect.Height());
/haiku/src/bin/network/ppp_up/
H A DPPPStatusView.cpp33 PPPStatusView::PPPStatusView(BRect rect, ppp_interface_id id) argument
34 : BView(rect, "PPPStatusView", B_FOLLOW_NONE, B_PULSE_NEEDED),
39 rect = Bounds();
40 rect.InsetBy(5, 5);
41 rect.left = rect.right - 80;
42 rect.bottom = rect.top + 25;
43 fButton = new BButton(rect, "DisconnectButton", kLabelDisconnect,
46 rect
[all...]
H A DConnectionView.cpp54 ConnectionView::ConnectionView(BRect rect, const BString& interfaceName) argument
55 : BView(rect, "ConnectionView", B_FOLLOW_NONE, 0),
62 rect = Bounds();
63 rect.InsetBy(5, 5);
64 rect.bottom = rect.top
68 BBox *authenticationBox = new BBox(rect, "Authentication");
70 rect = authenticationBox->Bounds();
71 rect.InsetBy(10, 20);
72 rect
[all...]
H A DPPPUpApplication.cpp39 BRect rect(150, 50, 450, 435);
40 // TODO: center rect on screen
41 (new ConnectionWindow(rect, fInterfaceName))->Run();
/haiku/src/kits/tracker/
H A DMiniMenuField.cpp109 BRect rect(bounds);
110 rect.InsetBy(1, 1);
121 AddLine(rect.RightTop(), rect.RightBottom(), darkest);
122 AddLine(rect.RightBottom(), rect.LeftBottom(), darkest);
123 AddLine(rect.LeftBottom(), rect.LeftTop(), medium);
124 AddLine(rect.LeftTop(), rect
[all...]
/haiku/src/tests/kits/interface/balert/alert_manual_test/
H A DAlertManualTestApp.cpp18 BRect rect(150, 150, 600, 300);
19 fMainWindow = new AlertTestWindow(rect);
/haiku/src/add-ons/print/drivers/gutenprint/
H A DRectangle.h30 Rectangle(const BRect& rect) argument
32 left(static_cast<T>(rect.left)),
33 top(static_cast<T>(rect.top)),
34 right(static_cast<T>(rect.right)),
35 bottom(static_cast<T>(rect.bottom))
50 Rectangle<T>& operator=(const BRect& rect) { argument
51 left = static_cast<T>(rect.left);
52 top = static_cast<T>(rect.top);
53 right = static_cast<T>(rect.right);
54 bottom = static_cast<T>(rect
[all...]
H A DGPBand.cpp23 BRect rect = fValidRect; local
24 rect.OffsetTo(fWhere);
25 return rect;
/haiku/src/apps/haikudepot/util/
H A DRatingUtils.cpp42 BRect rect = BOUNDS_RATING; local
43 rect.OffsetBy(at);
46 target->FillRect(rect, B_SOLID_LOW);
64 rect = BOUNDS_RATING;
65 rect.right = x - 2;
66 rect.left = ceilf(rect.left + (value / 5.0f) * rect.Width());
67 rect.OffsetBy(at);
74 target->FillRect(rect, B_SOLID_HIG
[all...]
/haiku/src/add-ons/control_look/FlatControlLook/
H A DFlatControlLook.cpp54 FlatControlLook::DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, argument
58 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, background,
64 FlatControlLook::DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, argument
68 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, background,
74 FlatControlLook::DrawButtonFrame(BView* view, BRect& rect, argument
80 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, background,
86 FlatControlLook::DrawButtonBackground(BView* view, BRect& rect, argument
90 _DrawButtonBackground(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, false,
96 FlatControlLook::DrawButtonBackground(BView* view, BRect& rect, argument
100 _DrawButtonBackground(view, rect, updateRec
106 DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
117 DrawMenuBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
167 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument
177 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument
187 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument
199 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, bool popupIndicator, uint32 flags) argument
209 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
219 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, bool popupIndicator, uint32 flags) argument
229 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags) argument
241 DrawMenuBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
269 DrawMenuItemBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
307 DrawScrollBarBorder(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
362 DrawScrollBarButton(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, int32 direction, orientation orientation, bool down) argument
413 DrawScrollBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
454 DrawScrollBarThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation, uint32 knobStyle) argument
633 DrawScrollViewFrame(BView* view, BRect& rect, const BRect& updateRect, BRect verticalScrollBarFrame, BRect horizontalScrollBarFrame, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 _borders) argument
726 DrawSliderBar(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, rgb_color leftFillColor, rgb_color rightFillColor, float sliderScale, uint32 flags, orientation orientation) argument
771 DrawSliderBar(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, rgb_color fillColor, uint32 flags, orientation orientation) argument
922 DrawSliderThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
1000 DrawActiveTab(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, uint32 side, int32, int32, int32, int32) argument
1182 DrawSplitter(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, orientation orientation, uint32 flags, uint32 borders) argument
1297 DrawBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 borders) argument
1312 DrawRaisedBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
1321 DrawTextControlBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
1362 DrawGroupFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 borders) argument
1376 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
1386 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
1396 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
1411 _DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, const rgb_color& background, float contrast, float brightness, uint32 flags, uint32 borders) argument
1572 _DrawOuterResessedFrame(BView* view, BRect& rect, const rgb_color& base, float contrast, float brightness, uint32 flags, uint32 borders) argument
1596 _DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument
1644 _DrawNonFlatButtonBackground(BView* view, BRect& rect, const BRect& updateRect, BRegion& clipping, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument
1801 _DrawPopUpMarker(BView* view, const BRect& rect, const rgb_color& base, uint32 flags) argument
1828 _DrawMenuFieldBackgroundOutside(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags) argument
1885 _DrawMenuFieldBackgroundInside(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, uint32 flags, uint32 borders) argument
2111 _MakeGradient(BGradientLinear& gradient, const BRect& rect, const rgb_color& base, float topTint, float bottomTint, orientation orientation) const argument
2126 _MakeGlossyGradient(BGradientLinear& gradient, const BRect& rect, const rgb_color& base, float topTint, float middle1Tint, float middle2Tint, float bottomTint, orientation orientation) const argument
2142 _MakeButtonGradient(BGradientLinear& gradient, BRect& rect, const rgb_color& base, uint32 flags, orientation orientation) const argument
[all...]
/haiku/src/add-ons/network_settings/dialup/
H A DTextRequestDialog.cpp37 BRect rect = Bounds(); local
38 BView *backgroundView = new BView(rect, "background", B_FOLLOW_ALL_SIDES, 0);
40 rect.InsetBy(5, 5);
41 rect.bottom = rect.top;
45 BRect textRect(rect);
47 fTextView = new BTextView(rect, "TextView", textRect, B_FOLLOW_NONE,
57 rect.bottom += textHeight + 5;
62 rect.top = rect
[all...]
/haiku/src/preferences/appearance/
H A DFakeScrollBar.cpp60 BRect rect(Bounds());
63 StrokeRect(rect);
64 rect.InsetBy(1, 1);
65 StrokeRect(rect);
66 rect.InsetBy(1, 1);
70 StrokeRect(rect);
71 rect.InsetBy(1, 1);
74 be_control_look->DrawScrollBarBorder(this, rect, updateRect, base, flags,
78 rect.InsetBy(1, 1);
82 BRect buttonFrame(rect
243 _DrawArrowButton(int32 direction, BRect rect, const BRect& updateRect) argument
[all...]
/haiku/src/apps/pulse/
H A DMiniPulseView.h19 MiniPulseView(BRect rect, const char *name, Prefs *prefs);
20 MiniPulseView(BRect rect, const char *name);
23 void Draw(BRect rect);
/haiku/src/tests/servers/app/hide_and_show/
H A DHideAndShow.cpp38 BRect rect(Bounds());
39 rect.left += 20;
40 rect.right -= 20;
41 rect.top = 100;
42 rect.bottom = 200;
43 BTextView* view = new BTextView(Bounds(), "", rect, B_FOLLOW_ALL,
86 BRect rect = Bounds();
87 rect.left += 20;
88 rect.right -= 20;
89 rect
[all...]
/haiku/src/kits/interface/
H A DHaikuControlLook.cpp108 HaikuControlLook::DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, argument
112 _DrawButtonFrame(view, rect, updateRect, 0.0f, 0.0f, 0.0f, 0.0f, base,
118 HaikuControlLook::DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, argument
122 _DrawButtonFrame(view, rect, updateRect, radius, radius, radius, radius,
128 HaikuControlLook::DrawButtonFrame(BView* view, BRect& rect, argument
134 _DrawButtonFrame(view, rect, updateRect, leftTopRadius, rightTopRadius,
141 HaikuControlLook::DrawButtonBackground(BView* view, BRect& rect, argument
145 _DrawButtonBackground(view, rect, updateRect, 0.0f, 0.0f, 0.0f, 0.0f,
151 HaikuControlLook::DrawButtonBackground(BView* view, BRect& rect, argument
155 _DrawButtonBackground(view, rect, updateRec
161 DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
173 DrawMenuBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
219 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument
229 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument
239 DrawMenuFieldFrame(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, const rgb_color& background, uint32 flags, uint32 borders) argument
252 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, bool popupIndicator, uint32 flags) argument
262 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
272 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, bool popupIndicator, uint32 flags) argument
282 DrawMenuFieldBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags) argument
294 DrawMenuBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
326 DrawMenuItemBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
366 DrawStatusBar(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& barColor, float progressPosition) argument
419 DrawCheckBox(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags) argument
491 DrawRadioButton(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags) argument
562 DrawScrollBarBorder(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
617 DrawScrollBarButton(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, int32 direction, orientation orientation, bool down) argument
655 DrawScrollBarBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
751 DrawScrollBarThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation, uint32 knobStyle) argument
940 DrawScrollViewFrame(BView* view, BRect& rect, const BRect& updateRect, BRect verticalScrollBarFrame, BRect horizontalScrollBarFrame, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 _borders) argument
1024 DrawArrowShape(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 direction, uint32 flags, float tint) argument
1113 DrawSliderBar(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, rgb_color leftFillColor, rgb_color rightFillColor, float sliderScale, uint32 flags, orientation orientation) argument
1153 DrawSliderBar(BView* view, BRect rect, const BRect& updateRect, const rgb_color& base, rgb_color fillColor, uint32 flags, orientation orientation) argument
1306 DrawSliderThumb(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
1390 DrawSliderTriangle(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, orientation orientation) argument
1399 DrawSliderTriangle(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, const rgb_color& fill, uint32 flags, orientation orientation) argument
1517 DrawSliderHashMarks(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, int32 count, hash_mark_location location, uint32 flags, orientation orientation) argument
1607 DrawTabFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, border_style borderStyle, uint32 side) argument
1641 DrawActiveTab(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, uint32 side, int32, int32, int32, int32) argument
1823 DrawInactiveTab(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, uint32 side, int32, int32, int32, int32) argument
1925 DrawSplitter(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, orientation orientation, uint32 flags, uint32 borders) argument
2040 DrawBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, border_style borderStyle, uint32 flags, uint32 borders) argument
2064 DrawRaisedBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
2085 DrawTextControlBorder(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders) argument
2155 DrawGroupFrame(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 borders) argument
2174 DrawLabel(BView* view, const char* label, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, const rgb_color* textColor) argument
2184 DrawLabel(BView* view, const char* label, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, const BAlignment& alignment, const rgb_color* textColor) argument
2316 DrawLabel(BView* view, const char* label, const BBitmap* icon, BRect rect, const BRect& updateRect, const rgb_color& base, uint32 flags, const BAlignment& alignment, const rgb_color* textColor) argument
2461 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
2471 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, float radius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
2481 DrawButtonWithPopUpBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, uint32 flags, uint32 borders, orientation orientation) argument
2496 _DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, const rgb_color& background, float contrast, float brightness, uint32 flags, uint32 borders) argument
2666 _DrawOuterResessedFrame(BView* view, BRect& rect, const rgb_color& base, float contrast, float brightness, uint32 flags, uint32 borders) argument
2692 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, uint32 borders) argument
2728 _DrawFrame(BView* view, BRect& rect, const rgb_color& left, const rgb_color& top, const rgb_color& right, const rgb_color& bottom, const rgb_color& rightTop, const rgb_color& leftBottom, uint32 borders) argument
2779 _DrawButtonBackground(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument
2814 _DrawFlatButtonBackground(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument
2839 _DrawNonFlatButtonBackground(BView* view, BRect& rect, const BRect& updateRect, BRegion& clipping, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags, uint32 borders, orientation orientation) argument
3000 _DrawPopUpMarker(BView* view, const BRect& rect, const rgb_color& base, uint32 flags) argument
3029 _DrawMenuFieldBackgroundOutside(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, bool popupIndicator, uint32 flags) argument
3078 _DrawMenuFieldBackgroundInside(BView* view, BRect& rect, const BRect& updateRect, float leftTopRadius, float rightTopRadius, float leftBottomRadius, float rightBottomRadius, const rgb_color& base, uint32 flags, uint32 borders) argument
3622 _DrawRoundBarCorner(BView* view, BRect& rect, const BRect& updateRect, const rgb_color& edgeLightColor, const rgb_color& edgeShadowColor, const rgb_color& frameLightColor, const rgb_color& frameShadowColor, const rgb_color& fillLightColor, const rgb_color& fillShadowColor, float leftInset, float topInset, float rightInset, float bottomInset, orientation orientation) argument
3842 _FillGradient(BView* view, const BRect& rect, const rgb_color& base, float topTint, float bottomTint, orientation orientation) argument
3853 _FillGlossyGradient(BView* view, const BRect& rect, const rgb_color& base, float topTint, float middle1Tint, float middle2Tint, float bottomTint, orientation orientation) argument
3865 _MakeGradient(BGradientLinear& gradient, const BRect& rect, const rgb_color& base, float topTint, float bottomTint, orientation orientation) const argument
3880 _MakeGlossyGradient(BGradientLinear& gradient, const BRect& rect, const rgb_color& base, float topTint, float middle1Tint, float middle2Tint, float bottomTint, orientation orientation) const argument
3898 _MakeButtonGradient(BGradientLinear& gradient, BRect& rect, const rgb_color& base, uint32 flags, orientation orientation) const argument
[all...]
/haiku/src/preferences/printers/
H A DTestPageView.h18 TestPageView(BRect rect, PrinterItem* printer);
21 void DrawAfterChildren(BRect rect);
/haiku/src/tests/kits/game/chart/
H A DChartView.cpp18 ChartView::ChartView(BRect rect) argument
20 BView(rect, "", B_FOLLOW_ALL, B_WILL_DRAW)
27 ChartView::Draw(BRect rect) argument
34 DrawBitmap(window->fOffscreen, rect, rect);
49 InstantView::InstantView(BRect rect) argument
51 BView(rect, "", B_FOLLOW_LEFT | B_FOLLOW_TOP, B_WILL_DRAW)
61 InstantView::Draw(BRect rect) argument

Completed in 316 milliseconds

1234567891011>>