void TextBoxWidget::updateDimensions() { TextWidget::updateDimensions(); w += _borderWidth * 2; h += _borderWidth * 2; updateCursorPosition(); notifyGeometryChange(); }
void Viewport::setOY(int value) { guardDisposed(); if (geometry.orig.y == value) return; geometry.orig.y = value; notifyGeometryChange(); }
void updateReso(int width, int height) { geometry.rect.w = width; geometry.rect.h = height; screenQuad.setTexPosRect(geometry.rect, geometry.rect); brightnessQuad.setTexPosRect(geometry.rect, geometry.rect); notifyGeometryChange(); }