Fireworks
Core
src
FWBoxIconBase.h
Go to the documentation of this file.
1
#ifndef Fireworks_Core_FWBoxIconBase_h
2
#define Fireworks_Core_FWBoxIconBase_h
3
// -*- C++ -*-
4
//
5
// Package: Core
6
// Class : FWBoxIconBase
7
//
16
//
17
// Original Author: Chris Jones
18
// Created: Thu Feb 19 15:09:30 CST 2009
19
//
20
21
// system include files
22
#include "GuiTypes.h"
23
24
// user include files
25
26
// forward declarations
27
28
class
FWBoxIconBase
{
29
public
:
30
FWBoxIconBase
(
unsigned
int
iEdgeLength);
31
virtual
~FWBoxIconBase
();
32
33
// ---------- const member functions ---------------------
34
void
draw
(Drawable_t iID, GContext_t iContext,
int
iX,
int
iY)
const
;
35
36
unsigned
int
edgeLength
()
const
{
return
m_edgeLength
; }
37
// ---------- static member functions --------------------
38
39
// ---------- member functions ---------------------------
40
41
private
:
42
FWBoxIconBase
(
const
FWBoxIconBase
&) =
delete
;
// stop default
43
44
const
FWBoxIconBase
&
operator=
(
const
FWBoxIconBase
&) =
delete
;
// stop default
45
46
virtual
void
drawInsideBox
(Drawable_t iID, GContext_t iContext,
int
iX,
int
iY,
unsigned
int
iSize)
const
= 0;
47
48
// ---------- member data --------------------------------
49
unsigned
int
m_edgeLength
;
50
};
51
52
#endif
FWBoxIconBase::drawInsideBox
virtual void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const =0
FWBoxIconBase::draw
void draw(Drawable_t iID, GContext_t iContext, int iX, int iY) const
Definition:
FWBoxIconBase.cc:58
FWBoxIconBase::operator=
const FWBoxIconBase & operator=(const FWBoxIconBase &)=delete
FWBoxIconBase::edgeLength
unsigned int edgeLength() const
Definition:
FWBoxIconBase.h:36
FWBoxIconBase::~FWBoxIconBase
virtual ~FWBoxIconBase()
Definition:
FWBoxIconBase.cc:37
FWBoxIconBase
Definition:
FWBoxIconBase.h:28
FWBoxIconBase::FWBoxIconBase
FWBoxIconBase(unsigned int iEdgeLength)
Definition:
FWBoxIconBase.cc:30
FWBoxIconBase::m_edgeLength
unsigned int m_edgeLength
Definition:
FWBoxIconBase.h:49
Generated for CMSSW Reference Manual by
1.8.16