Ejemplo n.º 1
0
        /// <summary>
        /// Associates this display with the specified cursor.
        /// </summary>
        public void LinkCursor(BeatsCursor cursor)
        {
            this.UnlinkCursor();
            if (cursor == null)
            {
                return;
            }

            this.cursor = cursor;
            cursor.IsOnHitBar.BindAndTrigger(OnHitBarHover);
        }
 /// <summary>
 /// Event called on new cursor input.
 /// </summary>
 private void OnCursorPress(BeatsCursor cursor)
 {
     ShowPrimary(cursor.Input, cursor);
 }