-
Notifications
You must be signed in to change notification settings - Fork 1
/
FlexGUIWorkspace.h
62 lines (40 loc) · 1.19 KB
/
FlexGUIWorkspace.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// FlexGUIWorkspace.h: interface for the CFlexGUIWorkspace class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_FLEXGUIWORKSPACE_H__5A688EC9_2BBB_4998_A120_C1C340D1863D__INCLUDED_)
#define AFX_FLEXGUIWORKSPACE_H__5A688EC9_2BBB_4998_A120_C1C340D1863D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <afxtempl.h>
#include "FlexGUIItem.h"
#include "osinfoitemdlg.h"
#include "cpuinfoitemdlg.h"
#include "benchmarksettingsdlg.h"
#include "benchmarkresultitem.h"
#include "benchmarksettingsitem.h"
#include "dialogbaseditem.h"
#include "workspacebkdrawer.h"
class CFlexGUIWorkspace
{
public:
CFlexGUIWorkspace();
CFlexGUIWorkspace(CRect* r);
void SetCtrlRect(CRect *r){
m_guiRect.CopyRect(*r);
}
/* void SetBk(CString bk){
m_bk=bk;
}
*/
void AddItem(CFlexGUIItem* i){
m_items.Add(i);
}
void Draw(CDC* srcDC);
virtual ~CFlexGUIWorkspace();
protected:
CRect m_guiRect;
CArray<CFlexGUIItem*,CFlexGUIItem*> m_items;
CWorkspaceBkDrawer *m_bkDrawer;
};
#endif // !defined(AFX_FLEXGUIWORKSPACE_H__5A688EC9_2BBB_4998_A120_C1C340D1863D__INCLUDED_)