You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
1.4 KiB
C++

//////////////////////////////////////////////////////////////////////////////
//ÎÄźţ: CCursor.h
//Ö÷ŇŞšŚÄÜ:
//
//łĚĐňąŕĐ´: 2006-12-07
//
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
enum eCursorSelectStruct
{
CursorCenterReduce,
CursorCenterEnlarge,
CursorViewPan,
CursorViewPan1,
CursorEditDelete,
CursorDrawCurve,
CursorSelect,
CursorSelectItem,
CursorCrosshair,
CursorHyperlink,
CursorEraser,
CursorBreakCurve,
CursorRange,
CursorMove,
CursorMoveHandle,
CursorMove4Way,
CursorCopy4Way,
CursorAddHandle,
CursorMulDeleteHandle,
CursorDefault
};
class CCursor
{
public:
CCursor(void);
~CCursor(void);
public:
BOOL SetCursor(void);
void SetCursor(eCursorSelectStruct eCursor);
void InitialCursor();
BOOL IsBakup(void);
void BakupCursor(void);
void RestoreCursor(void);
protected:
HCURSOR m_hBreakCurve;
HCURSOR m_hViewPan;
HCURSOR m_hViewPan1;
HCURSOR m_hEraser;
HCURSOR m_hEditDelete;
HCURSOR m_hDrawCurve;
HCURSOR m_hSelectItem;
HCURSOR m_hSelect;
HCURSOR m_hCrosshair;
HCURSOR m_hCursorCenterEnlarge;
HCURSOR m_hCursorCenterReduce;
HCURSOR m_hHyperlink;
HCURSOR m_hRange;
HCURSOR m_hCursorMove;
HCURSOR m_hMoveHandle;
HCURSOR m_hMove4Way;
HCURSOR m_hCopy4Way;
HCURSOR m_hMulDeleteHandle;
HCURSOR m_hAddHandle;
eCursorSelectStruct eCursorSelect;
eCursorSelectStruct bakCursor;
};