From 1a1c8e71fcd14858f595029f089b2d4a00202b32 Mon Sep 17 00:00:00 2001
From: ogi <Administrator@S-OGI-PC>
Date: Fri, 05 Dec 2025 09:24:16 +0900
Subject: [PATCH] プロジェクトファイルを追加。

---
 HotelPms.Share.Windows/Animations/Animations.cs |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 53 insertions(+), 0 deletions(-)

diff --git a/HotelPms.Share.Windows/Animations/Animations.cs b/HotelPms.Share.Windows/Animations/Animations.cs
new file mode 100644
index 0000000..cf05849
--- /dev/null
+++ b/HotelPms.Share.Windows/Animations/Animations.cs
@@ -0,0 +1,53 @@
+using System;
+
+namespace HotelPms.Share.Windows.Animations
+{
+    enum AnimationType
+    {
+        Linear,
+        EaseInOut,
+        EaseOut,
+        CustomQuadratic
+    }
+
+    static class AnimationLinear
+    {
+        public static double CalculateProgress(double progress)
+        {
+            return progress;
+        }
+    }
+
+    static class AnimationEaseInOut
+    {
+        public static double PI = Math.PI;
+        public static double PI_HALF = Math.PI / 2;
+
+        public static double CalculateProgress(double progress)
+        {
+            return EaseInOut(progress);
+        }
+
+        private static double EaseInOut(double s)
+        {
+            return s - Math.Sin(s * 2 * PI) / (2 * PI);
+        }
+    }
+
+    public static class AnimationEaseOut
+    {
+        public static double CalculateProgress(double progress)
+        {
+            return -1 * progress * (progress - 2);
+        }
+    }
+
+    public static class AnimationCustomQuadratic
+    {
+        public static double CalculateProgress(double progress)
+        {
+            var kickoff = 0.6;
+            return 1 - Math.Cos((Math.Max(progress, kickoff) - kickoff) * Math.PI / (2 - (2 * kickoff)));
+        }
+    }
+}

--
Gitblit v1.10.0