LeviLamina
Loading...
Searching...
No Matches
ll::ui::CustomForm Class Reference

Public Types

using Result = ScreenSession::Result
using Callback = ScreenSession::Callback
using ButtonCallback = brstd::move_only_function<void()>

Public Member Functions

LLNDAPI CustomForm (Player &player, TextValue title)
 CustomForm (CustomForm const &)=delete
CustomForm & operator= (CustomForm const &)=delete
LLAPI CustomForm (CustomForm &&) noexcept
LLAPI CustomForm & operator= (CustomForm &&) noexcept
LLAPI CustomForm & button (TextValue label, ButtonCallback callback, ButtonOptions options={})
LLAPI CustomForm & closeButton ()
LLAPI CustomForm & divider (DividerOptions options={})
LLAPI CustomForm & dropdown (TextValue label, ObservableNumber value, std::vector< DropdownItemData > items, DropdownOptions options={})
LLAPI CustomForm & header (TextValue text, TextOptions options={})
LLAPI CustomForm & label (TextValue text, TextOptions options={})
LLAPI CustomForm & slider (TextValue label, ObservableNumber value, NumberValue min, NumberValue max, SliderOptions options={})
LLAPI CustomForm & spacer (SpacingOptions options={})
LLAPI CustomForm & textField (TextValue label, ObservableString text, TextFieldOptions options={})
LLAPI CustomForm & toggle (TextValue label, ObservableBoolean toggled, ToggleOptions options={})
LLNDAPI Expected show (Callback callback={})
LLNDAPI coro::CoroTask< Result > showAsync ()
LLNDAPI Expected close ()
LLNDAPI bool isShowing () const noexcept

The documentation for this class was generated from the following file: