diff options
| author | pepper <peppersclothescult@gmail.com> | 2015-01-10 21:37:24 -0800 |
|---|---|---|
| committer | pepper <peppersclothescult@gmail.com> | 2015-01-10 21:37:24 -0800 |
| commit | 58f8437f4b8b741ddc8e7bcde21bf983cc618430 (patch) | |
| tree | bfd0a9d601274fe56de15a4eaeb0998f9481419d /vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.h | |
| parent | 36773a28ece1641a2d827a29869cdd4c38e87925 (diff) | |
Diffstat (limited to 'vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.h')
| -rw-r--r-- | vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.h b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.h new file mode 100644 index 0000000..90c339a --- /dev/null +++ b/vendor/vstsdk2.4/vstgui.sf/drawtest/source/pprimitivesviews.h @@ -0,0 +1,37 @@ +#ifndef __pprimitivesviews__ +#define __pprimitivesviews__ + +#ifndef __vstgui__ +#include "vstgui.h" +#endif + +class PLinesView : public CView +{ +public: + PLinesView (const CRect& size); + + virtual void draw (CDrawContext *pContext); +}; + +class PRectsView : public CView +{ +public: + PRectsView (const CRect& size); + + virtual void draw (CDrawContext *pContext); +}; + +class PMiscView : public CView +{ +public: + PMiscView (const CRect& size); + + virtual void draw (CDrawContext* pContext); + virtual void mouse (CDrawContext* pContext, CPoint &where, long buttons = -1); +protected: + void drawGrid (CDrawContext* pContext); + long xOffset; + long yOffset; +}; + +#endif |
