mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +00:00
LibGUI: Make common locations configurable
This commit is contained in:
parent
fddcaafe5f
commit
91c210c39a
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