made the functions static

This commit is contained in:
Paolo Cignoni 2007-11-09 00:01:16 +00:00
parent c04c5cde70
commit 75eba3e96d
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ $Log: trackball.h,v $
#define QT_TRACKBALL_H
/// Takes a QT MouseButton, some QT KeyboardModifiers and returns the equivalent Trackball::Button
vcg::Trackball::Button QT2VCG (Qt::MouseButton qtbt, Qt::KeyboardModifiers modifiers)
static vcg::Trackball::Button QT2VCG (Qt::MouseButton qtbt, Qt::KeyboardModifiers modifiers)
{
int vcgbt = vcg::Trackball::BUTTON_NONE;
@ -53,7 +53,7 @@ vcg::Trackball::Button QT2VCG (Qt::MouseButton qtbt, Qt::KeyboardModifiers modif
}
/// Takes some QT KeyboardModifiers and returns the mouse wheel related Trackball::Button
vcg::Trackball::Button QTWheel2VCG (Qt::KeyboardModifiers modifiers)
static vcg::Trackball::Button QTWheel2VCG (Qt::KeyboardModifiers modifiers)
{
int vcgbt = vcg::Trackball::WHEEL;