/*
- Copyright (C) 1999-2007 id Software, Inc. and contributors.
+ Copyright (C) 1999-2006 Id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
}
}
-bool CListener::OnMouseMove( guint32 nFlags, gdouble x, gdouble y ){
+bool CListener::OnMouseMove( unsigned int nFlags, double x, double y ){
SetViewType( g_pXYWndWrapper->GetViewType() );
if ( m_bLeftMBPressed && oldValid && g_iEditMode == 0 ) {
return false;
}
-bool CListener::OnLButtonDown( guint32 nFlags, gdouble x, gdouble y ){
+bool CListener::OnLButtonDown( unsigned int nFlags, double x, double y ){
SetViewType( g_pXYWndWrapper->GetViewType() );
m_bLeftMBPressed = true;
//return false;
}
-bool CListener::OnLButtonUp( guint32 nFlags, gdouble x, gdouble y ){
+bool CListener::OnLButtonUp( unsigned int nFlags, double x, double y ){
SetViewType( g_pXYWndWrapper->GetViewType() );
m_bLeftMBPressed = false;
return false;
}
-bool CListener::OnRButtonDown( guint32 nFlags, gdouble x, gdouble y ){
+bool CListener::OnRButtonDown( unsigned int nFlags, double x, double y ){
SetViewType( g_pXYWndWrapper->GetViewType() );
m_bRightMBPressed = true;
return false;
}
-bool CListener::OnRButtonUp( guint32 nFlags, gdouble x, gdouble y ){
+bool CListener::OnRButtonUp( unsigned int nFlags, double x, double y ){
SetViewType( g_pXYWndWrapper->GetViewType() );
m_bRightMBPressed = false;
return false;
}
-bool CListener::OnMButtonDown( guint32 nFlags, gdouble x, gdouble y ){
+bool CListener::OnMButtonDown( unsigned int nFlags, double x, double y ){
SetViewType( g_pXYWndWrapper->GetViewType() );
m_bMiddleMBPressed = true;
return false;
}
-bool CListener::OnMButtonUp( guint32 nFlags, gdouble x, gdouble y ){
+bool CListener::OnMButtonUp( unsigned int nFlags, double x, double y ){
SetViewType( g_pXYWndWrapper->GetViewType() );
m_bMiddleMBPressed = false;