]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/camera/listener.cpp
Revert partially (auto) "reformat code! now the code is only ugly on the *inside*"
[xonotic/netradiant.git] / contrib / camera / listener.cpp
index 8766c4ec0ebda74ddc3c9fcf4c844091c45dc890..b9f5fcf9a4d06eeba5b7ab9ebabed670e8dca8fc 100644 (file)
@@ -1,5 +1,5 @@
 /*
-   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.
@@ -56,7 +56,7 @@ void CListener::UnRegister(){
        }
 }
 
-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 ) {
@@ -96,7 +96,7 @@ bool CListener::OnMouseMove( guint32 nFlags, gdouble x, gdouble y ){
        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;
@@ -178,7 +178,7 @@ bool CListener::OnLButtonDown( guint32 nFlags, gdouble x, gdouble y ){
        //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;
@@ -198,7 +198,7 @@ bool CListener::OnLButtonUp( guint32 nFlags, gdouble x, gdouble y ){
        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;
@@ -206,7 +206,7 @@ bool CListener::OnRButtonDown( guint32 nFlags, gdouble x, gdouble y ){
        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;
@@ -214,7 +214,7 @@ bool CListener::OnRButtonUp( guint32 nFlags, gdouble x, gdouble y ){
        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;
@@ -222,7 +222,7 @@ bool CListener::OnMButtonDown( guint32 nFlags, gdouble x, gdouble y ){
        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;