Index: debugger/QT/SkDrawGeometryWidget.h |
diff --git a/debugger/QT/SkDrawGeometryWidget.h b/debugger/QT/SkDrawGeometryWidget.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d3e48d666dfddcf4ecbc34f86997568c68d25fab |
--- /dev/null |
+++ b/debugger/QT/SkDrawGeometryWidget.h |
@@ -0,0 +1,35 @@ |
+/* |
robertphillips
2014/12/30 17:35:33
2014
Kimmo Kinnunen
2014/12/31 06:43:29
Done.
|
+ * Copyright 2012 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+ |
+#ifndef SKDRAWGEOMETRYWIDGET_H_ |
+#define SKDRAWGEOMETRYWIDGET_H_ |
+ |
+#include <QFrame> |
+ |
+#include "SkSurface.h" |
+class SkDebugger; |
+ |
+class SkDrawGeometryWidget : public QFrame { |
+ Q_OBJECT |
+ |
+public: |
+ SkDrawGeometryWidget(SkDebugger* debugger); |
+ |
+public slots: |
+ void updateImage(); |
+ |
+protected: |
+ void paintEvent(QPaintEvent* event); |
+ void resizeEvent(QResizeEvent* event); |
+ |
+private: |
+ SkDebugger* fDebugger; |
+ SkAutoTUnref<SkSurface> fSurface; |
+}; |
+ |
+#endif /* SKDRAWGEOMETRYWIDGET_H_ */ |