Changeset View
Changeset View
Standalone View
Standalone View
decorations/decorationrenderer.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 56 | protected: | |||
---|---|---|---|---|---|
68 | 68 | | |||
69 | bool areImageSizesDirty() const { | 69 | bool areImageSizesDirty() const { | ||
70 | return m_imageSizesDirty; | 70 | return m_imageSizesDirty; | ||
71 | } | 71 | } | ||
72 | void resetImageSizesDirty() { | 72 | void resetImageSizesDirty() { | ||
73 | m_imageSizesDirty = false; | 73 | m_imageSizesDirty = false; | ||
74 | } | 74 | } | ||
75 | QImage renderToImage(const QRect &geo); | 75 | QImage renderToImage(const QRect &geo); | ||
76 | void renderToPainter(QPainter *painter, const QRect &rect); | ||||
76 | 77 | | |||
77 | private: | 78 | private: | ||
78 | DecoratedClientImpl *m_client; | 79 | DecoratedClientImpl *m_client; | ||
79 | QRegion m_scheduled; | 80 | QRegion m_scheduled; | ||
80 | bool m_imageSizesDirty; | 81 | bool m_imageSizesDirty; | ||
81 | }; | 82 | }; | ||
82 | 83 | | |||
83 | } | 84 | } | ||
84 | } | 85 | } | ||
85 | 86 | | |||
86 | #endif | 87 | #endif |