public TransitionLine(TransitionKind kind, TransitionGraphics drawer, int yPos, int height) { Kind = kind; ParentDrawer = drawer; OffsetY = yPos; Height = height; }
public TransitionTimeRuler(TransitionGraphics drawer, int height) { ParentDrawer = drawer; Height = height; CurFocusTimePixelWidth = -1; m_rcVertTimeLine.UseFrameRectLines = false; m_rcVertTimeLine.UseFrameRectProjectingEffect = false; if (ProjectDoc.Instance.HostGame != null) { m_TextSprite = new SpriteBatch(ProjectDoc.Instance.HostGame.GraphicsDevice); m_TextFont = ProjectDoc.Instance.HostGame.Content.Load <SpriteFont>("depend\\DefaultFont"); } }