CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FWBoxIconButton.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Core
4 // Class : FWBoxIconButton
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author: Chris Jones
10 // Created: Thu Feb 19 19:04:10 CST 2009
11 //
12 
13 // system include files
14 
15 // user include files
18 
19 //
20 // constants, enums and typedefs
21 //
22 
23 //
24 // static data member definitions
25 //
26 
27 //
28 // constructors and destructor
29 //
31  const TGWindow* iParent, FWBoxIconBase* iBase, Int_t iID, GContext_t norm, UInt_t option)
32  : TGButton(iParent, iID, norm, option), m_iconBase(iBase) {
34 }
35 
36 // FWBoxIconButton::FWBoxIconButton(const FWBoxIconButton& rhs)
37 // {
38 // // do actual copying here;
39 // }
40 
42 
43 //
44 // assignment operators
45 //
46 // const FWBoxIconButton& FWBoxIconButton::operator=(const FWBoxIconButton& rhs)
47 // {
48 // //An exception safe implementation is
49 // FWBoxIconButton temp(rhs);
50 // swap(rhs);
51 //
52 // return *this;
53 // }
54 
55 //
56 // member functions
57 //
58 void FWBoxIconButton::DoRedraw() { m_iconBase->draw(fId, fNormGC, 0, 0); }
59 
60 void FWBoxIconButton::setNormCG(GContext_t iContext) { fNormGC = iContext; }
61 
62 //
63 // const member functions
64 //
65 
66 //
67 // static member functions
68 //
unsigned int edgeLength() const
Definition: FWBoxIconBase.h:36
void draw(Drawable_t iID, GContext_t iContext, int iX, int iY) const
FWBoxIconButton(const TGWindow *iParent, FWBoxIconBase *iBase, Int_t iID=-1, GContext_t norm=TGButton::GetDefaultGC()(), UInt_t option=0)
FWBoxIconBase * m_iconBase
void setNormCG(GContext_t)
~FWBoxIconButton() override
void DoRedraw() override