26 lines
604 B
C#
26 lines
604 B
C#
using System.Windows.Forms;
|
|
using JD.Serialization;
|
|
|
|
namespace JD.Timeline.View.ClipView.Widgets
|
|
{
|
|
class TextClipWidget : ClipWithActorWidget
|
|
{
|
|
public TextClipWidget(TextClip model)
|
|
: base(model)
|
|
{
|
|
}
|
|
|
|
public new TextClip Model
|
|
{
|
|
get { return (TextClip)base.Model; }
|
|
}
|
|
|
|
public override bool Finite { get { return false; } }
|
|
|
|
protected override void OnPaint(PaintEventArgs e)
|
|
{
|
|
base.OnPaint(e);
|
|
DrawText(e.Graphics, "", $"\"{Model.LocalizationText}\"", 1);
|
|
}
|
|
}
|
|
}
|