Index: include/views/SkWindow.h |
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h |
index 40cc5ecb31d5a8179d549a018e5ee773a2626264..e18aff35123237b2e65dc4388738c986de85dcbe 100644 |
--- a/include/views/SkWindow.h |
+++ b/include/views/SkWindow.h |
@@ -14,6 +14,7 @@ |
#include "SkRegion.h" |
#include "SkEvent.h" |
#include "SkKey.h" |
+#include "SkSurfaceProps.h" |
#include "SkTDArray.h" |
#ifdef SK_BUILD_FOR_WINCEx |
@@ -29,6 +30,11 @@ public: |
SkWindow(); |
virtual ~SkWindow(); |
+ SkSurfaceProps getSurfaceProps() const { return fSurfaceProps; } |
+ void setSurfaceProps(const SkSurfaceProps& props) { |
+ fSurfaceProps = props; |
+ } |
+ |
const SkBitmap& getBitmap() const { return fBitmap; } |
void setColorType(SkColorType); |
@@ -80,6 +86,7 @@ protected: |
virtual bool onSetFocusView(SkView* focus); |
private: |
+ SkSurfaceProps fSurfaceProps; |
SkColorType fColorType; |
SkBitmap fBitmap; |
SkRegion fDirtyRgn; |