File indexing completed on 2024-04-06 12:11:36
0001 #ifndef Fireworks_Core_FWBoxIconButton_h
0002 #define Fireworks_Core_FWBoxIconButton_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include "TGButton.h"
0023
0024
0025
0026
0027 class FWBoxIconBase;
0028
0029 class FWBoxIconButton : public TGButton {
0030 public:
0031 FWBoxIconButton(const TGWindow* iParent,
0032 FWBoxIconBase* iBase,
0033 Int_t iID = -1,
0034 GContext_t norm = TGButton::GetDefaultGC()(),
0035 UInt_t option = 0);
0036 ~FWBoxIconButton() override;
0037
0038
0039
0040
0041
0042
0043 void setNormCG(GContext_t);
0044
0045 protected:
0046 void DoRedraw() override;
0047
0048 public:
0049 FWBoxIconButton(const FWBoxIconButton&) = delete;
0050
0051 const FWBoxIconButton& operator=(const FWBoxIconButton&) = delete;
0052
0053 private:
0054
0055 FWBoxIconBase* m_iconBase;
0056 };
0057
0058 #endif