minor compile fix

This commit is contained in:
fluxgen 2003-10-26 20:11:27 +00:00
parent 35b2305b62
commit be807760d0
2 changed files with 7 additions and 3 deletions

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: GenericTool.cc,v 1.1 2003/10/13 23:35:54 fluxgen Exp $
// $Id: GenericTool.cc,v 1.2 2003/10/26 20:11:27 fluxgen Exp $
#include "GenericTool.hh"
#include "FbTk/FbWindow.hh"
@ -38,6 +38,10 @@ GenericTool::GenericTool(FbTk::FbWindow *new_window, ToolbarItem::Type type,
throw std::string("GenericTool: Error! Tried to create a tool with window = 0");
}
GenericTool::~GenericTool() {
}
void GenericTool::move(int x, int y) {
m_window->move(x, y);
}

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: GenericTool.hh,v 1.1 2003/10/13 23:35:53 fluxgen Exp $
// $Id: GenericTool.hh,v 1.2 2003/10/26 20:11:27 fluxgen Exp $
#ifndef GENERICTOOL_HH
#define GENERICTOOL_HH
@ -40,7 +40,7 @@ class FbWindow;
class GenericTool: public ToolbarItem, public FbTk::Observer, private FbTk::NotCopyable {
public:
GenericTool(FbTk::FbWindow *new_window, ToolbarItem::Type type, ToolTheme &theme);
virtual ~GenericTool() { }
virtual ~GenericTool();
void move(int x, int y);
void resize(unsigned int x, unsigned int y);
void moveResize(int x, int y,