2011-06-26 14:36:41 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace BizHawk.MultiClient
|
|
|
|
|
{
|
2011-06-26 16:39:48 +00:00
|
|
|
|
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;
|
2012-02-15 19:50:25 +00:00
|
|
|
|
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;
|
2011-06-26 16:39:48 +00:00
|
|
|
|
Color = 0xFFFFFFFF;
|
2011-06-26 14:36:41 +00:00
|
|
|
|
}
|
|
|
|
|
|
2011-06-26 16:39:48 +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;
|
2011-06-26 16:39:48 +00:00
|
|
|
|
Color = color;
|
2011-06-26 14:36:41 +00:00
|
|
|
|
}
|
2011-06-26 21:11:12 +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
|
|
|
|
}
|
|
|
|
|
}
|