diff options
author | chai <chaifix@163.com> | 2021-01-27 14:15:08 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-27 14:15:08 +0800 |
commit | 1fe4ffba72f56ccc6a89d1896142425c666887d4 (patch) | |
tree | e469b6fea9454938d3a26444982be4b25de37103 /Client/Assets/Scripts/UILib/IXUIButton.cs | |
parent | 310103405588040c7bc777c802273556343cae92 (diff) |
+UILib 反编译
Diffstat (limited to 'Client/Assets/Scripts/UILib/IXUIButton.cs')
-rw-r--r-- | Client/Assets/Scripts/UILib/IXUIButton.cs | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/UILib/IXUIButton.cs b/Client/Assets/Scripts/UILib/IXUIButton.cs new file mode 100644 index 00000000..9aa19106 --- /dev/null +++ b/Client/Assets/Scripts/UILib/IXUIButton.cs @@ -0,0 +1,45 @@ +using System;
+
+namespace UILib
+{
+ public interface IXUIButton : IXUIObject, IXUICD
+ {
+ int spriteWidth { get; }
+
+ int spriteHeight { get; }
+
+ int spriteDepth { get; set; }
+
+ void SetCaption(string strText);
+
+ void SetEnable(bool bEnable, bool withcollider = false);
+
+ void SetGrey(bool bGrey);
+
+ void SetAlpha(float f);
+
+ void CloseScrollView();
+
+ void RegisterClickEventHandler(ButtonClickEventHandler eventHandler);
+
+ void RegisterPressEventHandler(ButtonPressEventHandler eventHandler);
+
+ void RegisterDragEventHandler(ButtonDragEventHandler eventHandler);
+
+ void SetSpriteWithPrefix(string prefix);
+
+ void SetAudioClip(string name);
+
+ void SetSprites(string normal, string hover, string press);
+
+ ButtonClickEventHandler GetClickEventHandler();
+
+ ButtonPressEventHandler GetPressEventHandler();
+
+ void ResetState();
+
+ void ResetPanel();
+
+ void SetUnavailableCD(int cd);
+ }
+}
|