|
@@ -72,6 +72,7 @@ GtkWidget *iso_button;
|
|
GtkWidget *shutter_button;
|
|
GtkWidget *shutter_button;
|
|
GtkWidget *focus_button;
|
|
GtkWidget *focus_button;
|
|
GtkWidget *flash_button;
|
|
GtkWidget *flash_button;
|
|
|
|
+GtkWidget *status_button;
|
|
|
|
|
|
LfbEvent *capture_event;
|
|
LfbEvent *capture_event;
|
|
static GtkWidget *movie;
|
|
static GtkWidget *movie;
|
|
@@ -234,6 +235,8 @@ update_state(const mp_state_main *new_state)
|
|
// Even if there's no flash led/v4l, it'll just default to using the screen
|
|
// Even if there's no flash led/v4l, it'll just default to using the screen
|
|
// as flash, so always enable this button
|
|
// as flash, so always enable this button
|
|
gtk_widget_set_visible(flash_button, true);
|
|
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;
|
|
return false;
|
|
}
|
|
}
|
|
@@ -1316,6 +1319,8 @@ activate(GtkApplication *app, gpointer data)
|
|
GTK_WIDGET(gtk_builder_get_object(builder, "focus-controls-button"));
|
|
GTK_WIDGET(gtk_builder_get_object(builder, "focus-controls-button"));
|
|
flash_button =
|
|
flash_button =
|
|
GTK_WIDGET(gtk_builder_get_object(builder, "flash-controls-button"));
|
|
GTK_WIDGET(gtk_builder_get_object(builder, "flash-controls-button"));
|
|
|
|
+ status_button =
|
|
|
|
+ GTK_WIDGET(gtk_builder_get_object(builder, "status-button"));
|
|
GtkWidget *setting_dng_button =
|
|
GtkWidget *setting_dng_button =
|
|
GTK_WIDGET(gtk_builder_get_object(builder, "setting-raw"));
|
|
GTK_WIDGET(gtk_builder_get_object(builder, "setting-raw"));
|
|
GtkWidget *setting_postprocessor_combo =
|
|
GtkWidget *setting_postprocessor_combo =
|