// ImagePanel.h: interface for the CImagePanel class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_IMAGEPANEL_H__53307942_B536_4785_BED2_4DFC20810F5A__INCLUDED_) #define AFX_IMAGEPANEL_H__53307942_B536_4785_BED2_4DFC20810F5A__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "TaskPanel.h" class CImagePanel : public CTaskPanel { private: struct ImageElement{ POINT start; POINT end; Bitmap * bmp; }; ImageElement** imageElements; int countImageElements; int selected; int mouseOver; Bitmap *bkButton[2]; public: void AddElements(UINT uiStart, int Number); int MouseButtonUp(int x,int y,bool bLeft); void MouseButtonDown(int x,int y,bool bLeft); void MouseMove(int x,int y); CImagePanel(int ix,int iy,int iwidth,int iheight,UINT uiPanel); virtual ~CImagePanel(); void DrawContent(HDC hDC); }; #endif // !defined(AFX_IMAGEPANEL_H__53307942_B536_4785_BED2_4DFC20810F5A__INCLUDED_)