diff options
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r-- | src/FbTk/FbWindow.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh index b08df5e..a630f4f 100644 --- a/src/FbTk/FbWindow.hh +++ b/src/FbTk/FbWindow.hh | |||
@@ -187,6 +187,9 @@ public: | |||
187 | void setRenderer(FbWindowRenderer &renderer) { m_renderer = &renderer; } | 187 | void setRenderer(FbWindowRenderer &renderer) { m_renderer = &renderer; } |
188 | void sendConfigureNotify(int x, int y, unsigned int width, unsigned int height); | 188 | void sendConfigureNotify(int x, int y, unsigned int width, unsigned int height); |
189 | 189 | ||
190 | /// this window is basicly a carrier and does not need background-updates | ||
191 | void setCarrier(bool flag) { m_is_carrier = flag; } | ||
192 | bool isCarrier() const { return m_is_carrier; } | ||
190 | /// forces full background change, recalcing of alpha values if necessary | 193 | /// forces full background change, recalcing of alpha values if necessary |
191 | void updateBackground(bool only_if_alpha); | 194 | void updateBackground(bool only_if_alpha); |
192 | 195 | ||
@@ -221,6 +224,8 @@ private: | |||
221 | Pixmap m_lastbg_pm; | 224 | Pixmap m_lastbg_pm; |
222 | 225 | ||
223 | FbWindowRenderer *m_renderer; | 226 | FbWindowRenderer *m_renderer; |
227 | |||
228 | bool m_is_carrier; | ||
224 | }; | 229 | }; |
225 | 230 | ||
226 | bool operator == (Window win, const FbWindow &fbwin); | 231 | bool operator == (Window win, const FbWindow &fbwin); |