#include <Fireworks/Core/interface/FWCustomIconsButton.h>
Public Member Functions | |
const TGPicture * | bellowMouseIcon () const |
const TGPicture * | disabledIcon () const |
const TGPicture * | downIcon () const |
FWCustomIconsButton (const TGWindow *iParent, const TGPicture *iUpIcon, const TGPicture *iDownIcon, const TGPicture *iDisableIcon, const TGPicture *iBelowMouseIcon=nullptr, Int_t id=-1, GContext_t norm=TGButton::GetDefaultGC()(), UInt_t option=0) | |
bool | HandleCrossing (Event_t *) override |
void | setIcons (const TGPicture *iUpIcon, const TGPicture *iDownIcon, const TGPicture *iDisabledIcon, const TGPicture *ibelowMouseIcon=nullptr) |
void | swapIcons (const TGPicture *&iUpIcon, const TGPicture *&iDownIcon, const TGPicture *&iDisabledIcon) |
const TGPicture * | upIcon () const |
~FWCustomIconsButton () override | |
Protected Member Functions | |
void | DoRedraw () override |
Private Member Functions | |
FWCustomIconsButton (const FWCustomIconsButton &)=delete | |
const FWCustomIconsButton & | operator= (const FWCustomIconsButton &)=delete |
Private Attributes | |
const TGPicture * | m_belowMouseIcon |
const TGPicture * | m_disabledIcon |
const TGPicture * | m_downIcon |
bool | m_inside |
const TGPicture * | m_upIcon |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 29 of file FWCustomIconsButton.h.
FWCustomIconsButton::FWCustomIconsButton | ( | const TGWindow * | iParent, |
const TGPicture * | iUpIcon, | ||
const TGPicture * | iDownIcon, | ||
const TGPicture * | iDisableIcon, | ||
const TGPicture * | iBelowMouseIcon = nullptr , |
||
Int_t | id = -1 , |
||
GContext_t | norm = TGButton::GetDefaultGC() () , |
||
UInt_t | option = 0 |
||
) |
Definition at line 33 of file FWCustomIconsButton.cc.
Referenced by bellowMouseIcon().
|
override |
Definition at line 61 of file FWCustomIconsButton.cc.
|
privatedelete |
|
inline |
Definition at line 63 of file FWCustomIconsButton.h.
References DoRedraw(), FWCustomIconsButton(), m_belowMouseIcon, and operator=().
|
inline |
Definition at line 62 of file FWCustomIconsButton.h.
References m_disabledIcon.
|
overrideprotected |
Definition at line 126 of file FWCustomIconsButton.cc.
References hcaldqm::quantity::fState, m_belowMouseIcon, m_disabledIcon, m_downIcon, m_inside, m_upIcon, x, and y.
Referenced by bellowMouseIcon().
|
inline |
|
override |
Definition at line 112 of file FWCustomIconsButton.cc.
References hcaldqm::fClient, and m_inside.
|
privatedelete |
Referenced by bellowMouseIcon().
void FWCustomIconsButton::setIcons | ( | const TGPicture * | iUpIcon, |
const TGPicture * | iDownIcon, | ||
const TGPicture * | iDisabledIcon, | ||
const TGPicture * | ibelowMouseIcon = nullptr |
||
) |
Definition at line 93 of file FWCustomIconsButton.cc.
References hcaldqm::fClient, m_belowMouseIcon, m_disabledIcon, m_downIcon, and m_upIcon.
Referenced by FWGUIManager::setFilterButtonIcon().
void FWCustomIconsButton::swapIcons | ( | const TGPicture *& | iUpIcon, |
const TGPicture *& | iDownIcon, | ||
const TGPicture *& | iDisabledIcon | ||
) |
Definition at line 81 of file FWCustomIconsButton.cc.
References hcaldqm::fClient, m_disabledIcon, m_downIcon, m_upIcon, and std::swap().
Referenced by FWCollectionSummaryWidget::itemChanged(), FWCollectionSummaryWidget::setBackgroundToWhite(), CSGContinuousAction::stop(), CSGContinuousAction::switchMode(), FWCollectionSummaryWidget::toggleShowHide(), and FWTableView::toggleShowHide().
|
inline |
|
private |
Definition at line 76 of file FWCustomIconsButton.h.
Referenced by bellowMouseIcon(), DoRedraw(), and setIcons().
|
private |
Definition at line 75 of file FWCustomIconsButton.h.
Referenced by disabledIcon(), DoRedraw(), setIcons(), and swapIcons().
|
private |
Definition at line 74 of file FWCustomIconsButton.h.
Referenced by DoRedraw(), downIcon(), setIcons(), and swapIcons().
|
private |
Definition at line 78 of file FWCustomIconsButton.h.
Referenced by DoRedraw(), and HandleCrossing().
|
private |
Definition at line 73 of file FWCustomIconsButton.h.
Referenced by DoRedraw(), setIcons(), swapIcons(), and upIcon().