Numworks Epsilon
1.4.1
Graphing Calculator Operating System
tiled_view.h
Go to the documentation of this file.
1
#ifndef ESCHER_TILED_VIEW_H
2
#define ESCHER_TILED_VIEW_H
3
4
#include <
escher/view.h
>
5
6
class
TiledView
:
public
View
{
7
using
View::View
;
8
protected
:
9
void
drawRect
(
KDContext
* ctx,
KDRect
rect)
const override
;
10
virtual
void
drawTile
(
KDContext
* ctx,
KDRect
rect)
const
= 0;
11
12
virtual
KDColor
*
tile
()
const
= 0;
13
virtual
KDSize
tileSize
()
const
= 0;
14
};
15
16
#endif
TiledView::drawTile
virtual void drawTile(KDContext *ctx, KDRect rect) const =0
TiledView
Definition:
tiled_view.h:6
KDSize
Definition:
size.h:6
view.h
KDContext
Definition:
context.h:8
TiledView::drawRect
void drawRect(KDContext *ctx, KDRect rect) const override
Definition:
tiled_view.cpp:4
TiledView::tileSize
virtual KDSize tileSize() const =0
TiledView::tile
virtual KDColor * tile() const =0
KDRect
Definition:
rect.h:26
KDColor
Definition:
color.h:6
View::View
View()
Definition:
view.cpp:6
View
Definition:
view.h:23
epsilon
escher
include
escher
tiled_view.h
Generated by
1.8.14