Numworks Epsilon
1.4.1
Graphing Calculator Operating System
pattern_view.h
Go to the documentation of this file.
1
#ifndef HARDWARE_TEST_PATTERN_VIEW_H
2
#define HARDWARE_TEST_PATTERN_VIEW_H
3
4
#include <
escher.h
>
5
#include "
pattern.h
"
6
7
namespace
HardwareTest
{
8
9
class
PatternView
:
public
View
{
10
public
:
11
PatternView
();
12
void
setPattern
(
Pattern
p);
13
void
drawRect
(
KDContext
* ctx,
KDRect
rect)
const override
;
14
private
:
15
constexpr
static
KDCoordinate
k_outlineThickness = 1;
16
Pattern
m_pattern;
17
};
18
19
}
20
21
#endif
22
HardwareTest::PatternView::PatternView
PatternView()
Definition:
pattern_view.cpp:5
HardwareTest::Pattern
Definition:
pattern.h:8
KDCoordinate
int16_t KDCoordinate
Definition:
coordinate.h:6
escher.h
HardwareTest::PatternView
Definition:
pattern_view.h:9
HardwareTest
Definition:
app.cpp:8
KDContext
Definition:
context.h:8
HardwareTest::PatternView::drawRect
void drawRect(KDContext *ctx, KDRect rect) const override
Definition:
pattern_view.cpp:15
KDRect
Definition:
rect.h:26
HardwareTest::PatternView::setPattern
void setPattern(Pattern p)
Definition:
pattern_view.cpp:10
View
Definition:
view.h:23
pattern.h
epsilon
apps
hardware_test
pattern_view.h
Generated by
1.8.14