Numworks Epsilon
1.4.1
Graphing Calculator Operating System
highlight_cell.cpp
Go to the documentation of this file.
1
#include <
escher/highlight_cell.h
>
2
3
HighlightCell::HighlightCell
() :
4
View
(),
5
m_highlighted(
false
)
6
{
7
}
8
9
void
HighlightCell::setHighlighted
(
bool
highlight) {
10
if
(
m_highlighted
!= highlight) {
11
m_highlighted
= highlight;
12
reloadCell
();
13
}
14
}
15
16
void
HighlightCell::reloadCell
() {
17
markRectAsDirty
(
bounds
());
18
}
HighlightCell::HighlightCell
HighlightCell()
Definition:
highlight_cell.cpp:3
View::markRectAsDirty
void markRectAsDirty(KDRect rect)
Definition:
view.cpp:39
false
#define false
Definition:
stdbool.h:9
View
Definition:
view.h:23
highlight_cell.h
HighlightCell::setHighlighted
virtual void setHighlighted(bool highlight)
Definition:
highlight_cell.cpp:9
HighlightCell::reloadCell
virtual void reloadCell()
Definition:
highlight_cell.cpp:16
View::bounds
KDRect bounds() const
Definition:
view.cpp:157
HighlightCell::m_highlighted
bool m_highlighted
Definition:
highlight_cell.h:17
epsilon
escher
src
highlight_cell.cpp
Generated by
1.8.14