aboutsummaryrefslogtreecommitdiff
path: root/src/IconButton.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-19 16:15:32 (GMT)
committerfluxgen <fluxgen>2003-08-19 16:15:32 (GMT)
commit3006ba49e41538bcc0c4afe958875c59a34550a9 (patch)
tree71ceaafcbd5e15bf594b3603e8448e3e8f650049 /src/IconButton.cc
parent3dc7ab05994208549917e57323ba60194b2ec420 (diff)
downloadfluxbox_pavel-3006ba49e41538bcc0c4afe958875c59a34550a9.zip
fluxbox_pavel-3006ba49e41538bcc0c4afe958875c59a34550a9.tar.bz2
moved textbutton to fbtk
Diffstat (limited to 'src/IconButton.cc')
-rw-r--r--src/IconButton.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc
index ce4719a..a1e8cf0 100644
--- a/src/IconButton.cc
+++ b/src/IconButton.cc
@@ -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.cc,v 1.5 2003/08/16 12:04:12 fluxgen Exp $ 23// $Id: IconButton.cc,v 1.6 2003/08/19 16:13:25 fluxgen Exp $
24 24
25#include "IconButton.hh" 25#include "IconButton.hh"
26 26
@@ -42,7 +42,7 @@
42 42
43IconButton::IconButton(const FbTk::FbWindow &parent, const FbTk::Font &font, 43IconButton::IconButton(const FbTk::FbWindow &parent, const FbTk::Font &font,
44 FluxboxWindow &win): 44 FluxboxWindow &win):
45 TextButton(parent, font, win.winClient().title()), 45 FbTk::TextButton(parent, font, win.winClient().title()),
46 m_win(win), 46 m_win(win),
47 m_icon_window(*this, 1, 1, 1, 1, 47 m_icon_window(*this, 1, 1, 1, 1,
48 ExposureMask | ButtonPressMask | ButtonReleaseMask) { 48 ExposureMask | ButtonPressMask | ButtonReleaseMask) {
@@ -51,7 +51,7 @@ IconButton::IconButton(const FbTk::FbWindow &parent, const FbTk::Font &font,
51 setOnClick(focus); 51 setOnClick(focus);
52 52
53 m_win.hintSig().attach(this); 53 m_win.hintSig().attach(this);
54 54
55 FbTk::EventManager::instance()->add(*this, m_icon_window); 55 FbTk::EventManager::instance()->add(*this, m_icon_window);
56 56
57 update(0); 57 update(0);