3#include "../Components/CTextInput.hpp"
4#include "../Components/CText.hpp"
5#include "../../Utils/Event.hpp"
7#include <UnityEngine/UI/Image.hpp>
8#include <UnityEngine/UI/Button.hpp>
14 using namespace UnityEngine;
15 using namespace UnityEngine::UI;
37 std::u16string m_PlaceHolder;
38 std::u16string m_Value;
80 void Button_OnClick();
Default CTextInput component.
void SetIsPassword_Impl(bool p_IsPassword)
Set is password.
_v::Event Init
On component creation.
void OnValueChanged_Impl(_v::CActionRef< std::u16string_view > p_Functor, bool p_Add=true)
On value changed event.
void SetInteractable_Impl(bool p_Interactable)
Set button interactable state.
void SetValue_Impl(std::u16string_view p_Value, bool p_Notify=true)
Set value.
void SetPlaceHolder_Impl(std::u16string_view p_PlaceHolder)
Set place holder.
std::u16string_view GetValue_Impl()
Get text.
void Init_DefaultCTextInput()
On component creation.
Default generic components implementation.
Various platform utils like Delegate/Action/Function/Event system.