Lines Matching refs:rect

137 BeDecorAddOn::_AllocateDecorator(DesktopSettings& settings, BRect rect,
140 return new (std::nothrow)BeDecorator(settings, rect, desktop);
149 BeDecorator::BeDecorator(DesktopSettings& settings, BRect rect,
152 SATDecorator(settings, rect, desktop),
157 rect.left, rect.top, rect.right, rect.bottom));
716 \param rect The area of the button to update.
719 BeDecorator::_DrawClose(Decorator::Tab* _tab, bool direct, BRect rect)
721 STRACE(("_DrawClose(%f,%f,%f,%f)\n", rect.left, rect.top, rect.right,
722 rect.bottom));
730 tab->closePressed, rect.IntegerWidth(), rect.IntegerHeight());
734 _DrawButtonBitmap(bitmap, direct, rect);
745 \param rect The area of the button to update.
748 BeDecorator::_DrawZoom(Decorator::Tab* _tab, bool direct, BRect rect)
750 STRACE(("_DrawZoom(%f,%f,%f,%f)\n", rect.left, rect.top, rect.right,
751 rect.bottom));
753 if (rect.IntegerWidth() < 1)
761 tab->zoomPressed, rect.IntegerWidth(), rect.IntegerHeight());
765 _DrawButtonBitmap(bitmap, direct, rect);
770 BeDecorator::_DrawMinimize(Decorator::Tab* tab, bool direct, BRect rect)
795 \param rect The rectangular area to draw in.
801 BeDecorator::_DrawBevelRect(DrawingEngine* engine, const BRect rect, bool down,
805 BRect inner(rect.InsetByCopy(1.0f, 1.0f));
807 engine->StrokeLine(rect.LeftBottom(), rect.LeftTop(), shadow);
808 engine->StrokeLine(rect.LeftTop(), rect.RightTop(), shadow);
812 engine->StrokeLine(rect.RightTop(), rect.RightBottom(), light);
813 engine->StrokeLine(rect.RightBottom(), rect.LeftBottom(), light);
817 BRect r1(rect);
821 BRect r2(rect);
827 engine->StrokeRect(rect, shadow);
837 \param rect The rectangular area to draw in.
842 BeDecorator::_DrawBlendedRect(DrawingEngine* engine, const BRect rect,
846 BRect fillRect(rect.InsetByCopy(1.0f, 1.0f));
867 BeDecorator::_DrawButtonBitmap(ServerBitmap* bitmap, bool direct, BRect rect)
876 fDrawingEngine->DrawBitmap(bitmap, rect.OffsetToCopy(0, 0), rect);
963 BRect rect(0, 0, width - 1, height - 1);
978 sBitmapDrawingEngine->FillRect(rect, buttonColor);
981 _DrawBevelRect(sBitmapDrawingEngine, rect, tab->closePressed,
987 rect.InsetBy(1, 1);
988 _DrawBlendedRect(sBitmapDrawingEngine, rect, tab->closePressed,
996 rect.InsetBy(2, 2);
999 sBitmapDrawingEngine->FillRect(rect, buttonColorLight1);
1028 const BRect rightBottom(BRect(rect.right - 2, rect.bottom - 2,
1029 rect.right, rect.bottom));
1055 const BRect leftTop(rect.left, rect.top,
1056 rect.left + 9, rect.top + 9);
1079 const BRect leftTop(rect.left, rect.top,
1080 rect.left + 2, rect.top + 2);
1106 const BRect rightBottom(BRect(rect.right - 9, rect.bottom - 9,
1107 rect.right, rect.bottom));
1127 sBitmapDrawingEngine->FillRect(rect, buttonColor);
1129 // big rect
1130 BRect bigRect(rect);
1134 // small rect
1135 BRect smallRect(rect);
1139 // draw big rect bevel
1153 // draw small rect bevel then fill with linear gradient
1174 // fill big rect bg
1177 // some elements are covered by the small rect
1235 // draw small rect bevel
1250 // fill small rect bg