Marcus Nilsson
be464c357a
LibGUI: Add allowed file types to FilePicker
...
This patch adds a ComboBox to `FilePicker` where the user can select
which file types to show, all files that doesn't have an
extension that's in the selected file type will be hidden.
When creating a FilePicker with `FilePicker::construct` or
`FilePicker::get_open_filepath`, allowed file types can be
specified as the last argument.
If no file types are provided then there will be no visual change in the
GUI.
'All Files' and 'Image Files' have shorthands with
`GUI::FileTypeFilter::all_files()` and
`GUI::FileTypeFilter::image_files()`, respectively.
2023-02-02 04:05:42 -07:00
..
2023-01-27 20:38:49 +00:00
2023-01-06 13:36:02 -07:00
2023-01-11 16:29:43 +00:00
2022-12-06 08:54:33 +01:00
2023-01-21 14:49:46 +01:00
2023-01-21 14:49:46 +01:00
2023-01-08 23:01:16 +01:00
2022-12-30 17:16:29 +01:00
2023-01-27 20:33:18 +00:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2023-01-26 20:24:37 +00:00
2023-01-12 13:56:11 +01:00
2023-01-05 12:09:35 +01:00
2022-12-26 09:27:19 +01:00
2022-12-28 22:32:21 -05:00
2022-12-07 11:48:27 +01:00
2023-01-21 14:49:46 +01:00
2022-12-10 14:28:38 +01:00
2023-01-12 11:25:51 +01:00
2022-12-07 11:48:27 +01:00
2023-01-26 20:24:37 +00:00
2023-01-03 15:25:02 +01:00
2022-12-06 08:54:33 +01:00
2023-01-26 20:24:37 +00:00
2023-01-21 14:49:46 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-26 20:24:37 +00:00
2023-01-17 00:36:01 +01:00
2022-11-29 15:39:13 +00:00
2022-11-19 11:04:11 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-26 20:24:37 +00:00
2022-12-09 00:25:30 +01:00
2022-12-30 17:16:29 +01:00
2022-12-30 17:16:29 +01:00
2023-01-26 20:24:37 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-06 13:36:02 -07:00
2023-01-26 20:24:37 +00:00
2023-01-26 09:57:14 -05:00
2023-01-09 09:45:26 +01:00
2022-11-19 11:04:11 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-11-19 16:04:42 +01:00
2022-11-16 17:23:56 +00:00
2023-01-26 20:24:37 +00:00
2022-12-06 08:54:33 +01:00
2022-12-16 10:14:20 +00:00
2022-12-06 08:54:33 +01:00
2023-01-07 14:39:30 +01:00
2022-12-06 08:54:33 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2023-01-26 20:24:37 +00:00
2022-12-06 08:54:33 +01:00
2023-02-02 04:05:42 -07:00
2023-02-02 04:05:42 -07:00
2023-02-02 04:05:42 -07:00
2023-02-02 04:05:42 -07:00
2023-02-02 04:05:42 -07:00
2023-02-02 04:05:42 -07:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-26 20:24:37 +00:00
2022-12-06 08:54:33 +01:00
2022-12-09 00:25:30 +01:00
2022-12-07 11:48:27 +01:00
2022-11-27 18:28:43 -07:00
2022-12-26 09:27:19 +01:00
2022-12-26 09:27:19 +01:00
2023-01-03 15:25:02 +01:00
2022-12-06 08:54:33 +01:00
2023-01-03 15:25:02 +01:00
2023-01-26 20:24:37 +00:00
2022-12-28 22:32:21 -05:00
2022-12-26 09:27:19 +01:00
2023-01-20 15:13:31 +00:00
2023-01-07 14:39:30 +01:00
2022-12-08 17:20:51 +01:00
2022-11-29 15:39:13 +00:00
2023-01-11 10:24:51 +01:00
2023-01-11 10:24:51 +01:00
2022-11-27 18:28:43 -07:00
2023-01-06 13:36:02 -07:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-26 09:57:14 -05:00
2022-12-06 08:54:33 +01:00
2023-01-26 20:24:37 +00:00
2022-12-06 08:54:33 +01:00
2023-01-26 20:24:37 +00:00
2022-12-06 08:54:33 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-10 14:28:38 +01:00
2022-12-07 11:48:27 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-10 14:28:38 +01:00
2022-12-10 14:28:38 +01:00
2023-01-26 20:24:37 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-11-06 10:25:08 -07:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2023-01-26 20:24:37 +00:00
2023-01-27 20:33:18 +00:00
2022-12-06 08:54:33 +01:00
2023-01-01 19:03:03 +01:00
2023-01-01 09:38:07 +00:00
2023-01-26 20:24:37 +00:00
2022-12-06 08:54:33 +01:00
2023-01-02 20:27:20 -05:00
2022-12-06 08:54:33 +01:00
2023-01-06 13:36:02 -07:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-03 15:25:02 +01:00
2022-12-06 08:54:33 +01:00
2022-10-11 17:48:48 +02:00
2022-10-11 17:48:48 +02:00
2022-12-10 11:49:24 +00:00
2022-12-06 08:54:33 +01:00
2023-01-07 14:39:30 +01:00
2023-01-07 14:39:30 +01:00
2022-12-28 22:32:21 -05:00
2022-12-26 09:27:19 +01:00
2023-01-06 13:36:02 -07:00
2022-12-15 21:00:24 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-09 17:32:03 +00:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-26 20:24:37 +00:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-03 15:25:02 +01:00
2022-12-16 09:58:51 +01:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2023-01-27 20:38:49 +00:00
2023-01-13 13:37:19 +01:00
2023-01-26 20:24:37 +00:00
2023-01-27 20:33:18 +00:00
2022-12-06 08:54:33 +01:00
2023-01-26 20:24:37 +00:00
2022-10-06 12:17:38 +01:00
2023-01-29 18:27:34 +00:00
2022-12-07 11:48:27 +01:00
2023-01-26 20:24:37 +00:00
2022-12-07 11:48:27 +01:00
2022-12-06 08:54:33 +01:00
2023-01-26 09:57:14 -05:00
2022-12-06 08:54:33 +01:00
2022-12-06 08:54:33 +01:00
2022-12-07 11:48:27 +01:00
2022-12-07 11:48:27 +01:00
2022-12-06 08:54:33 +01:00
2022-12-28 22:32:21 -05:00
2022-12-06 08:54:33 +01:00
2023-01-27 20:33:18 +00:00
2023-01-07 14:39:30 +01:00
2023-01-07 14:39:30 +01:00
2023-01-26 20:24:37 +00:00
2023-01-17 18:16:02 +01:00
2022-11-19 16:04:42 +01:00