aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-24 10:12:57 (GMT)
committerfluxgen <fluxgen>2003-06-24 10:12:57 (GMT)
commitfc5de0455e1d99b6b89168ab3c9b973360791d68 (patch)
tree88426dcb67e38da079f354cd3fa9ca8ff23f28a5 /src/FbTk/FbWindow.cc
parent476c6d1d172d87594233642023dbfdd29ab28a2a (diff)
downloadfluxbox_pavel-fc5de0455e1d99b6b89168ab3c9b973360791d68.zip
fluxbox_pavel-fc5de0455e1d99b6b89168ab3c9b973360791d68.tar.bz2
added clearArea
Diffstat (limited to 'src/FbTk/FbWindow.cc')
-rw-r--r--src/FbTk/FbWindow.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc
index 722b414..587122e 100644
--- a/src/FbTk/FbWindow.cc
+++ b/src/FbTk/FbWindow.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWindow.cc,v 1.20 2003/05/19 22:38:55 fluxgen Exp $ 22// $Id: FbWindow.cc,v 1.21 2003/06/24 10:12:57 fluxgen Exp $
23 23
24#include "FbWindow.hh" 24#include "FbWindow.hh"
25#include "EventManager.hh" 25#include "EventManager.hh"
@@ -115,6 +115,12 @@ void FbWindow::clear() {
115 XClearWindow(s_display, m_window); 115 XClearWindow(s_display, m_window);
116} 116}
117 117
118void FbWindow::clearArea(int x, int y,
119 unsigned int width, unsigned int height,
120 bool exposures) {
121 XClearArea(s_display, window(), x, y, width, height, exposures);
122}
123
118FbWindow &FbWindow::operator = (Window win) { 124FbWindow &FbWindow::operator = (Window win) {
119 setNew(win); 125 setNew(win);
120 return *this; 126 return *this;