Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:36

0001 // -*- C++ -*-
0002 //
0003 // Package:     Core
0004 // Class  :     FWColorBoxIcon
0005 //
0006 // Implementation:
0007 //     <Notes on implementation>
0008 //
0009 // Original Author:  Chris Jones
0010 //         Created:  Thu Feb 19 15:42:05 CST 2009
0011 //
0012 
0013 // system include files
0014 #include "TVirtualX.h"
0015 
0016 // user include files
0017 #include "Fireworks/Core/src/FWColorBoxIcon.h"
0018 
0019 //
0020 // constants, enums and typedefs
0021 //
0022 
0023 //
0024 // static data member definitions
0025 //
0026 
0027 //
0028 // constructors and destructor
0029 //
0030 FWColorBoxIcon::FWColorBoxIcon(unsigned int iEdgeLength) : FWBoxIconBase(iEdgeLength), m_colorContext(0) {}
0031 
0032 // FWColorBoxIcon::FWColorBoxIcon(const FWColorBoxIcon& rhs)
0033 // {
0034 //    // do actual copying here;
0035 // }
0036 
0037 //FWColorBoxIcon::~FWColorBoxIcon()
0038 //{
0039 //}
0040 
0041 //
0042 // assignment operators
0043 //
0044 // const FWColorBoxIcon& FWColorBoxIcon::operator=(const FWColorBoxIcon& rhs)
0045 // {
0046 //   //An exception safe implementation is
0047 //   FWColorBoxIcon temp(rhs);
0048 //   swap(rhs);
0049 //
0050 //   return *this;
0051 // }
0052 
0053 //
0054 // member functions
0055 //
0056 
0057 //
0058 // const member functions
0059 //
0060 void FWColorBoxIcon::drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const {
0061   gVirtualX->FillRectangle(iID, m_colorContext, iX + 1, iY + 1, iSize - 2, iSize - 2);
0062 }
0063 
0064 //
0065 // static member functions
0066 //