Lines Matching refs:getHeight

337 						img->getWidth(), img->getHeight());  in draw()
342 int textY = getHeight() / 2 - getFont()->getHeight() / 2; in draw()
375 graphics->drawRectangle(gcn::Rectangle(0, 0, getWidth(), getHeight())); in draw()
386 setHeight(normalImage->getHeight()); in adjustSize()
445 graphics->drawImage(img, 0, 0, 0, (getHeight() - img->getHeight()) / 2, in drawBox()
446 img->getWidth(), img->getHeight()); in drawBox()
467 width = getHeight(); in draw()
474 graphics->drawRectangle(gcn::Rectangle(width - 4, 0, getWidth() - width + 3, getHeight())); in draw()
516 height = getFont()->getHeight(); in adjustSize()
520 height = std::max(height, uncheckedNormalImage->getHeight()); in adjustSize()
522 width = getFont()->getHeight(); in adjustSize()
572 width = getHeight(); in draw()
579 graphics->drawRectangle(gcn::Rectangle(width - 4, 0, getWidth() - width + 3, getHeight())); in draw()
609 graphics->drawImage(img, 0, 0, 0, (getHeight() - img->getHeight()) / 2, in drawBox()
610 img->getWidth(), img->getHeight()); in drawBox()
653 height = getFont()->getHeight(); in adjustSize()
657 height = std::max(height, uncheckedNormalImage->getHeight()); in adjustSize()
659 width = getFont()->getHeight(); in adjustSize()
701 img->getWidth(), img->getHeight()); in drawMarker()
703 int v = (getHeight() - getMarkerLength()) - getMarkerPosition(); in drawMarker()
705 img->getWidth(), img->getHeight()); in drawMarker()
727 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in draw()
871 this->setHeight(this->getFont()->getHeight() * this->mTextRows.size()); in adjustSize()
903 textY = (this->getHeight() - (int)this->mTextRows.size() * this->getFont()->getHeight()) / 2; in draw()
906 textY = this->getHeight() - (int)this->mTextRows.size() * this->getFont()->getHeight(); in draw()
916 graphics->drawText(this->mTextRows[i], textX, textY + i * this->getFont()->getHeight(), in draw()
930 int height = getHeight() + getBorderSize() * 2 - 1; in drawBorder()
1065 if (y + widget->getHeight() > container.getHeight()) { in add()
1066 container.setHeight(y + widget->getHeight()); in add()
1076 if (container.getHeight() + containerY - speedY > 0) { in logic()
1094 finished = (container.getHeight() == getHeight()); in restart()
1133 if (y + widget->getHeight() > container.getHeight()) { in add()
1134 container.setHeight(y + widget->getHeight()); in add()
1186 criticaly = getY() + getHeight(); in mouseMotion()
1191 if (criticaly + diffy >= bcontainer->getHeight()) { in mouseMotion()
1192 diffy = bcontainer->getHeight() - criticaly; in mouseMotion()
1242 img->Resize(getWidth(), img->getHeight()); in draw()
1243 graphics->drawImage(img, 0, 0, 0, 0, getWidth(), img->getHeight()); in draw()
1274 graphics->fillRectangle(gcn::Rectangle(x + selX, y, selW, font->getHeight())); in draw()
1286 int height = getHeight() + getBorderSize() * 2 - 1; in drawBorder()
1287 height = itemImage ? std::max<int>(height, itemImage->getHeight()) : height; in drawBorder()
1347 img->Resize(getWidth(), img->getHeight()); in draw()
1349 fontHeight = std::max<int>(getFont()->getHeight(), img->getHeight()); in draw()
1355 graphics->drawImage(img, 0, 0, 0, y, getWidth(), img->getHeight()); in draw()
1357 …wText("~<" + mListModel->getElementAt(i) + "~>", 1, y + (fontHeight - getFont()->getHeight()) / 2); in draw()
1359 … graphics->drawText(mListModel->getElementAt(i), 1, y + (fontHeight - getFont()->getHeight()) / 2); in draw()
1373 int height = getHeight() + getBorderSize() * 2 - 1; in drawBorder()
1395 …etHeight((itemImage ? std::max<int>(getFont()->getHeight(), itemImage->getHeight()) : getFont()->g… in adjustSize()
1403 …cted(y / (itemImage ? std::max<int>(getFont()->getHeight(), itemImage->getHeight()) : getFont()->g… in mousePress()
1439 …roll.y = (itemImage ? std::max<int>(getFont()->getHeight(), itemImage->getHeight()) : getFont()->g… in setSelected()
1440 …height = (itemImage ? std::max<int>(getFont()->getHeight(), itemImage->getHeight()) : getFont()->g… in setSelected()
1686 img->Resize(rect.width, img->getHeight()); in draw()
1688 while (y + img->getHeight() <= rect.height) { in draw()
1689 graphics->drawImage(img, 0, 0, 0, y, getWidth(), img->getHeight()); in draw()
1690 y += img->getHeight(); in draw()
1759 int height = getHeight() + getBorderSize() * 2 - 1; in drawBorder()
1785 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawUpButton()
1797 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawDownButton()
1809 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawLeftButton()
1821 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawRightButton()
1833 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawUpPressedButton()
1845 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawDownPressedButton()
1857 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawLeftPressedButton()
1869 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawRightPressedButton()
1882 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawHBar()
1897 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawVBar()
1911 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawHMarker()
1924 graphics->drawImage(img, 0, 0, 0, 0, img->getWidth(), img->getHeight()); in drawVMarker()
1939 if (mContent && mContent->getHeight() != 0) in getVerticalMarkerDimension()
1941 length = this->markerImage->getHeight(); in getVerticalMarkerDimension()
1983 length = this->markerImage->getHeight(); in getHorizontalMarkerDimension()
2085 h = getHeight(); in draw()
2112 1, (h - getFont()->getHeight()) / 2); in draw()
2143 int height = getHeight() + getBorderSize() * 2 - 1; in drawBorder()
2170 h = getHeight(); in drawButton()
2207 int listBoxHeight = mListBox.getHeight(); in adjustHeight()
2208 int h2 = mOldH ? mOldH : getFont()->getHeight(); in adjustHeight()
2217 int h = getParent()->getHeight() - getY(); in adjustHeight()
2319 height = getHeight(); in draw()
2333 (height - getFont()->getHeight()) / 2); in draw()