71 std::shared_ptr<Impl> impl;
74 using Result = ScreenSession::Result;
75 using Callback = ScreenSession::Callback;
78 LLNDAPI CustomForm(
Player& player, TextValue title);
81 CustomForm(CustomForm
const&) =
delete;
82 CustomForm& operator=(CustomForm
const&) =
delete;
83 LLAPI CustomForm(CustomForm&&)
noexcept;
84 LLAPI CustomForm& operator=(CustomForm&&)
noexcept;
86 LLAPI CustomForm& button(TextValue label, ButtonCallback callback,
ButtonOptions options = {});
87 LLAPI CustomForm& closeButton();
89 LLAPI CustomForm& dropdown(
92 std::vector<DropdownItemData> items,
95 LLAPI CustomForm& header(TextValue text,
TextOptions options = {});
96 LLAPI CustomForm& label(TextValue text,
TextOptions options = {});
103 LLNDAPI Expected<> show(Callback callback = {});
106 LLNDAPI Expected<> close();
107 LLNDAPI
bool isShowing()
const noexcept;
Definition CustomForm.h:53
Definition CustomForm.h:59