ellipse (mfc, Object.h)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
#include "WinLab(01)Doc.h"
#ifndef OBJECT_H
#define OBJECT_H
#define MAX 15
class Objects : protected CObject //, protected CArchive
{
public:
int m_xcenter[MAX], m_ycenter[MAX];
int m_width[MAX], m_height[MAX];
int amount;
COLORREF Color[MAX];
Objects(void);
~Objects(void);
void DrawDraft(CDC *pDc);
void Serialize(CArchive &ar);
};
#endif