LibGUI: Swap order of InputBox value and parent window args

This is now consistent with the other dialog classes.
This commit is contained in:
Linus Groh 2021-02-20 12:03:28 +01:00 committed by Andreas Kling
commit 3583b62ad3
Notes: sideshowbarker 2024-07-18 22:07:23 +09:00
14 changed files with 34 additions and 34 deletions

View file

@ -46,7 +46,7 @@ InputBox::~InputBox()
{
}
int InputBox::show(String& text_value, Window* parent_window, const StringView& prompt, const StringView& title)
int InputBox::show(Window* parent_window, String& text_value, const StringView& prompt, const StringView& title)
{
auto box = InputBox::construct(parent_window, prompt, title);
box->set_resizable(false);