diff options
author | fluxgen <fluxgen> | 2003-08-13 10:03:45 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-13 10:03:45 (GMT) |
commit | 447486fd8be3900ceb6ee28bf9c8faf1a7b57a47 (patch) | |
tree | e744df6f4011276be51222c3888a2b0934001abb | |
parent | 671e2688b6df40c4b8bb476864e5fae2b94f19b5 (diff) | |
download | fluxbox-447486fd8be3900ceb6ee28bf9c8faf1a7b57a47.zip fluxbox-447486fd8be3900ceb6ee28bf9c8faf1a7b57a47.tar.bz2 |
Button changed to a FbWindow
-rw-r--r-- | src/IconButton.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc index d7bfd35..d455880 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.3 2003/08/12 01:19:22 fluxgen Exp $ | 23 | // $Id: IconButton.cc,v 1.4 2003/08/13 10:03:45 fluxgen Exp $ |
24 | 24 | ||
25 | #include "IconButton.hh" | 25 | #include "IconButton.hh" |
26 | 26 | ||
@@ -45,7 +45,7 @@ IconButton::IconButton(const FbTk::FbWindow &parent, const FbTk::Font &font, | |||
45 | FluxboxWindow &win): | 45 | FluxboxWindow &win): |
46 | TextButton(parent, font, win.winClient().title()), | 46 | TextButton(parent, font, win.winClient().title()), |
47 | m_win(win), | 47 | m_win(win), |
48 | m_icon_window(window(), 1, 1, 1, 1, | 48 | m_icon_window(*this, 1, 1, 1, 1, |
49 | ExposureMask | ButtonPressMask | ButtonReleaseMask) { | 49 | ExposureMask | ButtonPressMask | ButtonReleaseMask) { |
50 | 50 | ||
51 | FbTk::RefCount<FbTk::Command> focus(new FbTk::SimpleCommand<FluxboxWindow>(m_win, &FluxboxWindow::raiseAndFocus)); | 51 | FbTk::RefCount<FbTk::Command> focus(new FbTk::SimpleCommand<FluxboxWindow>(m_win, &FluxboxWindow::raiseAndFocus)); |