[studio] Add combobox that will take string views
All checks were successful
Build / build (push) Successful in 3m47s

This commit is contained in:
2025-02-02 20:46:08 -06:00
parent 105a1e5559
commit 4728699585
2 changed files with 31 additions and 0 deletions

View File

@@ -225,6 +225,18 @@ PopupResponse PopupControlsOkCancel(
[[nodiscard]]
bool BeginPopup(turbine::Context &ctx, ox::CStringViewCR popupName, bool &show, ImVec2 const&sz = {285, 0});
/**
*
* @param lbl
* @param list
* @param selectedIdx
* @return true if new value selected, false otherwise
*/
bool ComboBox(
ox::CStringView lbl,
ox::SpanView<ox::CStringView> list,
size_t &selectedIdx) noexcept;
/**
*
* @param lbl