void Layer::SetWindowDimensions(int width, int height) { windowWidth = width; windowHeight = height; resizeBackground(width, height); resetFramebuffer(); }
void UpdatedWidget::update(double dx, double dy) { setGeometry(transformRect(m_initRect, dx, dy)); resizeBackground(dx, dy); QList<Button*> ls = this->findChildren<Button*>(); foreach (Button* w, ls) { w->update(dx, dy); }
void DockAppItem::resizeResources() { if (m_appIcon != NULL) updateIcon(); if (m_appBG != NULL) { resizeBackground(); m_appBG->move(0, 0); } updateTitle(); }
void Layer::SetWindowHeight(int height) { windowHeight = height; resizeBackground(0, height); resetFramebuffer(); }
void Layer::SetWindowWidth(int width) { windowWidth = width; resizeBackground(width, 0); resetFramebuffer(); }