![]() |
![]() |
#include <FWColorSelect.h>
Public Member Functions | |
virtual void | AddColor (Color_t color) |
ClassDefOverride (FWColorRow, 0) | |
void | ColorChanged (Color_t) |
Int_t | FindColorIndex (Color_t) const |
FWColorRow (const TGWindow *p=nullptr) | |
Int_t | GetSelectedIndex () const |
void | ResetColor (Int_t, Color_t) |
void | SetBackgroundToBlack (Bool_t) |
void | SetSelectedIndex (Int_t i) |
~FWColorRow () override | |
Protected Member Functions | |
void | DoRedraw () override |
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 = nullptr | ) |
|
override |
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::ClassDefOverride | ( | FWColorRow | , |
0 | |||
) |
void FWColorRow::ColorChanged | ( | Color_t | ci | ) |
Definition at line 140 of file FWColorSelect.cc.
References FWColorPopup::fgFreePalette.
|
overrideprotected |
|
private |
Definition at line 102 of file FWColorSelect.cc.
References fCc, fSelectedIndex, h, kCFPadBelow, kCFPadLeft, kCFPadRight, kHLExtraHeight, kHLExtraWidth, kHLOffsetX, kHLOffsetY, w, x, and y.
Referenced by DoRedraw().
Int_t FWColorRow::FindColorIndex | ( | Color_t | iColor | ) | const |
Definition at line 127 of file FWColorSelect.cc.
References fCc.
Referenced by FWColorPopup::SetSelection().
|
inline |
Definition at line 63 of file FWColorSelect.h.
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 FWColorFrame::ClassDefOverride(), and mps_fire::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(), and FWColorRow().