// $Header: /cvs/gled-1.2/GledCore/Glasses/MetaWeedInfo.cxx,v 1.1 2005/04/12 13:25:41 matevz Exp $
// Copyright (C) 1999-2005, Matevz Tadel. All rights reserved.
// This file is part of GLED, released under GNU General Public License version 2.
// For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.
//__________________________________________________________________________
// MetaWeedInfo
//
//
#include "MetaWeedInfo.h"
#include "MetaWeedInfo.c7"
ClassImp(MetaWeedInfo)
/**************************************************************************/
void MetaWeedInfo::_init()
{
// *** Set all links to 0 ***
mX = 0; mY = 0; mW = 12; mH = 1;
bColorP = false; mColor.rgba(0.75, 0.75, 0.75);
bLabelP = false;
bAlignP = false; bAInside = false; mALtRt = mAUpDn = 0;
mBoxType = BT_None; bBDown = false; bBFrame = false;
}
/**************************************************************************/
void MetaWeedInfo::Resize(int x, int y, int w, int h)
{
mX = x; mY = y; mW = w; mH = h;
Stamp(FID());
}
void MetaWeedInfo::Color(Float_t r, Float_t g, Float_t b)
{
bColorP = true;
SetColor(r, g, b);
}
void MetaWeedInfo::Label(const Text_t* l)
{
bLabelP = true;
SetTitle(l);
Stamp(FID());
}
void MetaWeedInfo::Align(Bool_t inside, Char_t lr, Char_t ud)
{
bAlignP = true;
bAInside = inside;
mALtRt = lr; mAUpDn = ud;
Stamp(FID());
}
void MetaWeedInfo::Box(BoxType_e box, Bool_t downp, Bool_t framep)
{
mBoxType = box;
bBDown = downp; bBFrame = framep;
Stamp(FID());
}
/**************************************************************************/
ROOT page - Home page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.