-
Notifications
You must be signed in to change notification settings - Fork 0
/
Options.h
78 lines (58 loc) · 1.33 KB
/
Options.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Options.h: interface for the COptions class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_OPTIONS_H__8217DC27_3F9B_46C1_A825_0BCA56864AE3__INCLUDED_)
#define AFX_OPTIONS_H__8217DC27_3F9B_46C1_A825_0BCA56864AE3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define CENTER_ORIGIN 0
#define CENTER_SELECTION 1
#define CENTER_SYSTEM 2
struct tSelectDialogData
{
UINT SortType;
UINT ListGeometry;
UINT ListShapes;
UINT ListLights;
UINT ListCameras;
UINT ListHelpers;
UINT ListWarps;
UINT ListGroups;
UINT ListBones;
UINT DisplaySubTree;
UINT CaseSensitive;
};
class COptions
{
public:
COptions();
virtual ~COptions();
void Load( HINSTANCE hInstance );
void Save( HINSTANCE hInstance );
void Reset();
//Select Dialog Options
tSelectDialogData SelectDialog;
//Viewport Options
bool SelectIntersecting;
bool UseFlashLight;
bool UpdateOnDialogMove;
float ViewDistance;
//OpenGL Options
int ColorBits;
int DepthBits;
int StencilBits;
//Window Options
RECT WindowRect;
WORD WindowState;
//Edit Options
WORD MoveCenterType;
WORD RotateCenterType;
WORD ScaleCenterType;
WORD CenterType;
bool LockSelection;
//UI Options
float GizmoSize;
bool DrawOrigins;
};
#endif // !defined(AFX_OPTIONS_H__8217DC27_3F9B_46C1_A825_0BCA56864AE3__INCLUDED_)