Numworks Epsilon  1.4.1
Graphing Calculator Operating System
image_view.h
Go to the documentation of this file.
1 #ifndef ESCHER_IMAGE_VIEW_H
2 #define ESCHER_IMAGE_VIEW_H
3 
4 #include <escher/view.h>
5 #include <escher/image.h>
6 
7 class ImageView : public View {
8 public:
9  ImageView();
10  void setImage(const Image * image);
11  void drawRect(KDContext * ctx, KDRect rect) const override;
12 private:
13  const Image * m_image;
14 };
15 
16 #endif
Definition: image.h:6
void setImage(const Image *image)
Definition: image_view.cpp:21
Definition: rect.h:26
Definition: view.h:23
void drawRect(KDContext *ctx, KDRect rect) const override
Definition: image_view.cpp:12