📄 simpleinstrumentpanel.gls
字号:
BlinkRate: 2
LightingEnabled: 0
MaterialIndex: 0
Vertices: 8
-96.95593262 -96.95529938 0 255 255 255 255
96.95623779 -96.95529938 0 255 255 255 255
96.95623779 96.95750427 0 255 255 255 255
-96.95593262 96.95750427 0 255 255 255 255
-96.95593262 -96.95529938 0 255 255 255 255
96.95623779 -96.95529938 0 255 255 255 255
96.95623779 96.95750427 0 255 255 255 255
-96.95593262 96.95750427 0 255 255 255 255
TexturePoints:
-10.68151855 97.38288879 0
97.38235474 10.68202972 0
10.68209839 -97.38234711 0
-97.38232422 -10.6817627 0
PerformGroupCullCheck: 0
CullTestChildren: 1
AngleRange: 270
NumDetents: 3
DetentPositions: 3
0
50
100
PositionVal: 0
Continuous: 0
WhichObject: 0
StartAngle: 0
EmitDetentValEvent: 1
EmitPositionValEvent: 1
DetentVal: 1
PositionVal: 0
InitializationCode: self->DetentVal(2);
ObjectCallbackCode: #$STRING_START$#bool rval = false;
if (ObjectEventIs(ev, "DetentVal"))
{
_newPitch = (pitchGlsKnob->PositionVal()*0.9-45);
rval = true;
}
return rval;
#$STRING_END$#
ProtectionMode: PUBLIC
Locked: 0
IsStatic: 0
ObjectClass: GLPolygon
{
Name: pitch
Location: 349.9160767 102.8624115 0
Visible: 1
Pickable: 1
RotationOrigin: -0.002136230469 -0.02794647217 0
Rotation: 0 0 0
DynamicTranslate: 0 0 0
DynamicScale: 1 1 1
DCSMatrix: -0.7824596424 0.6227012992 0 0 -0.6227012992 -0.7824596424 0 0 0 0 1 0 0 0 0 1
LineWidth: 1
CullBackFace: 0
AlphaMode: ALPHA_MODE_256_LEVEL
AntiAlias: 0
DepthTest: 2
Color: 0 0 0 255
TextureIndex: 0
TextureRepeat: 1
TextureMap: TEXTURE_MAP_REPLACE
BlendColor: 255 255 255 255
TextureMinFilter: TEXTURE_FILTER_LINEAR
TextureMagFilter: TEXTURE_FILTER_LINEAR
PolygonMode: POLY_MODE_FILLED
PolygonEnd: POLY_CLOSED
PolygonOffset: 0
Shading: FLAT
LineStippleMultiplier: 1
LineStipplePattern: 65535
Blink: 0
BlinkRate: 2
LightingEnabled: 0
MaterialIndex: 0
Vertices: 4
96.95608521 11.02403259 0 134 13 13 255
-11.02243042 96.95787048 0 134 13 13 255
-96.95608521 -11.02242279 0 134 13 13 255
11.02429199 -96.95493317 0 134 13 13 255
TexturePoints:
-117.3830566 1026.376465 0
683.8495483 388.729187 0
46.2069397 -412.5053711 0
-755.0307617 225.1380157 0
TextureCoords: 4
0.2187719941 0.6455097198 0
0.3535379171 0.6455100775 0
0.3535377681 0.7802766562 0
0.2187715173 0.7802757025 0
Normals: 4
0 0 1
0 0 1
0 0 1
0 0 1
ProtectionMode: PUBLIC
Locked: 0
EndMarker: pitch
}
Preview: 1
EndMarker: pitchGlsKnob
}
ObjectClass: GlsKnob 1
{
Name: altitudeGlsKnob
Location: 504.0164185 103.9758759 0
Visible: 1
Pickable: 1
RotationOrigin: 0 0 0
Rotation: 0 0 0
DynamicTranslate: 0 0 0
DynamicScale: 1 1 1
DCSMatrix: -0.7268627426 0.6867827557 0 0 -0.6867827557 -0.7268627426 0 0 0 0 1 0 0 0 0 1
LineWidth: 1
CullBackFace: 0
AlphaMode: ALPHA_MODE_256_LEVEL
AntiAlias: 0
DepthTest: 2
Color: 0 0 0 255
TextureIndex: -1
TextureRepeat: 1
TextureMap: TEXTURE_MAP_REPLACE
BlendColor: 255 255 255 255
TextureMinFilter: TEXTURE_FILTER_LINEAR
TextureMagFilter: TEXTURE_FILTER_LINEAR
PolygonMode: POLY_MODE_OUTLINE
PolygonEnd: POLY_CLOSED
PolygonOffset: 0
Shading: FLAT
LineStippleMultiplier: 1
LineStipplePattern: 65535
Blink: 0
BlinkRate: 2
LightingEnabled: 0
MaterialIndex: 0
Vertices: 8
-97.52966309 -97.52958679 0 255 255 255 255
97.52960205 -97.52958679 0 255 255 255 255
97.52960205 97.53128052 0 255 255 255 255
-97.52966309 97.53128052 0 255 255 255 255
-97.52966309 -97.52958679 0 255 255 255 255
97.52960205 -97.52958679 0 255 255 255 255
97.52960205 97.53128052 0 255 255 255 255
-97.52966309 97.53128052 0 255 255 255 255
TexturePoints:
-2.776519775 97.92698669 0
97.92712402 2.776420593 0
2.776306152 -97.92746735 0
-97.92724609 -2.776756287 0
PerformGroupCullCheck: 0
CullTestChildren: 1
AngleRange: 270
NumDetents: 0
PositionVal: 0
Continuous: 0
WhichObject: 0
StartAngle: 0
EmitDetentValEvent: 1
EmitPositionValEvent: 1
DetentVal: 1
PositionVal: 0
ObjectCallbackCode: #$STRING_START$#bool rval = false;
if (ObjectEventIs(ev, "PositionVal"))
{
float pos = altitudeGlsKnob->PositionVal();
_newAltitude = pos * 10000.0f / 100.0f;
rval = true;
}
return rval;
#$STRING_END$#
ProtectionMode: PUBLIC
Locked: 0
IsStatic: 0
ObjectClass: GLPolygon
{
Name: altitude
Location: 504.0162964 103.9754333 0
Visible: 1
Pickable: 1
RotationOrigin: -0.004425048828 -0.02828979492 0
Rotation: 0 0 0
DynamicTranslate: 0 0 0
DynamicScale: 1 1 1
DCSMatrix: -0.7295726018 0.6839033694 0 0 -0.6839033694 -0.7295726018 0 0 0 0 1 0 0 0 0 1
LineWidth: 1
CullBackFace: 0
AlphaMode: ALPHA_MODE_256_LEVEL
AntiAlias: 0
DepthTest: 2
Color: 0 0 0 255
TextureIndex: 0
TextureRepeat: 1
TextureMap: TEXTURE_MAP_REPLACE
BlendColor: 255 255 255 255
TextureMinFilter: TEXTURE_FILTER_LINEAR
TextureMagFilter: TEXTURE_FILTER_LINEAR
PolygonMode: POLY_MODE_FILLED
PolygonEnd: POLY_CLOSED
PolygonOffset: 0
Shading: FLAT
LineStippleMultiplier: 1
LineStipplePattern: 65535
Blink: 0
BlinkRate: 2
LightingEnabled: 0
MaterialIndex: 0
Vertices: 4
97.52972412 3.151725769 0 134 13 13 255
-3.15057373 97.53172302 0 134 13 13 255
-97.52954102 -3.150978088 0 134 13 13 255
3.15234375 -97.52914429 0 134 13 13 255
TexturePoints:
-34.04724121 1032.506958 0
713.0298462 332.188446 0
12.7166748 -414.8907166 0
-734.3661499 285.4237976 0
TextureCoords: 4
0.2187719941 0.6455097198 0
0.3535379171 0.6455100775 0
0.3535377681 0.7802766562 0
0.2187715173 0.7802757025 0
Normals: 4
0 0 1
0 0 1
0 0 1
0 0 1
ProtectionMode: PUBLIC
Locked: 0
EndMarker: altitude
}
Preview: 1
EndMarker: altitudeGlsKnob
}
ObjectClass: GlsSwitch 1
{
Name: testValuesOnGlsSwitch
Location: 657.5 132.5 0
Visible: 1
Pickable: 1
RotationOrigin: 2.5 -12.5 0
Rotation: 0 0 0
DynamicTranslate: 0 0 0
DynamicScale: 1 1 1
DCSMatrix: 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
LineWidth: 1
CullBackFace: 0
AlphaMode: ALPHA_MODE_256_LEVEL
AntiAlias: 0
DepthTest: 2
Color: 0 0 0 255
TextureIndex: -1
TextureRepeat: 1
TextureMap: TEXTURE_MAP_REPLACE
BlendColor: 255 255 255 255
TextureMinFilter: TEXTURE_FILTER_LINEAR
TextureMagFilter: TEXTURE_FILTER_LINEAR
PolygonMode: POLY_MODE_OUTLINE
PolygonEnd: POLY_CLOSED
PolygonOffset: 0
Shading: FLAT
LineStippleMultiplier: 1
LineStipplePattern: 65535
Blink: 0
BlinkRate: 2
LightingEnabled: 0
MaterialIndex: 0
Vertices: 8
-20.5 -29.5 0 255 255 255 255
20.5 -29.5 0 255 255 255 255
20.5 29.5 0 255 255 255 255
-20.5 29.5 0 255 255 255 255
-20.5 -29.5 0 255 255 255 255
20.5 -29.5 0 255 255 255 255
20.5 29.5 0 255 255 255 255
-20.5 29.5 0 255 255 255 255
TexturePoints:
20.5 -29.5 0
-20.5 -29.5 0
-20.5 11.5 0
20.5 11.5 0
PerformGroupCullCheck: 0
CullTestChildren: 1
DetentVal: 2
WhichObjectBackground: 0
FirstDetentSnapback: 0
LastDetentSnapback: 0
EmitDetentValEvent: 1
DetentVal: 2
ObjectCallbackCode: #$STRING_START$#bool rval = false;
if (ObjectEventIs (ev, "DetentVal"))
{
Testing(self->DetentVal() == 1);
rval = true;
}
return rval;
#$STRING_END$#
ProtectionMode: PUBLIC
Locked: 0
IsStatic: 0
ObjectClass: GLPolygon
{
Name: testValuesOn
Location: 657 142 0
Visible: 1
Pickable: 1
RotationOrigin: 0 0 0
Rotation: 0 0 0
DynamicTranslate: 0 0 0
DynamicScale: 1 1 1
DCSMatrix: 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
LineWidth: 1
CullBackFace: 0
AlphaMode: ALPHA_MODE_256_LEVEL
AntiAlias: 0
DepthTest: 2
Color: 255 10 48 255
TextureIndex: 0
TextureRepeat: 1
TextureMap: TEXTURE_MAP_REPLACE
BlendColor: 255 255 255 255
TextureMinFilter: TEXTURE_FILTER_LINEAR
TextureMagFilter: TEXTURE_FILTER_LINEAR
PolygonMode: POLY_MODE_FILLED
PolygonEnd: POLY_CLOSED
PolygonOffset: 0
Shading: FLAT
LineStippleMultiplier: 1
LineStipplePattern: 65535
Blink: 0
BlinkRate: 2
LightingEnabled: 0
MaterialIndex: 0
Vertices: 4
-20 -20 0 249 255 244 255
20 -20 0 249 255 244 255
20 20 0 249 255 244 255
-20 20 0 249 255 244 255
TexturePoints:
836 -760 0
-188 -760 0
-188 263.9995117 0
836 263.9995117 0
TextureCoords: 4
0.1640625 0.7226566076 0
0.203125 0.7226566076 0
0.203125 0.7617191076 0
0.1640625 0.7617191076 0
Normals: 4
0 0 1
0 0 1
0 0 1
0 0 1
ProtectionMode: PUBLIC
Locked: 0
EndMarker: testValuesOn
}
ObjectClass: GLPolygon
{
Name: testValuesOff
Location: 658 123 0
Visible: 1
Pickable: 1
RotationOrigin: 0 0 0
Rotation: 0 0 0
DynamicTranslate: 0 0 0
DynamicScale: 1 1 1
DCSMatrix: 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
LineWidth: 1
CullBackFace: 0
AlphaMode: ALPHA_MODE_256_LEVEL
AntiAlias: 0
DepthTest: 2
Color: 255 10 48 255
TextureIndex: 0
TextureRepeat: 1
TextureMap: TEXTURE_MAP_REPLACE
BlendColor: 255 255 255 255
TextureMinFilter: TEXTURE_FILTER_LINEAR
TextureMagFilter: TEXTURE_FILTER_LINEAR
PolygonMode: POLY_MODE_FILLED
PolygonEnd: POLY_CLOSED
PolygonOffset: 0
Shading: FLAT
LineStippleMultiplier: 1
LineStipplePattern: 65535
Blink: 0
BlinkRate: 2
LightingEnabled: 0
MaterialIndex: 0
Vertices: 4
-20 -20 0 249 255 244 255
20 -20 0 249 255 244 255
20 20 0 249 255 244 255
-20 20 0 249 255 244 255
TexturePoints:
835 -699 0
-189 -699 0
-189 324.9995117 0
835 324.9995117 0
TextureCoords: 4
0.1650390625 0.6630862355 0
0.2041015625 0.6630862355 0
0.2041015625 0.7021487355 0
0.1650390625 0.7021487355 0
Normals: 4
0 0 1
0 0 1
0 0 1
0 0 1
ProtectionMode: PUBLIC
Locked: 0
EndMarker: testValuesOff
}
Preview: 1
EndMarker: testValuesOnGlsSwitch
}
ObjectClass: GlsSwitch 1
{
Name: mfdModeGlsSwitch
Location: 831.5 129.5 0
Visible: 1
Pickable: 1
RotationOrigin: 12.5 2.5 0
Rotation: 0 0 0
DynamicTranslate: 0 0 0
DynamicScale: 1 1 1
DCSMatrix: 6.123031769e-017 1 0 0 -1 6.123031769e-017 0 0 0 0 1 0 0 0 0 1
LineWidth: 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -