Changeset View
Changeset View
Standalone View
Standalone View
scene.h
Show First 20 Lines • Show All 291 Lines • ▼ Show 20 Line(s) | |||||
292 | class Scene::Window | 292 | class Scene::Window | ||
293 | { | 293 | { | ||
294 | public: | 294 | public: | ||
295 | Window(Toplevel* c); | 295 | Window(Toplevel* c); | ||
296 | virtual ~Window(); | 296 | virtual ~Window(); | ||
297 | // perform the actual painting of the window | 297 | // perform the actual painting of the window | ||
298 | virtual void performPaint(int mask, QRegion region, WindowPaintData data) = 0; | 298 | virtual void performPaint(int mask, QRegion region, WindowPaintData data) = 0; | ||
299 | // do any cleanup needed when the window's composite pixmap is discarded | 299 | // do any cleanup needed when the window's composite pixmap is discarded | ||
300 | void pixmapDiscarded(); | 300 | void discardPixmap(); | ||
301 | void updatePixmap(); | ||||
301 | int x() const; | 302 | int x() const; | ||
302 | int y() const; | 303 | int y() const; | ||
303 | int width() const; | 304 | int width() const; | ||
304 | int height() const; | 305 | int height() const; | ||
305 | QRect geometry() const; | 306 | QRect geometry() const; | ||
306 | QPoint pos() const; | 307 | QPoint pos() const; | ||
307 | QSize size() const; | 308 | QSize size() const; | ||
308 | QRect rect() const; | 309 | QRect rect() const; | ||
▲ Show 20 Lines • Show All 392 Lines • Show Last 20 Lines |