diff options
Diffstat (limited to 'Client/Assets/Scripts/UILib/IXUIListItem.cs')
-rw-r--r-- | Client/Assets/Scripts/UILib/IXUIListItem.cs | 30 |
1 files changed, 30 insertions, 0 deletions
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();
+ }
+}
|