Lines Matching refs:updateRect

54 FlatControlLook::DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect,
58 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, background,
64 FlatControlLook::DrawButtonFrame(BView* view, BRect& rect, const BRect& updateRect,
68 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, background,
75 const BRect& updateRect, float leftTopRadius, float rightTopRadius,
80 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, background,
87 const BRect& updateRect, const rgb_color& base, uint32 flags,
90 _DrawButtonBackground(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, false,
97 const BRect& updateRect, float radius, const rgb_color& base, uint32 flags,
100 _DrawButtonBackground(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, false,
107 const BRect& updateRect, float leftTopRadius, float rightTopRadius,
111 _DrawButtonBackground(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, false,
117 FlatControlLook::DrawMenuBarBackground(BView* view, BRect& rect, const BRect& updateRect,
120 if (!ShouldDraw(view, rect, updateRect))
168 const BRect& updateRect, const rgb_color& base,
171 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, background,
178 const BRect& updateRect, float radius, const rgb_color& base,
181 _DrawButtonFrame(view, rect, updateRect, radius, radius, radius, radius, base, background, 1.0,
188 const BRect& updateRect, float leftTopRadius,
193 _DrawButtonFrame(view, rect, updateRect, leftTopRadius, rightTopRadius, leftBottomRadius,
200 const BRect& updateRect, const rgb_color& base, bool popupIndicator,
203 _DrawMenuFieldBackgroundOutside(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius,
210 const BRect& updateRect, const rgb_color& base, uint32 flags,
213 _DrawMenuFieldBackgroundInside(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base,
220 const BRect& updateRect, float radius, const rgb_color& base,
223 _DrawMenuFieldBackgroundOutside(view, rect, updateRect, radius, radius,
230 const BRect& updateRect, float leftTopRadius, float rightTopRadius,
234 _DrawMenuFieldBackgroundOutside(view, rect, updateRect, leftTopRadius,
242 const BRect& updateRect, const rgb_color& base, uint32 flags,
245 if (!ShouldDraw(view, rect, updateRect))
270 const BRect& updateRect, const rgb_color& base, uint32 flags,
273 if (!ShouldDraw(view, rect, updateRect))
308 const BRect& updateRect, const rgb_color& base, uint32 flags,
311 if (!ShouldDraw(view, rect, updateRect))
363 const BRect& updateRect, const rgb_color& base, uint32 flags,
366 if (!ShouldDraw(view, rect, updateRect))
393 DrawScrollBarBackground(view, rect, updateRect, base, flags, orientation);
395 DrawArrowShape(view, rect, updateRect, arrowColor, direction, flags, 1.0f);
404 BRect& rect2, const BRect& updateRect, const rgb_color& base, uint32 flags,
407 DrawScrollBarBackground(view, rect1, updateRect, base, flags, orientation);
408 DrawScrollBarBackground(view, rect2, updateRect, base, flags, orientation);
414 const BRect& updateRect, const rgb_color& base, uint32 flags,
417 if (!ShouldDraw(view, rect, updateRect))
455 const BRect& updateRect, const rgb_color& base, uint32 flags,
458 if (!ShouldDraw(view, rect, updateRect))
486 // set clipping constraints to updateRect
487 BRegion clipping(updateRect);
488 DrawScrollBarBackground(view, rect, updateRect, base_panel, flags, orientation);
496 _DrawNonFlatButtonBackground(view, rect, updateRect, clipping, kRadius + 1, kRadius + 1,
499 DrawScrollBarBackground(view, rect, updateRect, base_panel, flags, orientation);
634 const BRect& updateRect, BRect verticalScrollBarFrame,
726 FlatControlLook::DrawSliderBar(BView* view, BRect rect, const BRect& updateRect,
730 if (!ShouldDraw(view, rect, updateRect))
755 DrawSliderBar(view, rect, updateRect, base, leftFillColor, flags, orientation);
762 DrawSliderBar(view, rect, updateRect, base, rightFillColor, flags,
771 FlatControlLook::DrawSliderBar(BView* view, BRect rect, const BRect& updateRect,
775 if (!ShouldDraw(view, rect, updateRect))
869 _DrawRoundBarCorner(view, leftCorner, updateRect, edgeLightColor,
873 _DrawRoundBarCorner(view, rightCorner, updateRect, edgeLightColor,
877 _DrawRoundBarCorner(view, leftCorner, updateRect, edgeLightColor,
881 _DrawRoundBarCorner(view, rightCorner, updateRect, edgeLightColor,
922 FlatControlLook::DrawSliderThumb(BView* view, BRect& rect, const BRect& updateRect,
925 if (!ShouldDraw(view, rect, updateRect))
970 DrawScrollBarBackground(view, rect, updateRect, base, flags, orientation);
1001 const BRect& updateRect, const rgb_color& base, uint32 flags,
1004 if (!ShouldDraw(view, rect, updateRect))
1080 _DrawRoundCornerLeftTop(view, leftTopCorner, updateRect, base,
1084 _DrawRoundCornerRightTop(view, rightTopCorner, updateRect, base,
1094 _DrawRoundCornerLeftBottom(view, leftBottomCorner, updateRect, base,
1099 _DrawRoundCornerRightBottom(view, rightBottomCorner, updateRect,
1108 _DrawRoundCornerLeftTop(view, leftTopCorner, updateRect, base,
1112 _DrawRoundCornerLeftBottom(view, leftBottomCorner, updateRect, base,
1122 _DrawRoundCornerRightTop(view, rightTopCorner, updateRect, base,
1127 _DrawRoundCornerRightBottom(view, rightBottomCorner, updateRect,
1182 FlatControlLook::DrawSplitter(BView* view, BRect& rect, const BRect& updateRect,
1186 if (!ShouldDraw(view, rect, updateRect))
1200 DrawRaisedBorder(view, rect, updateRect, background, flags, borders);
1297 FlatControlLook::DrawBorder(BView* view, BRect& rect, const BRect& updateRect,
1313 const BRect& updateRect, const rgb_color& base, uint32 flags,
1322 const BRect& updateRect, const rgb_color& base, uint32 flags,
1325 if (!ShouldDraw(view, rect, updateRect))
1349 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius,
1355 _DrawButtonFrame(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius,
1362 FlatControlLook::DrawGroupFrame(BView* view, BRect& rect, const BRect& updateRect,
1377 const BRect& updateRect, const rgb_color& base, uint32 flags,
1380 _DrawButtonBackground(view, rect, updateRect, kRadius, kRadius, kRadius, kRadius, base, true,
1387 const BRect& updateRect, float radius, const rgb_color& base, uint32 flags,
1390 _DrawButtonBackground(view, rect, updateRect, radius, radius, radius,
1397 const BRect& updateRect, float leftTopRadius, float rightTopRadius,
1401 _DrawButtonBackground(view, rect, updateRect, leftTopRadius,
1412 const BRect& updateRect, float leftTopRadius, float rightTopRadius,
1417 if (!ShouldDraw(view, rect, updateRect))
1497 _DrawRoundCornerFrameLeftTop(view, leftTopCorner, updateRect,
1509 _DrawRoundCornerFrameRightTop(view, rightTopCorner, updateRect,
1522 _DrawRoundCornerFrameLeftBottom(view, leftBottomCorner, updateRect,
1536 updateRect, cornerBgColor, edgeLightColor, frameShadowColor);
1597 const BRect& updateRect, float leftTopRadius, float rightTopRadius,
1603 if (!ShouldDraw(view, rect, updateRect))
1609 // set clipping constraints to updateRect
1629 _DrawFlatButtonBackground(view, rect, updateRect, customColor, popupIndicator,
1633 _DrawNonFlatButtonBackground(view, rect, updateRect, clipping,
1645 const BRect& updateRect, BRegion& clipping, float leftTopRadius,
1673 _DrawRoundCornerBackgroundLeftTop(view, leftTopCorner, updateRect,
1687 updateRect, bevelLightColor, bevelShadowColor, fillGradient);
1701 updateRect, bevelLightColor, bevelShadowColor, fillGradient);
1714 updateRect, bevelShadowColor, fillGradient);
1786 _DrawMenuFieldBackgroundInside(view, indicatorRect, updateRect, kRadius, rightTopRadius,
1829 const BRect& updateRect, float leftTopRadius, float rightTopRadius,
1833 if (!ShouldDraw(view, rect, updateRect))
1853 _DrawMenuFieldBackgroundInside(view, leftRect, updateRect, leftTopRadius, 0.0f,
1856 _DrawMenuFieldBackgroundInside(view, rightRect, updateRect, 0.0f, rightTopRadius, 0.0f,
1877 _DrawMenuFieldBackgroundInside(view, rect, updateRect, leftTopRadius,
1886 const BRect& updateRect, float leftTopRadius, float rightTopRadius,
1890 if (!ShouldDraw(view, rect, updateRect))
1959 _DrawRoundCornerBackgroundLeftTop(view, leftTopCorner, updateRect,
1996 _DrawRoundCornerBackgroundRightTop(view, rightTopCorner, updateRect,
2035 updateRect, bevelColor2, bevelColor3, fillGradient);
2063 updateRect, bevelColor3, fillGradient);