ui: display exposure/gain settings

This commit is contained in:
Pavel Machek
2024-09-06 11:43:41 +02:00
parent 9e4b760b77
commit 13264d6b1c
3 changed files with 17 additions and 7 deletions

View File

@@ -165,6 +165,12 @@ update_io_pipeline()
mp_io_pipeline_update_state(&new_state);
}
void
notify_auto_status(gchar *msg)
{
gtk_button_set_label(GTK_BUTTON(status_button), msg);
}
/*
* State transfer from Process -> Main
*/
@@ -236,7 +242,6 @@ update_state(const mp_state_main *new_state)
// as flash, so always enable this button
gtk_widget_set_visible(flash_button, true);
gtk_widget_set_visible(status_button, true);
gtk_button_set_label(GTK_BUTTON(status_button), "(st)");
return false;
}