| | |
| | | #define ORIGIN_RIGHTBOTTOM 3 |
| | | |
| | | #define UM_MAP_CHANGED 5573 |
| | | #define _MENU_DEFECT_LIST_ID_ 8000 |
| | | #define _MENU_DEFECT_LIST_ID_ 8000 |
| | | ///////////////////////////////////////////////////////////////////////////// |
| | | // CStaticMap window |
| | | enum OriginDirection { OD_LeftTop = 0, OD_RightTop = 1, OD_LeftBottom = 10, OD_RightBottom = 11 }; |
| | |
| | | |
| | | // Operations |
| | | public: |
| | | void InitGlass(CWnd* pParent, int nMapWidth, int nMapHeight, int nMapMargin); // Pixel 窜困 付柳. |
| | | void InitGlass(CWnd* pParent, int nMapWidth, int nMapHeight, int nMapMargin); // Pixel 窜困 付柳. |
| | | void DeinitGlass(); |
| | | int GetMapTotalWidth() { return m_nMapTotalWidth; } |
| | | int GetMapTotalHeight() { return m_nMapTotalHeight; } |
| | |
| | | virtual void RegistNoDefect() { } |
| | | virtual void Timer(UINT nIDEvent) { } |
| | | |
| | | // 犬措/绵家 |
| | | // 犬措/绵家 |
| | | void IncreaseRatio(); |
| | | void DecreaseRatio(); |
| | | void ResetRatio(); |
| | |
| | | void SetDisplayRect(CPoint& PointStart, CPoint& PointEnd); |
| | | void SetShowShot(BOOL bShow) { m_bShowShot = bShow; } |
| | | |
| | | // 历厘 |
| | | // 历厘 |
| | | void SaveMapToFile(CString strFileName); |
| | | void SetBGColor(COLORREF color) { m_clBGColor = color; } |
| | | |
| | |
| | | long m_clBGColor; |
| | | long m_clPatColor; |
| | | ////////////////////////////////////////////////////////////////////////// |
| | | // 弊府扁 沥焊 |
| | | // 弊府扁 沥焊 |
| | | HBITMAP m_hDrawingSurface; |
| | | BITMAPINFOHEADER m_BMIH; |
| | | CRect m_RectDrawingSurface; |
| | |
| | | OriginDirection m_OriginDir; |
| | | int m_nUnitSize; |
| | | |
| | | // Cell 弊府扁 |
| | | // Cell 弊府扁 |
| | | BOOL m_bShowShot; |
| | | |
| | | // 犬措/绵家 |
| | | // 犬措/绵家 |
| | | CRect m_RectShowWnd; |
| | | |
| | | double m_dRatio; |
| | | CPoint m_PointWindowStart; |
| | | BOOL m_bDragMove; |
| | | CPoint m_PointDragStart; |
| | | BOOL m_bIsMiniMap; // Minimap篮 犬措/绵家甫 救茄促. |
| | | CPoint m_PointGlassStart; // Glass 吝 泅犁 焊咯瘤绰 康开. |
| | | BOOL m_bIsMiniMap; // Minimap篮 犬措/绵家甫 救茄促. |
| | | CPoint m_PointGlassStart; // Glass 吝 泅犁 焊咯瘤绰 康开. |
| | | CPoint m_PointGlassEnd; |
| | | |
| | | POINT m_PointCCut[3]; //内呈钠 弊府扁 谅钎 |
| | | POINT m_PointCCut[3]; //内呈钠 弊府扁 谅钎 |
| | | int m_nCCutSize; |
| | | int m_nCoordGabX; // 谅钎甫 谎副 芭府. |
| | | int m_nCoordGabY; // 谅钎甫 谎副 芭府. |
| | | int m_nCoordGabX; // 谅钎甫 谎副 芭府. |
| | | int m_nCoordGabY; // 谅钎甫 谎副 芭府. |
| | | |
| | | //{{AFX_MSG(CStaticGlass) |
| | | afx_msg void OnPaint(); |