DirectOuput Framework R2
DirectOutput framework R2 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
AnalogAlpha.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.General.Analog
7
{
11
public
class
AnalogAlpha
12
{
16
public
int
Value
;
20
public
int
Alpha
;
21
22
27
public
AnalogAlpha
Clone()
28
{
29
return
new
AnalogAlpha
(Value, Alpha);
30
}
31
37
public
void
Set(
int
Value,
int
Alpha)
38
{
39
this.Value = Value;
40
this.Alpha = Alpha;
41
}
42
48
public
void
Set(
int
Value)
49
{
50
this.Value = Value;
51
this.Alpha = (Value != 0 ? 255 : 0);
52
}
53
59
public
AnalogAlpha
(
int
Value,
int
Alpha)
60
{
61
this.Value = Value;
62
this.Alpha = Alpha;
63
}
64
70
public
AnalogAlpha
(
int
Value)
71
{
72
this.Value = Value;
73
this.Alpha = (Value != 0 ? 255 : 0);
74
}
75
79
public
AnalogAlpha
() { }
80
81
}
82
}
DirectOutput
General
Analog
AnalogAlpha.cs
Generated on Sun Mar 29 2015 13:38:05 for DirectOuput Framework R2 by
1.8.3.1