minor compile fix
This commit is contained in:
parent
35b2305b62
commit
be807760d0
2 changed files with 7 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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 "GenericTool.hh"
|
||||||
#include "FbTk/FbWindow.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");
|
throw std::string("GenericTool: Error! Tried to create a tool with window = 0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GenericTool::~GenericTool() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void GenericTool::move(int x, int y) {
|
void GenericTool::move(int x, int y) {
|
||||||
m_window->move(x, y);
|
m_window->move(x, y);
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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
|
#ifndef GENERICTOOL_HH
|
||||||
#define GENERICTOOL_HH
|
#define GENERICTOOL_HH
|
||||||
|
@ -40,7 +40,7 @@ class FbWindow;
|
||||||
class GenericTool: public ToolbarItem, public FbTk::Observer, private FbTk::NotCopyable {
|
class GenericTool: public ToolbarItem, public FbTk::Observer, private FbTk::NotCopyable {
|
||||||
public:
|
public:
|
||||||
GenericTool(FbTk::FbWindow *new_window, ToolbarItem::Type type, ToolTheme &theme);
|
GenericTool(FbTk::FbWindow *new_window, ToolbarItem::Type type, ToolTheme &theme);
|
||||||
virtual ~GenericTool() { }
|
virtual ~GenericTool();
|
||||||
void move(int x, int y);
|
void move(int x, int y);
|
||||||
void resize(unsigned int x, unsigned int y);
|
void resize(unsigned int x, unsigned int y);
|
||||||
void moveResize(int x, int y,
|
void moveResize(int x, int y,
|
||||||
|
|
Loading…
Reference in a new issue