16 #include "TGPicture.h"
34 const TGPicture* iUpIcon,
35 const TGPicture* iDownIcon,
36 const TGPicture* iDisabledIcon,
37 const TGPicture* iBelowMouseIcon,
38 Int_t
id, GContext_t norm, UInt_t option) :
39 TGButton(iParent,id, norm, option),
41 m_downIcon(iDownIcon),
42 m_disabledIcon(iDisabledIcon),
43 m_belowMouseIcon(iBelowMouseIcon),
49 gVirtualX->ShapeCombineMask(GetId(), 0, 0, iUpIcon->GetMask());
50 SetBackgroundPixmap(iUpIcon->GetPicture());
51 Resize(iUpIcon->GetWidth(),iUpIcon->GetHeight());
52 fTWidth = iUpIcon->GetWidth();
53 fTHeight = iUpIcon->GetHeight();
82 const TGPicture*& iDownIcon,
83 const TGPicture*& iDisabledIcon)
88 gVirtualX->ShapeCombineMask(GetId(), 0, 0,
m_upIcon->GetMask());
89 fClient->NeedRedraw(
this);
94 const TGPicture* iDownIcon,
95 const TGPicture* iDisabledIcon,
96 const TGPicture* iBelowMouseIcon)
103 gVirtualX->ShapeCombineMask(GetId(), 0, 0,
m_upIcon->GetMask());
104 fClient->NeedRedraw(
this);
114 if (event->fType == kEnterNotify)
116 else if (event->fType == kLeaveNotify)
119 fClient->NeedRedraw(
this);
121 return TGButton::HandleCrossing(event);
131 int x = (fWidth - fTWidth) >> 1;
132 int y = (fHeight - fTHeight) >> 1;
146 case kButtonDisabled:
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
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
volatile std::atomic< bool > shutdown_flag false