DirectOutputR1
DirectOutput framework R1 for virtual pinball cabinets.
Go to:
Overview
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Properties
Events
Macros
Pages
AnalogAlphaValue.cs
Go to the documentation of this file.
1
using System;
2
using
System.Collections.Generic;
3
using
System.Linq;
4
using
System.Text;
5
6
namespace
DirectOutput.Cab.Toys.Layer
7
{
11
public
class
AnalogAlphaValue
12
{
16
public
int
Value
;
20
public
int
Alpha
;
21
27
public
void
Set(
int
Value,
int
Alpha)
28
{
29
this.Value = Value;
30
this.Alpha = Alpha;
31
}
32
38
public
void
Set(
int
Value)
39
{
40
this.Value = Value;
41
this.Alpha = (Value != 0 ? 255 : 0);
42
}
43
49
public
AnalogAlphaValue
(
int
Value,
int
Alpha)
50
{
51
this.Value = Value;
52
this.Alpha = Alpha;
53
}
54
60
public
AnalogAlphaValue
(
int
Value)
61
{
62
this.Value = Value;
63
this.Alpha = (Value != 0 ? 255 : 0);
64
}
65
69
public
AnalogAlphaValue
() { }
70
71
}
72
}
DirectOutput
Cab
Toys
Layer
AnalogAlphaValue.cs
Generated on Sat Mar 22 2014 14:40:44 for DirectOutputR1 by
1.8.3.1