Skip to content
Snippets Groups Projects
Commit e4232a96 authored by Olivier Couet's avatar Olivier Couet
Browse files

- Coding conventions.

git-svn-id: http://root.cern.ch/svn/root/trunk@19500 27541ba8-7e3a-0410-8455-c3a389f83636
parent 8311eeee
No related branches found
No related tags found
Loading
// @(#)root/gl:$Name$:$Id$
// @(#)root/gl:$Name: $:$Id: TGLClipSetEditor.cxx,v 1.1 2007/07/23 15:01:36 rdm Exp $
// Author: Matevz Tadel, Jun 2007
/*************************************************************************
......@@ -19,14 +19,15 @@
#include "TGNumberEntry.h"
//______________________________________________________________________
//______________________________________________________________________________
// TGLClipSetSubEditor
//
//
ClassImp(TGLClipSetSubEditor)
//______________________________________________________________________
//______________________________________________________________________________
TGLClipSetSubEditor::TGLClipSetSubEditor(const TGWindow *p) :
TGVerticalFrame(p),
fM(0),
......@@ -102,7 +103,8 @@ TGLClipSetSubEditor::TGLClipSetSubEditor(const TGWindow *p) :
fApplyButton->Connect("Pressed()", "TGLClipSetSubEditor", this, "UpdateViewerClip()");
}
//______________________________________________________________________
//______________________________________________________________________________
void TGLClipSetSubEditor::SetModel(TGLClipSet* m)
{
// Set model object.
......@@ -146,7 +148,8 @@ void TGLClipSetSubEditor::SetModel(TGLClipSet* m)
}
}
//______________________________________________________________________
//______________________________________________________________________________
void TGLClipSetSubEditor::Changed()
{
// Emit Changed signal.
......@@ -154,6 +157,7 @@ void TGLClipSetSubEditor::Changed()
Emit("Changed()");
}
//______________________________________________________________________________
void TGLClipSetSubEditor::ClipValueChanged()
{
......@@ -162,6 +166,7 @@ void TGLClipSetSubEditor::ClipValueChanged()
fApplyButton->SetState(kButtonUp);
}
//______________________________________________________________________________
void TGLClipSetSubEditor::ClipTypeChanged(Int_t id)
{
......@@ -179,6 +184,7 @@ void TGLClipSetSubEditor::ClipTypeChanged(Int_t id)
Changed();
}
//______________________________________________________________________________
void TGLClipSetSubEditor::UpdateViewerClip()
{
......@@ -205,14 +211,15 @@ void TGLClipSetSubEditor::UpdateViewerClip()
}
//______________________________________________________________________
//______________________________________________________________________________
// TGLClipSetEditor
//
//
ClassImp(TGLClipSetEditor)
//______________________________________________________________________
//______________________________________________________________________________
TGLClipSetEditor::TGLClipSetEditor(const TGWindow *p, Int_t width, Int_t height,
UInt_t options, Pixel_t back) :
TGedFrame(p, width, height, options | kVerticalFrame, back),
......@@ -228,13 +235,12 @@ TGLClipSetEditor::TGLClipSetEditor(const TGWindow *p, Int_t width, Int_t height,
fSE->Connect("Changed()", "TGLClipSetEditor", this, "Update()");
}
/**************************************************************************/
//______________________________________________________________________
//______________________________________________________________________________
void TGLClipSetEditor::SetModel(TObject* obj)
{
// Set model object.
fM = dynamic_cast<TGLClipSet*>(obj);
fSE->SetModel(fM);
fM = dynamic_cast<TGLClipSet*>(obj);
fSE->SetModel(fM);
}
// @(#)root/treeviewer:$Name: $:$Id: TSpiderEditor.cxx,v 1.2 2007/07/20 14:37:37 rdm Exp $
// @(#)root/treeviewer:$Name: $:$Id: TSpiderEditor.cxx,v 1.1 2007/07/24 20:00:46 brun Exp $
// Author: Bastien Dalla Piazza 20/07/07
/*************************************************************************
......@@ -173,8 +173,8 @@ void TSpiderEditor::MakeBrowse()
TGHorizontalFrame *f3 = new TGHorizontalFrame(fBrowse);
TGLabel *GotoEntryLabel = new TGLabel(f3,"Go to:");
f3->AddFrame(GotoEntryLabel, new TGLayoutHints(kLHintsLeft | kLHintsCenterY, 3, 18, 1, 5));
TGLabel *gotoEntryLabel = new TGLabel(f3,"Go to:");
f3->AddFrame(gotoEntryLabel, new TGLayoutHints(kLHintsLeft | kLHintsCenterY, 3, 18, 1, 5));
fGotoEntry = new TGNumberEntryField(f3, kGotoEntry, 0,
TGNumberFormat::kNESInteger,
TGNumberFormat::kNEANonNegative);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment