ROOT logo
#ifndef __TGMrbPictureButton_h__
#define __TGMrbPictureButton_h__

//_________________________________________________[C++ CLASS DEFINITION FILE]
//////////////////////////////////////////////////////////////////////////////
// Name:           gutils/inc/TGMrbPictureButton.h
// Purpose:        Define utilities to be used with the MARaBOU GUI
// Classes:        TGMrbPictureButtonList   -- a composite frame containing
//                                             check buttons
//                 TGMrbPictureButtonGroup  -- check buttons arranged in
//                                             group frame
// Description:    Graphic utilities for the MARaBOU GUI.
// Author:         R. Lutter
// Revision:       $Id: TGMrbPictureButton.h,v 1.6 2008-09-23 10:44:11 Rudolf.Lutter Exp $       
// Date:           
// Keywords:
//////////////////////////////////////////////////////////////////////////////

#include "Rtypes.h"
#include "TSystem.h"
#include "TGWindow.h"
#include "TGFrame.h"

#include "TMrbLofNamedX.h"
#include "TGMrbButtonFrame.h"
#include "TGMrbLayout.h"

//______________________________________________________[C++ CLASS DEFINITION]
//////////////////////////////////////////////////////////////////////////////
// Name:           TGMrbPictureButtonList
// Purpose:        Define a list of check buttons and their behaviour
// Description:    Defines a list of check buttons.
//                 Buttons will be arranged in a composite frame.
// Keywords:
//////////////////////////////////////////////////////////////////////////////

class TGMrbPictureButtonList: public TGCompositeFrame, public TGMrbButtonFrame {

	public:
		TGMrbPictureButtonList(const TGWindow * Parent, const Char_t * Label,
													TMrbLofNamedX * Buttons, Int_t BtnId, Int_t NofCL,
													Int_t Width, Int_t Height,
													TGMrbLayout * FrameGC,
													TGMrbLayout * LabelGC = NULL,
													TGMrbLayout * ButtonGC = NULL,
													UInt_t FrameOptions = kHorizontalFrame,
													UInt_t ButtonOptions = 0);

		~TGMrbPictureButtonList() {};				// default dtor

		inline void Help() { gSystem->Exec(Form("mrbHelp %s", this->ClassName())); };

	ClassDef(TGMrbPictureButtonList, 1) 	// [GraphUtils] A list of picture buttons
};

//______________________________________________________[C++ CLASS DEFINITION]
//////////////////////////////////////////////////////////////////////////////
// Name:           TGMrbPictureButtonGroup
// Purpose:        Define a group of check buttons and their behaviour
// Description:    Defines a list of check buttons.
//                 Buttons will be arranged in a group frame.
// Keywords:
//////////////////////////////////////////////////////////////////////////////

class TGMrbPictureButtonGroup: public TGGroupFrame, public TGMrbButtonFrame {

	public:
		TGMrbPictureButtonGroup(const TGWindow * Parent, const Char_t * Label,
													TMrbLofNamedX * Buttons, Int_t BtnId, Int_t NofCL,
													TGMrbLayout * FrameGC,
													TGMrbLayout * ButtonGC = NULL,
													UInt_t FrameOptions = kHorizontalFrame,
													UInt_t ButtonOptions = 0);

		~TGMrbPictureButtonGroup() {};				// default dtor

		inline void Help() { gSystem->Exec(Form("mrbHelp %s", this->ClassName())); };

	ClassDef(TGMrbPictureButtonGroup, 1) 	// [GraphUtils] A group of picture buttons
};

#endif
 TGMrbPictureButton.h:1
 TGMrbPictureButton.h:2
 TGMrbPictureButton.h:3
 TGMrbPictureButton.h:4
 TGMrbPictureButton.h:5
 TGMrbPictureButton.h:6
 TGMrbPictureButton.h:7
 TGMrbPictureButton.h:8
 TGMrbPictureButton.h:9
 TGMrbPictureButton.h:10
 TGMrbPictureButton.h:11
 TGMrbPictureButton.h:12
 TGMrbPictureButton.h:13
 TGMrbPictureButton.h:14
 TGMrbPictureButton.h:15
 TGMrbPictureButton.h:16
 TGMrbPictureButton.h:17
 TGMrbPictureButton.h:18
 TGMrbPictureButton.h:19
 TGMrbPictureButton.h:20
 TGMrbPictureButton.h:21
 TGMrbPictureButton.h:22
 TGMrbPictureButton.h:23
 TGMrbPictureButton.h:24
 TGMrbPictureButton.h:25
 TGMrbPictureButton.h:26
 TGMrbPictureButton.h:27
 TGMrbPictureButton.h:28
 TGMrbPictureButton.h:29
 TGMrbPictureButton.h:30
 TGMrbPictureButton.h:31
 TGMrbPictureButton.h:32
 TGMrbPictureButton.h:33
 TGMrbPictureButton.h:34
 TGMrbPictureButton.h:35
 TGMrbPictureButton.h:36
 TGMrbPictureButton.h:37
 TGMrbPictureButton.h:38
 TGMrbPictureButton.h:39
 TGMrbPictureButton.h:40
 TGMrbPictureButton.h:41
 TGMrbPictureButton.h:42
 TGMrbPictureButton.h:43
 TGMrbPictureButton.h:44
 TGMrbPictureButton.h:45
 TGMrbPictureButton.h:46
 TGMrbPictureButton.h:47
 TGMrbPictureButton.h:48
 TGMrbPictureButton.h:49
 TGMrbPictureButton.h:50
 TGMrbPictureButton.h:51
 TGMrbPictureButton.h:52
 TGMrbPictureButton.h:53
 TGMrbPictureButton.h:54
 TGMrbPictureButton.h:55
 TGMrbPictureButton.h:56
 TGMrbPictureButton.h:57
 TGMrbPictureButton.h:58
 TGMrbPictureButton.h:59
 TGMrbPictureButton.h:60
 TGMrbPictureButton.h:61
 TGMrbPictureButton.h:62
 TGMrbPictureButton.h:63
 TGMrbPictureButton.h:64
 TGMrbPictureButton.h:65
 TGMrbPictureButton.h:66
 TGMrbPictureButton.h:67
 TGMrbPictureButton.h:68
 TGMrbPictureButton.h:69
 TGMrbPictureButton.h:70
 TGMrbPictureButton.h:71
 TGMrbPictureButton.h:72
 TGMrbPictureButton.h:73
 TGMrbPictureButton.h:74
 TGMrbPictureButton.h:75
 TGMrbPictureButton.h:76
 TGMrbPictureButton.h:77
 TGMrbPictureButton.h:78
 TGMrbPictureButton.h:79
 TGMrbPictureButton.h:80
 TGMrbPictureButton.h:81
 TGMrbPictureButton.h:82