summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UILib/IXUILabel.cs
blob: b1ac2ba4efec7d18e4a52e0cb46178a0dae48829 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
using System;
using UnityEngine;

namespace UILib
{
	public interface IXUILabel : IXUIObject
	{
		float AlphaVar { get; }

		float Alpha { get; set; }

		int spriteWidth { get; set; }

		int spriteHeight { get; }

		int spriteDepth { get; set; }

		int fontSize { get; set; }

		Color GetColor();

		string GetText();

		void SetText(string strText);

		void SetRootAsUIPanel(bool bFlag);

		void SetColor(Color c);

		void SetEffectColor(Color c);

		void SetGradient(bool bEnable, Color top, Color bottom);

		void ToggleGradient(bool bEnable);

		void SetEnabled(bool bEnabled);

		Vector2 GetPrintSize();

		void SetDepthOffset(int d);

		void MakePixelPerfect();

		void RegisterLabelClickEventHandler(LabelClickEventHandler eventHandler);

		void SetIdentity(int i);

		bool HasIdentityChanged(int i);
	}
}