[studio] Change FilePicker consturctor to take StringParams
This commit is contained in:
parent
8c3f9b290b
commit
626486e034
@ -237,8 +237,8 @@ class FilePicker {
|
|||||||
|
|
||||||
FilePicker(
|
FilePicker(
|
||||||
studio::StudioContext &sctx,
|
studio::StudioContext &sctx,
|
||||||
ox::String title,
|
ox::StringParam title,
|
||||||
ox::String fileExt,
|
ox::StringParam fileExt,
|
||||||
ImVec2 const&size = {}) noexcept;
|
ImVec2 const&size = {}) noexcept;
|
||||||
|
|
||||||
void draw() noexcept;
|
void draw() noexcept;
|
||||||
|
@ -164,8 +164,8 @@ bool ListBox(ox::CStringView name, ox::Span<const ox::String> const&list, size_t
|
|||||||
|
|
||||||
FilePicker::FilePicker(
|
FilePicker::FilePicker(
|
||||||
StudioContext &sctx,
|
StudioContext &sctx,
|
||||||
ox::String title,
|
ox::StringParam title,
|
||||||
ox::String fileExt,
|
ox::StringParam fileExt,
|
||||||
ImVec2 const&size) noexcept:
|
ImVec2 const&size) noexcept:
|
||||||
m_sctx(sctx),
|
m_sctx(sctx),
|
||||||
m_title(std::move(title)),
|
m_title(std::move(title)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user