aboutsummaryrefslogtreecommitdiff
path: root/src/IconButton.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconButton.hh')
-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