diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-24 19:13:35 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-24 19:13:35 +0100 |
commit | 3468554eb3ddeac3cbf079ad6ebf3c8a39efc2f2 (patch) | |
tree | a0dbccbb6926716f180300afe8fa1e36d3fd3d2a /include/gui | |
parent | 734280f3042a1b2d08764599d1decdee2d4d3132 (diff) |
Allow running the ui on Wayland through XWayland
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/SettingsPage.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/gui/SettingsPage.hpp b/include/gui/SettingsPage.hpp index 29f6c1a..f18ff65 100644 --- a/include/gui/SettingsPage.hpp +++ b/include/gui/SettingsPage.hpp @@ -84,20 +84,20 @@ namespace gsr { std::unique_ptr<Widget> create_settings(const GsrInfo &gsr_info); void add_widgets(const GsrInfo &gsr_info); - void add_page_specific_widgets(); + void add_page_specific_widgets(const GsrInfo &gsr_info); std::unique_ptr<List> create_save_directory(const char *label); std::unique_ptr<ComboBox> create_container_box(); std::unique_ptr<List> create_container_section(); std::unique_ptr<Entry> create_replay_time_entry(); std::unique_ptr<List> create_replay_time(); - std::unique_ptr<RadioButton> create_start_replay_automatically(); - std::unique_ptr<CheckBox> create_save_replay_in_game_folder(); + std::unique_ptr<RadioButton> create_start_replay_automatically(const GsrInfo &gsr_info); + std::unique_ptr<CheckBox> create_save_replay_in_game_folder(const GsrInfo &gsr_info); std::unique_ptr<Label> create_estimated_file_size(); void update_estimated_file_size(); - std::unique_ptr<CheckBox> create_save_recording_in_game_folder(); - void add_replay_widgets(); - void add_record_widgets(); + std::unique_ptr<CheckBox> create_save_recording_in_game_folder(const GsrInfo &gsr_info); + void add_replay_widgets(const GsrInfo &gsr_info); + void add_record_widgets(const GsrInfo &gsr_info); std::unique_ptr<ComboBox> create_streaming_service_box(); std::unique_ptr<List> create_streaming_service_section(); @@ -105,7 +105,7 @@ namespace gsr { std::unique_ptr<List> create_stream_url_section(); std::unique_ptr<ComboBox> create_stream_container_box(); std::unique_ptr<List> create_stream_container_section(); - void add_stream_widgets(); + void add_stream_widgets(const GsrInfo &gsr_info); void load_audio_tracks(const RecordOptions &record_options, const GsrInfo &gsr_info); void load_common(RecordOptions &record_options, const GsrInfo &gsr_info); |