1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:27:34 +00:00

LibGUI: Make common locations configurable

This commit is contained in:
DexesTTP 2021-04-26 18:18:57 +02:00 committed by Andreas Kling
parent fddcaafe5f
commit 91c210c39a
6 changed files with 132 additions and 23 deletions

View file

@ -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 };
};