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