Esempio n. 1
0
 public TransitionLine(TransitionKind kind, TransitionGraphics drawer, int yPos, int height)
 {
     Kind         = kind;
     ParentDrawer = drawer;
     OffsetY      = yPos;
     Height       = height;
 }
Esempio n. 2
0
        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");
            }
        }