blob: 12b54f11f27c9e87ac1966391c794dff1747b24a [file] [log] [blame]
yangsu@google.com02642762011-06-17 18:31:01 +00001#include "SkView.h"
2#include "SkColor.h"
3#include "SkBitmap.h"
4
5/*
6 * Pipe Reader with File IO. This view reads from the data file produced by the
7 * Pipe Writer.
8 */
9
10class ReaderView : public SkView {
11public:
12 ReaderView();
13 virtual void draw(SkCanvas* canvas);
14
15private:
16 int fFilePos;
17 int fFront;
18 int fBack;
19 SkColor fBGColor;
20 SkBitmap fBufferBitmaps[2];
21 typedef SkView INHERITED;
22};
23