mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-05 06:20:44 +09:00
gsr-overlay > gsr-ui
This commit is contained in:
@@ -138,7 +138,7 @@ namespace gsr {
|
||||
|
||||
DIR *d = opendir(directory);
|
||||
if(!d) {
|
||||
fprintf(stderr, "gsr-overlay error: failed to open directory: %s, error: %s\n", directory, strerror(errno));
|
||||
fprintf(stderr, "gsr-ui error: failed to open directory: %s, error: %s\n", directory, strerror(errno));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -48,8 +48,9 @@ namespace gsr {
|
||||
std::unique_ptr<ComboBox> SettingsPage::create_record_area_box(const GsrInfo &gsr_info) {
|
||||
auto record_area_box = std::make_unique<ComboBox>(&get_theme().body_font);
|
||||
// TODO: Show options not supported but disable them
|
||||
if(gsr_info.supported_capture_options.window)
|
||||
record_area_box->add_item("Window", "window");
|
||||
// TODO: Enable this
|
||||
//if(gsr_info.supported_capture_options.window)
|
||||
// record_area_box->add_item("Window", "window");
|
||||
if(gsr_info.supported_capture_options.focused)
|
||||
record_area_box->add_item("Follow focused window", "focused");
|
||||
if(gsr_info.supported_capture_options.screen)
|
||||
|
||||
Reference in New Issue
Block a user