Andreas Kling
d9212bb2f4
LibGUI: Parent FilePicker toolbar buttons to the window
...
This makes the shortcuts actually work since unparented actions are
considered application-global, and we disable application-global
shortcuts while a modal dialog (like FilePicker) is up. This is pretty
counter-intuitive so I think there's room for API improvement here
but let's at least make Alt+Up work in FilePicker for now. :^)
2021-02-20 13:27:21 +01:00
Linus Groh
3583b62ad3
LibGUI: Swap order of InputBox value and parent window args
...
This is now consistent with the other dialog classes.
2021-02-20 12:19:46 +01:00
Andreas Kling
4f0be55770
LibGUI: Remove GUI::FilePicker::file_exists()
...
I have no idea why this existed but everyone should just use
Core::File::exists() instead. :^)
2021-02-19 23:46:54 +01:00
Andreas Kling
a8e0671344
LibGUI: Port GUI::FilePicker to GML and improve the layout
...
Also remove the image preview feature as it was rather ugly.
If we bring it back we should it should look good.
2021-02-19 23:03:47 +01:00
Nico Weber
97234a5b9d
LibGUI: Switch cancel/confirm button order on file picker dialog
...
Most (all?) other dialogs in the system have the cancel button on the
right, so make the file picker consistent with the rest.
2021-01-26 21:02:46 +01:00
Nico Weber
09b881797f
LibGUI: Tweak "Overwrite file?" dialog text to use one sentence per sentence
2021-01-26 21:02:46 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00