-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCPUFeaturesWorkspace.cpp
More file actions
48 lines (31 loc) · 965 Bytes
/
CPUFeaturesWorkspace.cpp
File metadata and controls
48 lines (31 loc) · 965 Bytes
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
// CPUFeaturesWorkspace.cpp: implementation of the CCPUFeaturesWorkspace class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "CPUBench2004.h"
#include "CPUFeaturesWorkspace.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CCPUFeaturesWorkspace::CCPUFeaturesWorkspace()
{
}
CCPUFeaturesWorkspace::~CCPUFeaturesWorkspace()
{
}
void CCPUFeaturesWorkspace::BuildInterface(){
i.SetCaptionString("CPU Features description");
CRect r;
r.top=m_guiRect.top+8;
r.left=m_guiRect.left+8;
r.right=m_guiRect.right-8;
r.bottom=m_guiRect.bottom-70;
i.SetOriginAndSize(r.left,r.top,r.Width());
i.SetSize(r.Height());
AddItem(&i);
}