3#include "../Components/CDropdown.hpp"
4#include "../Components/CIconButton.hpp"
5#include "../Components/CText.hpp"
6#include "../../Utils/Event.hpp"
8#include <UnityEngine/UI/Image.hpp>
9#include <UnityEngine/UI/Button.hpp>
15 using namespace UnityEngine;
16 using namespace UnityEngine::UI;
38 std::vector<std::u16string> m_Options;
77 void Button_OnClick();
Default CDropdown component.
void SetInteractable_Impl(bool p_Interactable)
Set interactable state.
void SetValue_Impl(std::u16string_view p_Value, bool p_Notify=true)
Set value.
void SetOptions_Impl(const std::vector< std::u16string > &p_Options)
Set available options.
_v::Event Init
On component creation.
std::u16string_view GetValue_Impl()
Get value.
void Init_DefaultCDropdown()
On component creation.
void OnValueChanged_Impl(_v::CActionRef< int, std::u16string_view > p_Functor, bool p_Add=true)
On value changed event.
Default generic components implementation.
Various platform utils like Delegate/Action/Function/Event system.