aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-10-26 20:11:27 (GMT)
committerfluxgen <fluxgen>2003-10-26 20:11:27 (GMT)
commitbe807760d03827e4c61621b958568d69aa3dcf21 (patch)
treee65ea641fa982fc02b5b953bc6151df9d6ee7bda /src
parent35b2305b62e106e5b0ca38200a50064287da99aa (diff)
downloadfluxbox_pavel-be807760d03827e4c61621b958568d69aa3dcf21.zip
fluxbox_pavel-be807760d03827e4c61621b958568d69aa3dcf21.tar.bz2
minor compile fix
Diffstat (limited to 'src')
-rw-r--r--src/GenericTool.cc6
-rw-r--r--src/GenericTool.hh4
2 files changed, 7 insertions, 3 deletions
diff --git a/src/GenericTool.cc b/src/GenericTool.cc
index aaea626..0dcdf4c 100644
--- a/src/GenericTool.cc
+++ b/src/GenericTool.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: GenericTool.cc,v 1.1 2003/10/13 23:35:54 fluxgen Exp $ 22// $Id: GenericTool.cc,v 1.2 2003/10/26 20:11:27 fluxgen Exp $
23 23
24#include "GenericTool.hh" 24#include "GenericTool.hh"
25#include "FbTk/FbWindow.hh" 25#include "FbTk/FbWindow.hh"
@@ -38,6 +38,10 @@ GenericTool::GenericTool(FbTk::FbWindow *new_window, ToolbarItem::Type type,
38 throw std::string("GenericTool: Error! Tried to create a tool with window = 0"); 38 throw std::string("GenericTool: Error! Tried to create a tool with window = 0");
39} 39}
40 40
41GenericTool::~GenericTool() {
42
43}
44
41void GenericTool::move(int x, int y) { 45void GenericTool::move(int x, int y) {
42 m_window->move(x, y); 46 m_window->move(x, y);
43} 47}
diff --git a/src/GenericTool.hh b/src/GenericTool.hh
index 5ad429c..75aad16 100644
--- a/src/GenericTool.hh
+++ b/src/GenericTool.hh
@@ -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: GenericTool.hh,v 1.1 2003/10/13 23:35:53 fluxgen Exp $ 22// $Id: GenericTool.hh,v 1.2 2003/10/26 20:11:27 fluxgen Exp $
23 23
24#ifndef GENERICTOOL_HH 24#ifndef GENERICTOOL_HH
25#define GENERICTOOL_HH 25#define GENERICTOOL_HH
@@ -40,7 +40,7 @@ class FbWindow;
40class GenericTool: public ToolbarItem, public FbTk::Observer, private FbTk::NotCopyable { 40class GenericTool: public ToolbarItem, public FbTk::Observer, private FbTk::NotCopyable {
41public: 41public:
42 GenericTool(FbTk::FbWindow *new_window, ToolbarItem::Type type, ToolTheme &theme); 42 GenericTool(FbTk::FbWindow *new_window, ToolbarItem::Type type, ToolTheme &theme);
43 virtual ~GenericTool() { } 43 virtual ~GenericTool();
44 void move(int x, int y); 44 void move(int x, int y);
45 void resize(unsigned int x, unsigned int y); 45 void resize(unsigned int x, unsigned int y);
46 void moveResize(int x, int y, 46 void moveResize(int x, int y,