diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/GenericTool.cc | 6 | ||||
-rw-r--r-- | src/GenericTool.hh | 4 |
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 | ||
41 | GenericTool::~GenericTool() { | ||
42 | |||
43 | } | ||
44 | |||
41 | void GenericTool::move(int x, int y) { | 45 | void 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; | |||
40 | class GenericTool: public ToolbarItem, public FbTk::Observer, private FbTk::NotCopyable { | 40 | class GenericTool: public ToolbarItem, public FbTk::Observer, private FbTk::NotCopyable { |
41 | public: | 41 | public: |
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, |