1 #ifndef Fireworks_Core_FWColorSelect_h
2 #define Fireworks_Core_FWColorSelect_h
6 #include "TGColorSelect.h"
47 std::vector<FWColorFrame *>
fCc;
78 void SetColors(
const std::vector<Pixel_t>&
colors,
bool backgroundIsBlack);
95 void InitContent(
const char *
name,
const std::vector<Color_t>& colors,
bool backgroundIsBlack=
true);
96 void SetName(
const char* iName);
97 void SetColors(
const std::vector<Color_t>& colors,
bool backgroundIsBlack=
true);
98 void ResetColors(
const std::vector<Color_t>& colors,
bool backgroundIsBlack=
true);
virtual Bool_t HandleButton(Event_t *event)
void SetColorByIndex(Color_t iColor)
FWColorPopup * fFireworksPopup
void SetBackgroundToBlack(Bool_t)
void ColorChosen(Color_t)
virtual Bool_t HandleButton(Event_t *event)
const std::string & label() const
void ColorSelected(Color_t)
FWColorSelect(const TGWindow *p, const char *label, Color_t colorIndex, const FWColorManager *, Int_t id)
void ColorChanged(Color_t)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual void DrawBorder()
const FWColorManager * fColorManager
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Bool_t fBackgroundIsBlack
Int_t GetSelectedIndex() const
virtual void AddColor(Color_t color)
ClassDef(FWColorFrame, 0)
void SetSelectedIndex(Int_t i)
void ResetColor(Int_t, Color_t)
FWColorRow(const TGWindow *p=0)
std::vector< FWColorFrame * > fCc
Int_t FindColorIndex(Color_t) const
ClassDef(FWColorSelect, 0)
FWColorFrame(const TGWindow *p=0, Color_t ci=0)