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
virtual void drawTile(KDContext *ctx, KDRect rect) const =0
Definition: size.h:6
void drawRect(KDContext *ctx, KDRect rect) const override
Definition: tiled_view.cpp:4
virtual KDSize tileSize() const =0
virtual KDColor * tile() const =0
Definition: rect.h:26
Definition: color.h:6
View()
Definition: view.cpp:6
Definition: view.h:23