2012-06-07 00:54:14 +00:00
|
|
|
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
|
|
|
|
// Copyright (C) 2010 Winch Gate Property Limited
|
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU Affero General Public License as
|
|
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU Affero General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2012-06-08 23:37:43 +00:00
|
|
|
#include "nel/gui/ctrl_scroll_base.h"
|
2012-06-07 00:54:14 +00:00
|
|
|
|
2012-06-09 01:57:40 +00:00
|
|
|
namespace NLGUI
|
2012-06-07 00:54:14 +00:00
|
|
|
{
|
|
|
|
|
2012-06-09 01:57:40 +00:00
|
|
|
CCtrlScrollBase::CCtrlScrollBase( const TCtorParam ¶m ) :
|
|
|
|
CCtrlBase( param )
|
|
|
|
{
|
|
|
|
_Target = NULL;
|
|
|
|
}
|
2012-06-07 00:54:14 +00:00
|
|
|
|
2012-06-09 01:57:40 +00:00
|
|
|
CCtrlScrollBase::~CCtrlScrollBase()
|
|
|
|
{
|
|
|
|
}
|
2012-06-07 00:54:14 +00:00
|
|
|
|
2012-06-09 01:57:40 +00:00
|
|
|
void CCtrlScrollBase::setTarget( CInterfaceGroup *pIG )
|
|
|
|
{
|
|
|
|
// Necessary because it's supposed to be an abstract class,
|
|
|
|
// however reflection requires the class to be instantiated.
|
|
|
|
nlassert( false );
|
|
|
|
}
|
2012-06-07 00:54:14 +00:00
|
|
|
|
2012-06-09 01:57:40 +00:00
|
|
|
sint32 CCtrlScrollBase::moveTrackX( sint32 dx )
|
|
|
|
{
|
|
|
|
// Necessary because it's supposed to be an abstract class,
|
|
|
|
// however reflection requires the class to be instantiated.
|
|
|
|
nlassert( false );
|
2012-06-07 00:54:14 +00:00
|
|
|
|
2012-06-09 01:57:40 +00:00
|
|
|
return 0;
|
|
|
|
}
|
2012-06-07 00:54:14 +00:00
|
|
|
|
2012-06-09 01:57:40 +00:00
|
|
|
sint32 CCtrlScrollBase::moveTrackY( sint32 dy )
|
|
|
|
{
|
|
|
|
// Necessary because it's supposed to be an abstract class,
|
|
|
|
// however reflection requires the class to be instantiated.
|
|
|
|
nlassert( false );
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void CCtrlScrollBase::moveTargetX( sint32 dx )
|
|
|
|
{
|
|
|
|
// Necessary because it's supposed to be an abstract class,
|
|
|
|
// however reflection requires the class to be instantiated.
|
|
|
|
nlassert( false );
|
|
|
|
}
|
|
|
|
|
|
|
|
void CCtrlScrollBase::moveTargetY( sint32 dy )
|
|
|
|
{
|
|
|
|
// Necessary because it's supposed to be an abstract class,
|
|
|
|
// however reflection requires the class to be instantiated.
|
|
|
|
nlassert( false );
|
|
|
|
}
|
2012-06-07 00:54:14 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|