summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UILib/IXUIScrollView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/UILib/IXUIScrollView.cs')
-rw-r--r--Client/Assets/Scripts/UILib/IXUIScrollView.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/UILib/IXUIScrollView.cs b/Client/Assets/Scripts/UILib/IXUIScrollView.cs
new file mode 100644
index 00000000..0d83961a
--- /dev/null
+++ b/Client/Assets/Scripts/UILib/IXUIScrollView.cs
@@ -0,0 +1,30 @@
+using System;
+using UnityEngine;
+
+namespace UILib
+{
+ public interface IXUIScrollView : IXUIObject
+ {
+ void UpdatePosition();
+
+ void ResetPosition();
+
+ void SetPosition(float pos);
+
+ void SetDragPositionX(float pos);
+
+ void SetCustomMovement(Vector2 movement);
+
+ void SetDragFinishDelegate(Delegate func);
+
+ void SetAutoMove(float from, float to, float moveSpeed);
+
+ bool RestrictWithinBounds(bool instant);
+
+ void MoveAbsolute(Vector3 absolute);
+
+ void MoveRelative(Vector3 relative);
+
+ void NeedRecalcBounds();
+ }
+}