diff options
| author | pepper <pepper@chimecrisis.com> | 2015-01-31 21:41:28 -0800 |
|---|---|---|
| committer | pepper <pepper@chimecrisis.com> | 2015-01-31 21:41:28 -0800 |
| commit | 97587996ee9db30ce00190bdcedd8210490b99f5 (patch) | |
| tree | d8554969ac496be3a1b02a159f2a4b5b79f9492e /vstgui.sf/drawtest/source/pprimitivesviews.h | |
backup vst 2.4
Diffstat (limited to 'vstgui.sf/drawtest/source/pprimitivesviews.h')
| -rw-r--r-- | vstgui.sf/drawtest/source/pprimitivesviews.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/vstgui.sf/drawtest/source/pprimitivesviews.h b/vstgui.sf/drawtest/source/pprimitivesviews.h new file mode 100644 index 0000000..90c339a --- /dev/null +++ b/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 |
