From 1fe4ffba72f56ccc6a89d1896142425c666887d4 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 27 Jan 2021 14:15:08 +0800 Subject: =?UTF-8?q?+UILib=20=E5=8F=8D=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/Assets/Scripts/UILib/IXUIWrapContent.cs | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Client/Assets/Scripts/UILib/IXUIWrapContent.cs (limited to 'Client/Assets/Scripts/UILib/IXUIWrapContent.cs') 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 ret); + } +} -- cgit v1.1-26-g67d0