#ifndef ROOT_TEveRGBAPaletteEditor
#define ROOT_TEveRGBAPaletteEditor
#include "TGedFrame.h"
class TGCheckButton;
class TGColorSelect;
class TGComboBox;
class TEveRGBAPalette;
class TEveGValuator;
class TEveGDoubleValuator;
class TEveRGBAPaletteSubEditor : public TGVerticalFrame
{
private:
TEveRGBAPaletteSubEditor(const TEveRGBAPaletteSubEditor&);
TEveRGBAPaletteSubEditor& operator=(const TEveRGBAPaletteSubEditor&);
protected:
TEveRGBAPalette* fM;
TGComboBox* fUnderflowAction;
TGColorSelect* fUnderColor;
TGComboBox* fOverflowAction;
TGColorSelect* fOverColor;
TEveGDoubleValuator* fMinMax;
TGCheckButton* fInterpolate;
TGCheckButton* fShowDefValue;
TGColorSelect* fDefaultColor;
public:
TEveRGBAPaletteSubEditor(const TGWindow* p);
virtual ~TEveRGBAPaletteSubEditor() {}
void SetModel(TEveRGBAPalette* p);
void Changed();
void DoMinMax();
void DoInterpolate();
void DoShowDefValue();
void DoDefaultColor(Pixel_t color);
void DoUnderColor(Pixel_t color);
void DoOverColor(Pixel_t color);
void DoUnderflowAction(Int_t mode);
void DoOverflowAction(Int_t mode);
ClassDef(TEveRGBAPaletteSubEditor, 1);
};
class TEveRGBAPaletteEditor : public TGedFrame
{
private:
TEveRGBAPaletteEditor(const TEveRGBAPaletteEditor&);
TEveRGBAPaletteEditor& operator=(const TEveRGBAPaletteEditor&);
protected:
TEveRGBAPalette* fM;
TEveRGBAPaletteSubEditor* fSE;
public:
TEveRGBAPaletteEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
virtual ~TEveRGBAPaletteEditor() {}
virtual void SetModel(TObject* obj);
ClassDef(TEveRGBAPaletteEditor, 1);
};
#endif
Last change: Wed Jun 25 08:37:56 2008
Last generated: 2008-06-25 08:37
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.