Home | History | Annotate | Download | only in scroll

Lines Matching refs:controlSize

86     trackInfo.kind = scrollbar->controlSize() == RegularScrollbar ? kThemeMediumScrollBar : kThemeSmallScrollBar;
156 int ScrollbarThemeMacNonOverlayAPI::scrollbarThickness(ScrollbarControlSize controlSize)
158 return cScrollbarThickness[controlSize];
171 : scrollbar->height()) >= 2 * (cRealButtonLength[scrollbar->controlSize()] - cButtonHitInset[scrollbar->controlSize()]);
176 int minLengthForThumb = 2 * cButtonInset[scrollbar->controlSize()] + cThumbMinLength[scrollbar->controlSize()] + 1;
182 static IntRect buttonRepaintRect(const IntRect& buttonRect, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, bool start)
188 paintRect.setWidth(cRealButtonLength[controlSize]);
190 paintRect.setX(buttonRect.x() - (cRealButtonLength[controlSize] - buttonRect.width()));
192 paintRect.setHeight(cRealButtonLength[controlSize]);
194 paintRect.setY(buttonRect.y() - (cRealButtonLength[controlSize] - buttonRect.height()));
210 int thickness = scrollbarThickness(scrollbar->controlSize());
214 result = IntRect(scrollbar->x(), scrollbar->y(), cOuterButtonLength[scrollbar->controlSize()] + (painting ? cOuterButtonOverlap : 0), thickness);
216 result = IntRect(scrollbar->x(), scrollbar->y(), thickness, cOuterButtonLength[scrollbar->controlSize()] + (painting ? cOuterButtonOverlap : 0));
222 int start = part == BackButtonStartPart ? scrollbar->x() : scrollbar->x() + scrollbar->width() - cOuterButtonLength[scrollbar->controlSize()] - cButtonLength[scrollbar->controlSize()];
223 result = IntRect(start, scrollbar->y(), cButtonLength[scrollbar->controlSize()], thickness);
225 int start = part == BackButtonStartPart ? scrollbar->y() : scrollbar->y() + scrollbar->height() - cOuterButtonLength[scrollbar->controlSize()] - cButtonLength[scrollbar->controlSize()];
226 result = IntRect(scrollbar->x(), start, thickness, cButtonLength[scrollbar->controlSize()]);
230 return buttonRepaintRect(result, scrollbar->orientation(), scrollbar->controlSize(), part == BackButtonStartPart);
244 int thickness = scrollbarThickness(scrollbar->controlSize());
245 int outerButtonLength = cOuterButtonLength[scrollbar->controlSize()];
246 int buttonLength = cButtonLength[scrollbar->controlSize()];
270 return buttonRepaintRect(result, scrollbar->orientation(), scrollbar->controlSize(), part == ForwardButtonStartPart);
280 int thickness = scrollbarThickness(scrollbar->controlSize());
283 int outerButtonLength = cOuterButtonLength[scrollbar->controlSize()];
284 int buttonLength = cButtonLength[scrollbar->controlSize()];
313 return cThumbMinLength[scrollbar->controlSize()];