ROOT logo
// $Id: MetaWeedInfo.h 2088 2008-11-23 20:26:46Z matevz $

// Copyright (C) 1999-2008, 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/.

#ifndef GledCore_MetaWeedInfo_H
#define GledCore_MetaWeedInfo_H

#include <Glasses/ZGlass.h>
#include <Stones/ZColor.h>

class MetaWeedInfo : public ZGlass {
  MAC_RNR_FRIENDS(MetaWeedInfo);

public:
  enum BoxType_e { BT_None=0,
		   BT_Flat, BT_Up, BT_ThinUp, BT_Engraved, BT_Border
  };

private:
  void _init();

protected:
  Int_t		mX;      // X{GS} 7 Value(-range=>[0,256,1], -join=>1)
  Int_t		mY;      // X{GS} 7 Value(-range=>[0,256,1])
  Int_t		mW;      // X{GS} 7 Value(-range=>[0,256,1], -join=>1)
  Int_t		mH;      // X{GS} 7 Value(-range=>[0,256,1])

  Bool_t	bColorP; // X{GS}  7 Bool(-join=>1)
  ZColor	mColor;  // X{PGS} 7 ColorButt()

  Bool_t	bLabelP; // X{GS}  7 Bool()

  Bool_t	bAlignP;  // X{GS} 7 Bool(-join=>1)
  Bool_t	bAInside; // X{GS} 7 Bool()
  Char_t	mALtRt;   // X{GS} 7 Value(-range=>[-1,1,1], -join=>1)
  Char_t	mAUpDn;   // X{GS} 7 Value(-range=>[-1,1,1])

  BoxType_e	mBoxType; // X{GS} 7 PhonyEnum()
  Bool_t	bBDown;   // X{GS} 7 Bool(-join=>1)
  Bool_t	bBFrame;  // X{GS} 7 Bool()

public:
  MetaWeedInfo(const Text_t* n="MetaWeedInfo", const Text_t* t=0) :
    ZGlass(n,t) { _init(); }

  void Resize(int x, int y, int w, int h);         // X{E}
  void Color(Float_t r, Float_t g, Float_t b);     // X{E}
  void Label(const Text_t* l);                     // X{E}
  void Align(Bool_t inside, Char_t lr, Char_t ud); // X{E}
  void Box(BoxType_e box, Bool_t downp=false, Bool_t framep=false); // X{E}

#include "MetaWeedInfo.h7"
  ClassDef(MetaWeedInfo, 1);
}; // endclass MetaWeedInfo


#endif
 MetaWeedInfo.h:1
 MetaWeedInfo.h:2
 MetaWeedInfo.h:3
 MetaWeedInfo.h:4
 MetaWeedInfo.h:5
 MetaWeedInfo.h:6
 MetaWeedInfo.h:7
 MetaWeedInfo.h:8
 MetaWeedInfo.h:9
 MetaWeedInfo.h:10
 MetaWeedInfo.h:11
 MetaWeedInfo.h:12
 MetaWeedInfo.h:13
 MetaWeedInfo.h:14
 MetaWeedInfo.h:15
 MetaWeedInfo.h:16
 MetaWeedInfo.h:17
 MetaWeedInfo.h:18
 MetaWeedInfo.h:19
 MetaWeedInfo.h:20
 MetaWeedInfo.h:21
 MetaWeedInfo.h:22
 MetaWeedInfo.h:23
 MetaWeedInfo.h:24
 MetaWeedInfo.h:25
 MetaWeedInfo.h:26
 MetaWeedInfo.h:27
 MetaWeedInfo.h:28
 MetaWeedInfo.h:29
 MetaWeedInfo.h:30
 MetaWeedInfo.h:31
 MetaWeedInfo.h:32
 MetaWeedInfo.h:33
 MetaWeedInfo.h:34
 MetaWeedInfo.h:35
 MetaWeedInfo.h:36
 MetaWeedInfo.h:37
 MetaWeedInfo.h:38
 MetaWeedInfo.h:39
 MetaWeedInfo.h:40
 MetaWeedInfo.h:41
 MetaWeedInfo.h:42
 MetaWeedInfo.h:43
 MetaWeedInfo.h:44
 MetaWeedInfo.h:45
 MetaWeedInfo.h:46
 MetaWeedInfo.h:47
 MetaWeedInfo.h:48
 MetaWeedInfo.h:49
 MetaWeedInfo.h:50
 MetaWeedInfo.h:51
 MetaWeedInfo.h:52
 MetaWeedInfo.h:53
 MetaWeedInfo.h:54
 MetaWeedInfo.h:55
 MetaWeedInfo.h:56
 MetaWeedInfo.h:57
 MetaWeedInfo.h:58
 MetaWeedInfo.h:59