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/IXUIListItem.cs | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Client/Assets/Scripts/UILib/IXUIListItem.cs (limited to 'Client/Assets/Scripts/UILib/IXUIListItem.cs') diff --git a/Client/Assets/Scripts/UILib/IXUIListItem.cs b/Client/Assets/Scripts/UILib/IXUIListItem.cs new file mode 100644 index 00000000..7ad215be --- /dev/null +++ b/Client/Assets/Scripts/UILib/IXUIListItem.cs @@ -0,0 +1,30 @@ +using System; +using UnityEngine; + +namespace UILib +{ + public interface IXUIListItem : IXUIObject + { + uint id { get; set; } + + int Index { get; } + + void SetIconSprite(string strSprite); + + void SetIconSprite(string strSprite, string strAtlas); + + void SetIconTexture(string strTexture); + + void SetTip(string strTip); + + void SetColor(Color color); + + bool SetText(uint unIndex, string strText); + + void SetEnable(bool bEnable); + + void SetEnableSelect(bool bEnable); + + void Clear(); + } +} -- cgit v1.1-26-g67d0