aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-09-10 21:40:01 (GMT)
committerfluxgen <fluxgen>2003-09-10 21:40:01 (GMT)
commit3b66daeaa2ba9c74bbaaced341e5523e6f320c31 (patch)
tree71614e828bc6c39e9e7a45454f2dcf0a680876c9 /src
parentd9f17a17c3aed77392cbe0a07ff1e16d8e0ed561 (diff)
downloadfluxbox-3b66daeaa2ba9c74bbaaced341e5523e6f320c31.zip
fluxbox-3b66daeaa2ba9c74bbaaced341e5523e6f320c31.tar.bz2
clearArea
Diffstat (limited to 'src')
-rw-r--r--src/IconButton.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/IconButton.hh b/src/IconButton.hh
index 8367e1a..6ac08b7 100644
--- a/src/IconButton.hh
+++ b/src/IconButton.hh
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: IconButton.hh,v 1.2 2003/08/19 16:13:25 fluxgen Exp $ 23// $Id: IconButton.hh,v 1.3 2003/09/10 21:40:01 fluxgen Exp $
24 24
25#ifndef ICONBUTTON_HH 25#ifndef ICONBUTTON_HH
26#define ICONBUTTON_HH 26#define ICONBUTTON_HH
@@ -38,6 +38,9 @@ public:
38 38
39 void exposeEvent(XExposeEvent &event); 39 void exposeEvent(XExposeEvent &event);
40 void clear(); 40 void clear();
41 void clearArea(int x, int y,
42 unsigned int width, unsigned int height,
43 bool exposure = false);
41 void moveResize(int x, int y, 44 void moveResize(int x, int y,
42 unsigned int width, unsigned int height); 45 unsigned int width, unsigned int height);
43 void resize(unsigned int width, unsigned int height); 46 void resize(unsigned int width, unsigned int height);
@@ -45,7 +48,8 @@ public:
45 void update(FbTk::Subject *subj); 48 void update(FbTk::Subject *subj);
46 FluxboxWindow &win() { return m_win; } 49 FluxboxWindow &win() { return m_win; }
47 const FluxboxWindow &win() const { return m_win; } 50 const FluxboxWindow &win() const { return m_win; }
48 51protected:
52 void drawText(int x = 0, int y = 0);
49private: 53private:
50 void setupWindow(); 54 void setupWindow();
51 55