From 1fe4ffba72f56ccc6a89d1896142425c666887d4 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 27 Jan 2021 14:15:08 +0800 Subject: =?UTF-8?q?+UILib=20=E5=8F=8D=E7=BC=96=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/Assets/Scripts/UILib/IXUIInput.cs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Client/Assets/Scripts/UILib/IXUIInput.cs (limited to 'Client/Assets/Scripts/UILib/IXUIInput.cs') diff --git a/Client/Assets/Scripts/UILib/IXUIInput.cs b/Client/Assets/Scripts/UILib/IXUIInput.cs new file mode 100644 index 00000000..15d99e6b --- /dev/null +++ b/Client/Assets/Scripts/UILib/IXUIInput.cs @@ -0,0 +1,25 @@ +using System; + +namespace UILib +{ + public interface IXUIInput : IXUIObject + { + string GetText(); + + void SetText(string strText); + + void SetCharacterLimit(int num); + + void SetDefault(string strText); + + string GetDefault(); + + void RegisterKeyTriggeredEventHandler(InputKeyTriggeredEventHandler eventHandler); + + void RegisterSubmitEventHandler(InputSubmitEventHandler eventHandler); + + void RegisterChangeEventHandler(InputChangeEventHandler eventHandler); + + void selected(bool value); + } +} -- cgit v1.1-26-g67d0