From 06b958203d07868ef532aa1b5fd21c8ee5bfc88d Mon Sep 17 00:00:00 2001 From: Rene Brun <Rene.Brun@cern.ch> Date: Thu, 1 Nov 2007 07:48:00 +0000 Subject: [PATCH] Fix coding conventions git-svn-id: http://root.cern.ch/svn/root/trunk@20588 27541ba8-7e3a-0410-8455-c3a389f83636 --- gl/src/TGLClipSetEditor.cxx | 4 ++-- gl/src/TGLOrthoCamera.cxx | 10 ++++------ gl/src/TGLViewerEditor.cxx | 4 ++-- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/gl/src/TGLClipSetEditor.cxx b/gl/src/TGLClipSetEditor.cxx index eeb7a69bc08..a5f881f799d 100644 --- a/gl/src/TGLClipSetEditor.cxx +++ b/gl/src/TGLClipSetEditor.cxx @@ -66,7 +66,7 @@ TGLClipSetSubEditor::TGLClipSetSubEditor(const TGWindow *p) : static const char * const planeStr[] = { "aX + ", "bY +", "cZ + ", "d = 0" }; for (Int_t i = 0; i < 4; ++i) - fPlaneProp[i] = TGLViewerEditor::MakeLabeledNEntry(fPlanePropFrame, planeStr[i] , 40); + fPlaneProp[i] = TGLViewerEditor::MakeLabeledNEntry(fPlanePropFrame, planeStr[i] , 40); // Box properties fBoxPropFrame = new TGCompositeFrame(this); @@ -75,7 +75,7 @@ TGLClipSetSubEditor::TGLClipSetSubEditor(const TGWindow *p) : static const char * const boxStr[] = {"Center X", "Center Y", "Center Z", "Length X", "Length Y", "Length Z" }; for (Int_t i = 0; i < 6; ++i) - fBoxProp[i] = TGLViewerEditor::MakeLabeledNEntry(fBoxPropFrame, boxStr[i] , 60); + fBoxProp[i] = TGLViewerEditor::MakeLabeledNEntry(fBoxPropFrame, boxStr[i] , 60); // Apply button fApplyButton = new TGTextButton(this, "Apply"); diff --git a/gl/src/TGLOrthoCamera.cxx b/gl/src/TGLOrthoCamera.cxx index dde467777e7..527d045e2e7 100644 --- a/gl/src/TGLOrthoCamera.cxx +++ b/gl/src/TGLOrthoCamera.cxx @@ -50,12 +50,10 @@ TGLOrthoCamera::TGLOrthoCamera(const TGLVector3 & hAxes, const TGLVector3 & vAxe // define camera type relative to horizontal vector TGLVector3 v = fCamBase.GetBaseVec(1); - for(Int_t i=0; i<3; i++) - { - if(TMath::Abs(v[i]) == 1) - { - fType = (TGLOrthoCamera::EType)i; - break; + for(Int_t i=0; i<3; i++) { + if(TMath::Abs(v[i]) == 1) { + fType = (TGLOrthoCamera::EType)i; + break; } } } diff --git a/gl/src/TGLViewerEditor.cxx b/gl/src/TGLViewerEditor.cxx index da4e131af8b..cfaba9e42d3 100644 --- a/gl/src/TGLViewerEditor.cxx +++ b/gl/src/TGLViewerEditor.cxx @@ -441,9 +441,9 @@ void TGLViewerEditor::SetGuides() for (Int_t i = 1; i < 4; i++) { TGButton * btn = fAxesContainer->GetButton(i); if (fAxesType+1 == i) - btn->SetDown(kTRUE); + btn->SetDown(kTRUE); else - btn->SetDown(kFALSE); + btn->SetDown(kFALSE); } fAxesContainer->GetButton(4)->SetOn(axesDepthTest, kFALSE); -- GitLab