Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TEveRGBAPaletteEditor.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/*************************************************************************
5 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TEveRGBAPaletteEditor
13#define ROOT_TEveRGBAPaletteEditor
14
15#include "TGedFrame.h"
16
17class TGCheckButton;
18class TGColorSelect;
19class TGComboBox;
20
21class TEveRGBAPalette;
22class TEveGValuator;
24
69
70
71/******************************************************************************/
72/******************************************************************************/
73
75{
76private:
77 TEveRGBAPaletteEditor(const TEveRGBAPaletteEditor&); // Not implemented
79
80protected:
83
84public:
85 TEveRGBAPaletteEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
87
88 void SetModel(TObject* obj) override;
89
90 ClassDefOverride(TEveRGBAPaletteEditor, 0); // Editor for TEveRGBAPalette class.
91};
92
93#endif
@ kChildFrame
Definition GuiTypes.h:380
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:41
int Int_t
Signed integer 4 bytes (int).
Definition RtypesCore.h:59
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
Definition RtypesCore.h:60
double Double_t
Double 8 bytes.
Definition RtypesCore.h:73
Composite GUI element for selection of range (label, two number-entries and double-slider).
Composite GUI element for single value selection (supports label, number-entry and slider).
ClassDefOverride(TEveRGBAPaletteEditor, 0)
void SetModel(TObject *obj) override
Set model object.
TEveRGBAPaletteEditor & operator=(const TEveRGBAPaletteEditor &)
TEveRGBAPaletteEditor(const TEveRGBAPaletteEditor &)
TEveRGBAPaletteSubEditor * fSE
Sub-editor for TEveRGBAPalette class.
void DoUnderflowAction(Int_t mode)
Slot for UnderflowAction.
void DoUnderColor(Pixel_t color)
Slot for UnderColor.
void DoFixColorRange()
Slot for FixColorRange.
void DoOverColor(Pixel_t color)
Slot for OverColor.
void DoShowDefValue()
Slot for ShowDefValue.
void DoDefaultColor(Pixel_t color)
Slot for DefaultColor.
ClassDefOverride(TEveRGBAPaletteSubEditor, 0)
TEveRGBAPaletteSubEditor(const TEveRGBAPaletteSubEditor &)
void DoOverflowAction(Int_t mode)
Slot for OverflowAction.
void DoInterpolate()
Slot for Interpolate.
void Changed()
Emit "Changed()" signal.
TEveGDoubleValuator * fMinMax
void DoMinMax()
Slot for MinMax.
TEveRGBAPaletteSubEditor & operator=(const TEveRGBAPaletteSubEditor &)
void SetModel(TEveRGBAPalette *p)
Set model object.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
Selects different options.
Definition TGButton.h:264
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
Definition TGComboBox.h:47
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:675
TGVerticalFrame(const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Definition TGFrame.h:378
ROOT GUI Window base class.
Definition TGWindow.h:23
TGedFrame(const TGedFrame &)=delete
Mother of all ROOT objects.
Definition TObject.h:42