Lines Matching refs:scale

318   const int scale = guiscale();  in loadXml()  local
426 int x = scale*strtol(xmlPart->Attribute("x"), nullptr, 10); in loadXml()
427 int y = scale*strtol(xmlPart->Attribute("y"), nullptr, 10); in loadXml()
428 int w = (xmlPart->Attribute("w") ? scale*strtol(xmlPart->Attribute("w"), nullptr, 10): 0); in loadXml()
429 int h = (xmlPart->Attribute("h") ? scale*strtol(xmlPart->Attribute("h"), nullptr, 10): 0); in loadXml()
442 int w1 = scale*strtol(xmlPart->Attribute("w1"), nullptr, 10); in loadXml()
443 int w2 = scale*strtol(xmlPart->Attribute("w2"), nullptr, 10); in loadXml()
444 int w3 = scale*strtol(xmlPart->Attribute("w3"), nullptr, 10); in loadXml()
445 int h1 = scale*strtol(xmlPart->Attribute("h1"), nullptr, 10); in loadXml()
446 int h2 = scale*strtol(xmlPart->Attribute("h2"), nullptr, 10); in loadXml()
447 int h3 = scale*strtol(xmlPart->Attribute("h3"), nullptr, 10); in loadXml()
465 int focusx = scale*std::strtol(xmlPart->Attribute("focusx"), NULL, 10); in loadXml()
466 int focusy = scale*std::strtol(xmlPart->Attribute("focusy"), NULL, 10); in loadXml()
533 if (m || l) margin.left(scale*std::strtol(l ? l: m, nullptr, 10)); in loadXml()
534 if (m || t) margin.top(scale*std::strtol(t ? t: m, nullptr, 10)); in loadXml()
535 if (m || r) margin.right(scale*std::strtol(r ? r: m, nullptr, 10)); in loadXml()
536 if (m || b) margin.bottom(scale*std::strtol(b ? b: m, nullptr, 10)); in loadXml()
548 if (m || l) border.left(scale*std::strtol(l ? l: m, nullptr, 10)); in loadXml()
549 if (m || t) border.top(scale*std::strtol(t ? t: m, nullptr, 10)); in loadXml()
550 if (m || r) border.right(scale*std::strtol(r ? r: m, nullptr, 10)); in loadXml()
551 if (m || b) border.bottom(scale*std::strtol(b ? b: m, nullptr, 10)); in loadXml()
563 if (m || l) padding.left(scale*std::strtol(l ? l: m, nullptr, 10)); in loadXml()
564 if (m || t) padding.top(scale*std::strtol(t ? t: m, nullptr, 10)); in loadXml()
565 if (m || r) padding.right(scale*std::strtol(r ? r: m, nullptr, 10)); in loadXml()
566 if (m || b) padding.bottom(scale*std::strtol(b ? b: m, nullptr, 10)); in loadXml()
658 layer.setOffset(offset*scale); in loadXml()
751 const int scale = guiscale(); in initWidget() local
758 widget->setChildSpacing(4 * scale); in initWidget()
779 widget->setChildSpacing(3 * scale); in initWidget()
785 widget->setChildSpacing(4 * scale); in initWidget()
826 BORDER(2 * scale); in initWidget()
827 widget->setChildSpacing(18 * scale); in initWidget()
831 widget->setChildSpacing(3 * scale); in initWidget()
840 BORDER(2 * scale); in initWidget()
853 parts.sliderEmpty()->bitmapW()->width()-1*scale, in initWidget()
855 parts.sliderEmpty()->bitmapE()->width()-1*scale, in initWidget()
856 parts.sliderEmpty()->bitmapS()->height()-1*scale); in initWidget()
1130 int scale = guiscale(); in paintMenuItem() local
1173 int x = bounds.x+4*scale-icon->width()/2; in paintMenuItem()
1196 for (c=0; c<3*scale; c++) in paintMenuItem()
1198 bounds.x2()-3*scale-c, in paintMenuItem()
1203 for (c=0; c<3*scale; c++) in paintMenuItem()
1205 bounds.x2()-3*scale-c+1, in paintMenuItem()
1208 for (c=0; c<3*scale; c++) in paintMenuItem()
1210 bounds.x2()-3*scale-c, in paintMenuItem()