|
// ResizeBox.h: interface for the CResizeBox class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RESIZEBOX_H__E9D77A9A_EAED_4F16_BFFE_B908089BD1AE__INCLUDED_)
#define AFX_RESIZEBOX_H__E9D77A9A_EAED_4F16_BFFE_B908089BD1AE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Rect.h"
#include "canvas.h"
class CResizeBox:public CRect{
public:
enum{
TYPE_ERR,
TYPE_LEFTTOP,
TYPE_TOP,
TYPE_RIGHTTOP,
TYPE_RIGHT,
TYPE_RIGHTBOTTOM,
TYPE_BOTTOM,
TYPE_LEFTBOTTOM,
TYPE_LEFT,
};
public:
CCanvas *i_canvas;
int type;
COLORREF bk_color;
public:
int Draw();
int SetType(int type);
int GetType();
CResizeBox();
virtual ~CResizeBox();
int Init();
int Destroy();
int Copy(CResizeBox *p);
int Comp(CResizeBox *p);
int Print();
int InitBasic();
};
#endif // !defined(AFX_RESIZEBOX_H__E9D77A9A_EAED_4F16_BFFE_B908089BD1AE__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.