#include <FWColorSelect.h>
Public Member Functions | |
virtual void | AddColor (Color_t color) |
ClassDef (FWColorRow, 0) | |
void | ColorChanged (Color_t) |
Int_t | FindColorIndex (Color_t) const |
FWColorRow (const TGWindow *p=0) | |
Int_t | GetSelectedIndex () const |
void | ResetColor (Int_t, Color_t) |
void | SetBackgroundToBlack (Bool_t) |
void | SetSelectedIndex (Int_t i) |
virtual | ~FWColorRow () |
Protected Member Functions | |
virtual void | DoRedraw () |
Protected Attributes | |
Bool_t | fBackgroundIsBlack |
std::vector< FWColorFrame * > | fCc |
Int_t | fSelectedIndex |
Private Member Functions | |
void | DrawHighlight () |
Definition at line 40 of file FWColorSelect.h.
FWColorRow::FWColorRow | ( | const TGWindow * | p = 0 | ) |
|
virtual |
Definition at line 81 of file FWColorSelect.cc.
|
virtual |
Definition at line 114 of file FWColorSelect.cc.
References fCc, kCFPadAbove, kCFPadBelow, kCFPadLeft, and kCFPadRight.
Referenced by FWColorPopup::SetColors().
FWColorRow::ClassDef | ( | FWColorRow | , |
0 | |||
) |
void FWColorRow::ColorChanged | ( | Color_t | ci | ) |
Definition at line 140 of file FWColorSelect.cc.
|
protectedvirtual |
|
private |
Definition at line 102 of file FWColorSelect.cc.
References fCc, fSelectedIndex, h, kCFPadBelow, kCFPadLeft, kCFPadRight, kHLExtraHeight, kHLExtraWidth, kHLOffsetX, kHLOffsetY, w(), vdt::x, and detailsBasic3DVector::y.
Referenced by DoRedraw().
Int_t FWColorRow::FindColorIndex | ( | Color_t | iColor | ) | const |
Definition at line 127 of file FWColorSelect.cc.
References fCc, and getHLTprescales::index.
Referenced by FWColorPopup::SetSelection().
|
inline |
void FWColorRow::ResetColor | ( | Int_t | iIndex, |
Color_t | iColor | ||
) |
Definition at line 121 of file FWColorSelect.cc.
References fCc.
Referenced by FWColorPopup::ResetColors().
void FWColorRow::SetBackgroundToBlack | ( | Bool_t | toBlack | ) |
Definition at line 86 of file FWColorSelect.cc.
References fBackgroundIsBlack.
Referenced by FWColorPopup::ResetColors(), and FWColorPopup::SetColors().
|
inline |
Definition at line 64 of file FWColorSelect.h.
References fSelectedIndex, and i.
Referenced by FWColorPopup::SetSelection().
|
protected |
Definition at line 45 of file FWColorSelect.h.
Referenced by SetBackgroundToBlack().
|
protected |
Definition at line 47 of file FWColorSelect.h.
Referenced by AddColor(), DrawHighlight(), FindColorIndex(), and ResetColor().
|
protected |
Definition at line 46 of file FWColorSelect.h.
Referenced by DrawHighlight(), FWColorRow(), GetSelectedIndex(), and SetSelectedIndex().