Ejemplo n.º 1
0
 /// <summary>
 /// A static constructor to initialize all of the necessary member fields.
 /// </summary>
 /// <remarks>
 /// You don't need to call this constructor. This constructor is called automatically when
 /// you access any of its properties or functions.
 /// </remarks>
 static Notifier()
 {
     notifications       = new List <NotifierMessage>();
     placement           = NotifierPlacement.TopRight;
     fadeoutInterporator = new Interpolator(255, 0, 1000, InterpolationMethod.Linear);
     fadeoutTime         = -1;
     font            = null;
     customLocation  = Vector2.Zero;
     customAppearDir = Vector2.Zero;
     color           = Color.Red;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// A static constructor to initialize all of the necessary member fields.
 /// </summary>
 /// <remarks>
 /// You don't need to call this constructor. This constructor is called automatically when
 /// you access any of its properties or functions.
 /// </remarks>
 static Notifier()
 {
     notifications = new List<NotifierMessage>();
     placement = NotifierPlacement.TopRight;
     fadeoutInterporator = new Interpolator(255, 0, 1000, InterpolationMethod.Linear);
     fadeoutTime = -1;
     font = null;
     customLocation = Vector2.Zero;
     customAppearDir = Vector2.Zero;
     color = Color.Red;
 }