summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UILib/IXUIWrapContent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/UILib/IXUIWrapContent.cs')
-rw-r--r--Client/Assets/Scripts/UILib/IXUIWrapContent.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/UILib/IXUIWrapContent.cs b/Client/Assets/Scripts/UILib/IXUIWrapContent.cs
new file mode 100644
index 00000000..80514d5b
--- /dev/null
+++ b/Client/Assets/Scripts/UILib/IXUIWrapContent.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace UILib
+{
+ public interface IXUIWrapContent : IXUIObject
+ {
+ bool enableBounds { get; set; }
+
+ Vector2 itemSize { get; set; }
+
+ int widthDimension { get; set; }
+
+ int heightDimensionMax { get; }
+
+ int maxItemCount { get; }
+
+ void SetContentCount(int num, bool fadeIn = false);
+
+ void SetOffset(int offset);
+
+ void RegisterItemUpdateEventHandler(WrapItemUpdateEventHandler eventHandler);
+
+ void RegisterItemInitEventHandler(WrapItemInitEventHandler eventHandler);
+
+ void InitContent();
+
+ void RefreshAllVisibleContents();
+
+ void GetActiveList(List<GameObject> ret);
+ }
+}