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