Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Output
Winx64
Build
PublishedApi
DgnView
DgnViewSettings.r.h
Go to the documentation of this file.
1
/*--------------------------------------------------------------------------------------+
2
|
3
| Supplied under applicable software license agreement.
4
|
5
| Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6
|
7
+---------------------------------------------------------------------------------------*/
8
#pragma once
9
12
struct
SnapElemIgnore
13
{
14
unsigned
text
:1;
15
unsigned
curves
:1;
16
unsigned
dimensions
:1;
17
unsigned
meshes
:1;
18
unsigned
fillInterior
:1;
19
unsigned
unused1
:11;
20
unsigned
unused2
:16;
21
unsigned
unused3
:16;
22
};
23
24
struct
AccuSnapSettings
25
{
26
double
hotDistance
;
27
double
stickyFactor
;
28
double
searchDistance
;
29
unsigned
enableForFenceCreate
:1;
30
unsigned
showIcon
:1;
31
unsigned
showHint
:1;
32
unsigned
fixedPtPerpTan
:1;
33
unsigned
playSound
:1;
34
unsigned
coordUpdate
:1;
35
unsigned
hiliteColdHits
:1;
36
unsigned
allowLocate
:1;
37
unsigned
popupInfo
:1;
38
unsigned
popupMode
:1;
39
unsigned
enableFlag
:2;
40
unsigned
flashOnlyComponent
:1;
// if true, flash only a single element on complex elements for locates
41
unsigned
sortByClass
:1;
42
unsigned
unused2
:18;
43
SnapElemIgnore
ignore
;
44
Int32
modifierMask
;
45
Int32
popupDelay
;
// delay before info balloon pops up - in 10th of a second
46
Int32
reserved1
;
47
double
reserved2
;
48
};
49
50
enum
WheelAction
51
{
52
WHEEL_ACTION_Zoom
= 0,
53
WHEEL_ACTION_Walk
= 1,
54
WHEEL_ACTION_PanZoom
= 2,
55
WHEEL_ACTION_PanLeftRight
= 3,
56
WHEEL_ACTION_PanUpDown
= 4,
57
WHEEL_ACTION_Slide
= 5,
58
WHEEL_ACTION_None
= 6,
59
};
60
61
struct
MouseWheelSettings
62
{
63
double
m_zoomRatio
;
64
double
m_navigateDistPct
;
65
double
m_navigateMouseDistPct
;
66
int
m_wheelNormal
;
67
int
m_wheelAlt
;
68
int
m_wheelShift
;
69
int
m_wheelCtrl
;
70
int
reserved2
[10];
71
};
72
73
struct
AdrawPrefs
74
{
75
int
version
;
// NOTE: Saved settings, update ACCUDRAW_SETTINGS_VERSION in adrawint.h if structure changes!
76
77
int
baseMode
;
78
int
floatOrg
;
79
int
contextSens
;
80
int
smartKeyin
;
81
int
autoPt
;
82
83
bool
getAcsRot
;
84
bool
useCurrentOrigin
;
85
bool
axisIndexing
;
86
bool
distanceIndexing
;
87
bool
delayedUpdate
;
88
bool
showNegativeAngles
;
89
bool
shortcutPopups
;
90
bool
autoStart
;
91
bool
defaultOrigin
;
92
93
bool
autoLoad
;
94
bool
autoFocusFields
;
95
bool
unusedOn4
;
96
bool
showCoordinates
;
// deprecated
97
bool
useCurrentPlane
;
98
bool
stickyZ
;
99
bool
northingEasting
;
100
bool
getAcsOrg
;
101
102
bool
moveOrigin
;
103
bool
updateCurrentACS
;
104
bool
disableACSContextRotation
;
105
106
UInt32
indexTolerance
;
107
108
UInt32
xColor
;
109
UInt32
yColor
;
110
UInt32
hiliteColor
;
111
UInt32
frameColor
;
112
UInt32
bgColor
;
113
114
int
keyinMode
;
115
int
dockedWidth
;
116
117
int
numFrames
;
118
int
compassPixelSize
;
// size to display AccuDraw compass in pixels
119
int
textFieldSize
;
// control text field size for AccuDraw dialog
120
121
UInt32
unused1
;
122
UInt32
unused2
;
123
UInt32
unused3
;
124
UInt32
unused4
;
125
126
};
127
AdrawPrefs::autoStart
bool autoStart
Definition:
DgnViewSettings.r.h:90
AccuSnapSettings::hiliteColdHits
unsigned hiliteColdHits
Definition:
DgnViewSettings.r.h:35
AdrawPrefs::floatOrg
int floatOrg
Definition:
DgnViewSettings.r.h:78
AdrawPrefs::numFrames
int numFrames
Definition:
DgnViewSettings.r.h:117
AdrawPrefs::bgColor
UInt32 bgColor
Definition:
DgnViewSettings.r.h:112
AccuSnapSettings::flashOnlyComponent
unsigned flashOnlyComponent
Definition:
DgnViewSettings.r.h:40
AdrawPrefs::shortcutPopups
bool shortcutPopups
Definition:
DgnViewSettings.r.h:89
MouseWheelSettings
Definition:
DgnViewSettings.r.h:61
AccuSnapSettings
Definition:
DgnViewSettings.r.h:24
AdrawPrefs::hiliteColor
UInt32 hiliteColor
Definition:
DgnViewSettings.r.h:110
AdrawPrefs::axisIndexing
bool axisIndexing
Definition:
DgnViewSettings.r.h:85
SnapElemIgnore::text
unsigned text
Definition:
DgnViewSettings.r.h:14
AdrawPrefs::autoFocusFields
bool autoFocusFields
Definition:
DgnViewSettings.r.h:94
AccuSnapSettings::fixedPtPerpTan
unsigned fixedPtPerpTan
Definition:
DgnViewSettings.r.h:32
WHEEL_ACTION_PanLeftRight
Definition:
DgnViewSettings.r.h:55
SnapElemIgnore::dimensions
unsigned dimensions
Definition:
DgnViewSettings.r.h:16
AdrawPrefs::keyinMode
int keyinMode
Definition:
DgnViewSettings.r.h:114
AccuSnapSettings::enableFlag
unsigned enableFlag
Definition:
DgnViewSettings.r.h:39
AdrawPrefs::getAcsOrg
bool getAcsOrg
Definition:
DgnViewSettings.r.h:100
SnapElemIgnore::unused2
unsigned unused2
Definition:
DgnViewSettings.r.h:20
AccuSnapSettings::modifierMask
Int32 modifierMask
Definition:
DgnViewSettings.r.h:44
AccuSnapSettings::allowLocate
unsigned allowLocate
Definition:
DgnViewSettings.r.h:36
AdrawPrefs::frameColor
UInt32 frameColor
Definition:
DgnViewSettings.r.h:111
AccuSnapSettings::reserved2
double reserved2
Definition:
DgnViewSettings.r.h:47
AdrawPrefs::dockedWidth
int dockedWidth
Definition:
DgnViewSettings.r.h:115
AccuSnapSettings::hotDistance
double hotDistance
Definition:
DgnViewSettings.r.h:26
AdrawPrefs::distanceIndexing
bool distanceIndexing
Definition:
DgnViewSettings.r.h:86
WHEEL_ACTION_PanUpDown
Definition:
DgnViewSettings.r.h:56
AdrawPrefs::disableACSContextRotation
bool disableACSContextRotation
Definition:
DgnViewSettings.r.h:104
AdrawPrefs::unused2
UInt32 unused2
Definition:
DgnViewSettings.r.h:122
AdrawPrefs::moveOrigin
bool moveOrigin
Definition:
DgnViewSettings.r.h:102
SnapElemIgnore::meshes
unsigned meshes
Definition:
DgnViewSettings.r.h:17
AccuSnapSettings::stickyFactor
double stickyFactor
Definition:
DgnViewSettings.r.h:27
AdrawPrefs::showCoordinates
bool showCoordinates
Definition:
DgnViewSettings.r.h:96
AccuSnapSettings::ignore
SnapElemIgnore ignore
Definition:
DgnViewSettings.r.h:43
AdrawPrefs::compassPixelSize
int compassPixelSize
Definition:
DgnViewSettings.r.h:118
UInt32
uint32_t UInt32
Definition:
Bentley.r.h:128
AccuSnapSettings::enableForFenceCreate
unsigned enableForFenceCreate
Definition:
DgnViewSettings.r.h:29
AdrawPrefs::unused3
UInt32 unused3
Definition:
DgnViewSettings.r.h:123
AccuSnapSettings::coordUpdate
unsigned coordUpdate
Definition:
DgnViewSettings.r.h:34
AdrawPrefs::stickyZ
bool stickyZ
Definition:
DgnViewSettings.r.h:98
MouseWheelSettings::m_wheelCtrl
int m_wheelCtrl
Definition:
DgnViewSettings.r.h:69
AdrawPrefs::northingEasting
bool northingEasting
Definition:
DgnViewSettings.r.h:99
AccuSnapSettings::reserved1
Int32 reserved1
Definition:
DgnViewSettings.r.h:46
SnapElemIgnore::unused3
unsigned unused3
Definition:
DgnViewSettings.r.h:21
AdrawPrefs::version
int version
Definition:
DgnViewSettings.r.h:75
AdrawPrefs::textFieldSize
int textFieldSize
Definition:
DgnViewSettings.r.h:119
AdrawPrefs::yColor
UInt32 yColor
Definition:
DgnViewSettings.r.h:109
AdrawPrefs::autoPt
int autoPt
Definition:
DgnViewSettings.r.h:81
AccuSnapSettings::popupInfo
unsigned popupInfo
Definition:
DgnViewSettings.r.h:37
WHEEL_ACTION_Slide
Definition:
DgnViewSettings.r.h:57
AdrawPrefs::xColor
UInt32 xColor
Definition:
DgnViewSettings.r.h:108
AdrawPrefs::useCurrentOrigin
bool useCurrentOrigin
Definition:
DgnViewSettings.r.h:84
AccuSnapSettings::playSound
unsigned playSound
Definition:
DgnViewSettings.r.h:33
MouseWheelSettings::m_navigateDistPct
double m_navigateDistPct
Definition:
DgnViewSettings.r.h:64
AccuSnapSettings::popupMode
unsigned popupMode
Definition:
DgnViewSettings.r.h:38
AdrawPrefs::unusedOn4
bool unusedOn4
Definition:
DgnViewSettings.r.h:95
WHEEL_ACTION_Zoom
Definition:
DgnViewSettings.r.h:52
AccuSnapSettings::sortByClass
unsigned sortByClass
Definition:
DgnViewSettings.r.h:41
Int32
int32_t Int32
Definition:
Bentley.r.h:119
SnapElemIgnore::unused1
unsigned unused1
Definition:
DgnViewSettings.r.h:19
AdrawPrefs::autoLoad
bool autoLoad
Definition:
DgnViewSettings.r.h:93
MouseWheelSettings::m_wheelShift
int m_wheelShift
Definition:
DgnViewSettings.r.h:68
AdrawPrefs::contextSens
int contextSens
Definition:
DgnViewSettings.r.h:79
AccuSnapSettings::searchDistance
double searchDistance
Definition:
DgnViewSettings.r.h:28
AdrawPrefs::getAcsRot
bool getAcsRot
Definition:
DgnViewSettings.r.h:83
SnapElemIgnore
Definition:
DgnViewSettings.r.h:12
AdrawPrefs::baseMode
int baseMode
Definition:
DgnViewSettings.r.h:77
AdrawPrefs::smartKeyin
int smartKeyin
Definition:
DgnViewSettings.r.h:80
MouseWheelSettings::m_wheelAlt
int m_wheelAlt
Definition:
DgnViewSettings.r.h:67
WHEEL_ACTION_Walk
Definition:
DgnViewSettings.r.h:53
MouseWheelSettings::m_wheelNormal
int m_wheelNormal
Definition:
DgnViewSettings.r.h:66
SnapElemIgnore::curves
unsigned curves
Definition:
DgnViewSettings.r.h:15
MouseWheelSettings::m_navigateMouseDistPct
double m_navigateMouseDistPct
Definition:
DgnViewSettings.r.h:65
AdrawPrefs::delayedUpdate
bool delayedUpdate
Definition:
DgnViewSettings.r.h:87
AdrawPrefs::useCurrentPlane
bool useCurrentPlane
Definition:
DgnViewSettings.r.h:97
AccuSnapSettings::showHint
unsigned showHint
Definition:
DgnViewSettings.r.h:31
AdrawPrefs::indexTolerance
UInt32 indexTolerance
Definition:
DgnViewSettings.r.h:106
WheelAction
WheelAction
Definition:
DgnViewSettings.r.h:50
SnapElemIgnore::fillInterior
unsigned fillInterior
Definition:
DgnViewSettings.r.h:18
AccuSnapSettings::showIcon
unsigned showIcon
Definition:
DgnViewSettings.r.h:30
WHEEL_ACTION_PanZoom
Definition:
DgnViewSettings.r.h:54
MouseWheelSettings::m_zoomRatio
double m_zoomRatio
Definition:
DgnViewSettings.r.h:63
AdrawPrefs::showNegativeAngles
bool showNegativeAngles
Definition:
DgnViewSettings.r.h:88
AdrawPrefs
Definition:
DgnViewSettings.r.h:73
AccuSnapSettings::popupDelay
Int32 popupDelay
Definition:
DgnViewSettings.r.h:45
AdrawPrefs::unused4
UInt32 unused4
Definition:
DgnViewSettings.r.h:124
MouseWheelSettings::reserved2
int reserved2[10]
Definition:
DgnViewSettings.r.h:70
WHEEL_ACTION_None
Definition:
DgnViewSettings.r.h:58
AdrawPrefs::updateCurrentACS
bool updateCurrentACS
Definition:
DgnViewSettings.r.h:103
AdrawPrefs::unused1
UInt32 unused1
Definition:
DgnViewSettings.r.h:121
AdrawPrefs::defaultOrigin
bool defaultOrigin
Definition:
DgnViewSettings.r.h:91
Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.