summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UILib/IXUIListItem.cs
blob: 7ad215bedc503499ec38fdf28117ba0b209a337a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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();
	}
}