5#include <UnityEngine/CanvasGroup.hpp>
6#include <UnityEngine/Color.hpp>
7#include <UnityEngine/MonoBehaviour.hpp>
8#include <UnityEngine/RectTransform.hpp>
9#include <UnityEngine/Vector3.hpp>
18 using namespace UnityEngine;
28 using KeyboardCustomKey = std::tuple<std::u16string, _v::Delegate<void()>, std::u16string>;
29 using KeyboardCustomKeys = std::vector<KeyboardCustomKey>;
124 void ShowTooltip(_u::Vector3 p_Position, std::u16string_view p_Text);
Abstract base modal component.
IViewController interface.
void KeyboardModal_SetValue(std::u16string_view p_Value)
Set value.
void CloseMessageModal()
Close the message modal.
void ShowKeyboardModal(std::u16string_view p_Value, _v::CActionRef< std::u16string_view > p_Callback, _v::CActionRef<> p_CancelCallback=nullptr, KeyboardCustomKeys *p_CustomKeys=nullptr)
Show the keyboard modal.
void CloseDropdownModal()
Close the dropdown modal.
void ShowTooltip(_u::Vector3 p_Position, std::u16string_view p_Text)
Show the tooltip.
void ShowColorPickerModal(_u::Color p_Value, bool p_Opacity, _v::CActionRef< _u::Color > p_Callback, _v::CActionRef<> p_CancelCallback=nullptr)
Show color picker modal.
void ShowDropdownModal(const std::vector< std::u16string > &p_Options, std::u16string_view p_Selected, _v::CActionRef< std::u16string_view > p_Callback)
Show the dropdown modal.
void CloseConfirmationModal()
Close the confirmation modal.
void CloseModal(IModal *p_Modal)
Close a modal.
void CloseColorPickerModal()
Close color picker modal.
void CloseLoadingModal()
Close the loading modal.
void ShowConfirmationModal(std::u16string_view p_Message, _v::CActionRef< bool > p_Callback)
Show the confirmation modal.
void HideTooltip()
Hide the tooltip.
void __Activate(IScreen *p_Screen)
Activate.
void ShowModal(IModal *p_Modal)
Show a modal.
void ShowLoadingModal(std::u16string_view p_Message={}, bool p_CancelButton=false, _v::CActionRef<> p_CancelCallback=nullptr)
Show the loading modal.
void LoadingModal_SetMessage(std::u16string_view p_Message)
Set message.
void KeyboardModal_Append(std::u16string_view p_ToAppend)
Append.
void CloseAllModals()
Close all modals.
void CloseKeyboardModal()
Close the keyboard modal.
void __Deactivate()
Deactivate.
void ShowMessageModal(std::u16string_view p_Message, _v::CActionRef<> p_Callback=nullptr)
Show the message modal.
std::u16string_view KeyboardModal_GetValue()
Get current value.
User interface components, views, flow coordinator, builders and factories.
Various platform utils like Delegate/Action/Function/Event system.