BizHawk/BizHawk.MultiClient/movie/Subtitle.cs

48 lines
784 B
C#
Raw Normal View History

2011-06-26 14:36:41 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BizHawk.MultiClient
{
public class Subtitle
2011-06-26 14:36:41 +00:00
{
public string Message;
public int Frame;
public int X;
public int Y;
public int Duration;
public uint Color;
2011-06-26 14:36:41 +00:00
public Subtitle()
{
Message = "";
X = 0;
Y = 0;
2011-07-04 17:01:17 +00:00
Duration = 120;
2011-06-26 14:36:41 +00:00
Frame = 0;
Color = 0xFFFFFFFF;
2011-06-26 14:36:41 +00:00
}
public Subtitle(string message, int x, int y, int dur, int frame, UInt32 color)
2011-06-26 14:36:41 +00:00
{
Message = message;
Frame = frame;
X = x;
Y = y;
Duration = dur;
Color = color;
2011-06-26 14:36:41 +00:00
}
public Subtitle(Subtitle s)
{
Message = s.Message;
Frame = s.Frame;
X = s.X;
Y = s.Y;
Duration = s.Duration;
Color = s.Color;
}
2011-06-26 14:36:41 +00:00
}
}