public static void DrawProgress(Rect rect, Tweener.ITransition transition, float progress, string caption)
        {
            var sizeX = 10f;
            var sizeY = 10f;

            var progressSizeY = 2f;

            GUI.Box(rect, Texture2D.blackTexture);

            GUI.Label(rect, caption, TweenerEasePopupWindow.Styles.label);

            var progressRect = new Rect(rect.x, rect.y + rect.height - progressSizeY - 1f, rect.width * progress, progressSizeY);

            GUI.Box(progressRect, string.Empty, TweenerEasePopupWindow.Styles.progressBar);

            var boxRect = new Rect(transition.interpolate(rect.x, rect.width - sizeX, progress, 1f), rect.y + rect.height * 0.5f - sizeY * 0.5f, sizeX, sizeY);

            GUI.Box(boxRect, string.Empty, TweenerEasePopupWindow.Styles.sliderDot);
        }
 public Item(Ease.Type type)
 {
     this.type       = type;
     this.transition = Ease.GetByType(this.type);
 }