|
JG ROOT Tools libraries
version 5.0 - august 2014
|
#include <RGFillAttrSelect.hh>
Public Member Functions | |
| RGFillAttrSelect (TGWindow *p, TAttFill att=TAttFill(1, 0), UInt_t opt=rgFASVerticalLayout, Int_t wc=3, Int_t ws=5, Int_t sep=4) | |
| virtual | ~RGFillAttrSelect () |
| virtual void | MapSubwindows () |
| virtual void | SetState (const Bool_t b=kTRUE) |
| Color_t | GetFillColor () const |
| Pixel_t | GetFillColorPixel () const |
| Style_t | GetFillStyle () const |
| TAttFill | GetFillAttr () const |
| void | SetFillColor (const Color_t c, const Bool_t emit=kTRUE) |
| void | SetFillColorPixel (const Pixel_t c, const Bool_t emit=kTRUE) |
| void | SetFillStyle (const Style_t s, const Bool_t emit=kTRUE) |
| RGColorNumberSelect * | GetColorWidget () const |
| RGFillStyleSelect * | GetStyleWidget () const |
| virtual void | FillColorChanged (Color_t c) |
| virtual void | FillStyleChanged (Style_t s) |
| ClassDef (RGFillAttrSelect, 0) | |
Protected Attributes | |
| RGColorNumberSelect * | w_color |
| Fill color widget. | |
| RGFillStyleSelect * | w_style |
| Fill style. | |
Private Member Functions | |
| GObject (RGFillAttrSelect) | |
| RGFillAttrSelect (const RGFillAttrSelect &original) | |
class RGFillAttrSelect
Widget for filling attributes selection; color and style.
Options:
| RGFillAttrSelect::RGFillAttrSelect | ( | TGWindow * | p, |
| TAttFill | att = TAttFill(1,0), |
||
| UInt_t | opt = rgFASVerticalLayout, |
||
| Int_t | wc = 3, |
||
| Int_t | ws = 5, |
||
| Int_t | sep = 4 |
||
| ) |
|
private |
Copy constructor, not implemented.
| original | object to copy |
|
virtual |
Destructor.
|
private |
Macro from GCpp library that defines the following functions:
|
virtual |
Overload of TGFrame function to set a minimum size to widget elements.
References w_color.
|
virtual |
Set the widget state (active/inactive)
| b | state |
References RGColorNumberSelect::SetState(), RGFillStyleSelect::SetState(), w_color, and w_style.
Referenced by RGHistoPlotAttrSelect::SetState().
|
inline |
Get the selected fill color number.
References RGColorNumberSelect::GetColorNumber(), and w_color.
Referenced by GetFillAttr(), and GetFillColorPixel().
|
inline |
Get the selected fill color code.
References GetFillColor().
|
inline |
Get the selected fill style number.
References RGFillStyleSelect::GetStyleNumber(), and w_style.
Referenced by GetFillAttr().
|
inline |
Get the selected fill attributes.
References GetFillColor(), and GetFillStyle().
Referenced by RGHistoPlotAttrSelect::GetFillAttr().
| void RGFillAttrSelect::SetFillColor | ( | const Color_t | c, |
| const Bool_t | emit = kTRUE |
||
| ) |
Select a new filling color from its color number.
| c | color number |
| emit | flag if signal must be emitted |
References RGColorNumberSelect::SetColorNumber(), and w_color.
Referenced by RGHistoPlotAttrSelect::SetFillAttr().
| void RGFillAttrSelect::SetFillColorPixel | ( | const Pixel_t | c, |
| const Bool_t | emit = kTRUE |
||
| ) |
Select a new filling color from its color code.
| c | color code |
| emit | flag if signal must be emitted |
References RGColorNumberSelect::SetColorPixel(), and w_color.
| void RGFillAttrSelect::SetFillStyle | ( | const Style_t | s, |
| const Bool_t | emit = kTRUE |
||
| ) |
Select a new filling style from its number.
| s | style number |
| emit | flag if signal must be emitted |
References RGFillStyleSelect::SetStyleNumber(), and w_style.
Referenced by RGHistoPlotAttrSelect::SetFillAttr().
|
inline |
Get color selection widget pointer.
References w_color.
|
inline |
Get style selection widget pointer.
References w_style.
|
inlinevirtual |
Signal sent when fill color is changed.
| c | color number |
|
inlinevirtual |
Signal sent when fill style is changed.
| s | style number |
| RGFillAttrSelect::ClassDef | ( | RGFillAttrSelect | , |
| 0 | |||
| ) |
For ROOT dictionary.