Example #1
0
 private void DrawEvents(Rect trackRect, TimelineWindow.TimelineState state)
 {
     for (int num = 0; num != this.m_MarkerGuiCache.Count; num++)
     {
         TimelineMarkerGUI timelineMarkerGUI = this.m_MarkerGuiCache[num];
         timelineMarkerGUI.Draw(trackRect, state, base.drawer);
     }
 }
Example #2
0
        public override void Draw(Rect trackRect, bool trackRectChanged, WindowState state)
        {
            RegisterRect(state);

            topMarker.Draw(trackRect, trackRectChanged, state);

            if (m_MarkerGUIs.Count > 1)
            {
                GUI.Box(treeViewRect, String.Empty, DirectorStyles.Instance.markerMultiOverlay);
            }

            if (m_ManipulatedMarker != null)
            {
                m_ManipulatedMarker.Draw(trackRect, trackRectChanged, state);
            }
        }