Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // RG1View.h : interface of the CRG1View class
- //
- #pragma once
- class CRG1View : public CView
- {
- protected: // create from serialization only
- CRG1View();
- DECLARE_DYNCREATE(CRG1View)
- // Attributes
- public:
- CRG1Doc* GetDocument() const;
- // Operations
- public:
- // Overrides
- public:
- XFORM XformPro;
- CBitmap* pBmp;
- int pom;
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- void DrawWave(CDC *pDC, CRect rc);
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- void DrawClock(CDC* pDC, CRect rc, int sat, int min, int sec);
- void DrawRadial(CDC* pDC, CRect rc);
- void DrawLabels(CDC* pDC, CRect rc);
- HMETAFILE KazaljkaDC(CDC* pDC);
- void Kazaljke(CDC* pDC, CRect rect, int sat, int min, int sec);
- void DrawLineHatch(CDC* pDC, CPoint prStart, CPoint ptEnd, double length, int n);
- void DrawBitmap(CDC* pDC, int x, int y, float scale, int name);
- void DrawBitmapD(CDC* pDC, int x, int y, float scale, CBitmap& bitmap);
- void DrawTransparentBitmap(CDC* pDC, int x, int y, float scale, COLORREF color, int name);
- void DrawBkBitmap(CDC* pDC, int x, int y, float sizeX, float sizeY, int name);
- void ChangeBrightness(CDC* pDC, CBitmap& bitmap, float factor, CRect rect);
- void FlipBitmap(CBitmap* bitmap);
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- // Implementation
- public:
- virtual ~CRG1View();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- afx_msg void OnFilePrintPreview();
- afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
- afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
- };
- #ifndef _DEBUG // debug version in RG1View.cpp
- inline CRG1Doc* CRG1View::GetDocument() const
- { return reinterpret_cast<CRG1Doc*>(m_pDocument); }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement