summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/UILib/IXUILabel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/UILib/IXUILabel.cs')
-rw-r--r--Client/Assets/Scripts/UILib/IXUILabel.cs50
1 files changed, 50 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/UILib/IXUILabel.cs b/Client/Assets/Scripts/UILib/IXUILabel.cs
new file mode 100644
index 00000000..b1ac2ba4
--- /dev/null
+++ b/Client/Assets/Scripts/UILib/IXUILabel.cs
@@ -0,0 +1,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);
+ }
+}