mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibGUI: Make common locations configurable
This commit is contained in:
parent
fddcaafe5f
commit
91c210c39a
Notes:
sideshowbarker
2024-07-18 19:03:43 +09:00
Author: https://github.com/Dexesttp
Commit: 91c210c39a
Pull-request: https://github.com/SerenityOS/serenity/pull/6667
6 changed files with 132 additions and 23 deletions
|
@ -59,12 +59,18 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
struct CommonLocationButton {
|
||||
String path;
|
||||
Button& button;
|
||||
};
|
||||
|
||||
RefPtr<MultiView> m_view;
|
||||
NonnullRefPtr<FileSystemModel> m_model;
|
||||
LexicalPath m_selected_file;
|
||||
|
||||
RefPtr<TextBox> m_filename_textbox;
|
||||
RefPtr<TextBox> m_location_textbox;
|
||||
Vector<CommonLocationButton> m_common_location_buttons;
|
||||
RefPtr<Menu> m_context_menu;
|
||||
Mode m_mode { Mode::Open };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue