OBJECTS_and_SITUATIONS boxes OK
This commit is contained in:
parent
d3e050641d
commit
9d1298ca7a
|
@ -32,7 +32,7 @@
|
|||
#include <gtk-4.0/gtk/gtk.h>
|
||||
|
||||
#define n_objects 32
|
||||
#define n_situations 64
|
||||
#define n_situations 128
|
||||
|
||||
/******************************************************************************/
|
||||
/* W I N D O W S */
|
||||
|
|
|
@ -105,7 +105,8 @@ static GtkBox *rec_OBJECTS_box()
|
|||
GtkScrollbar *reset_scrollbar = GTK_SCROLLBAR (gtk_scrollbar_new (GTK_ORIENTATION_VERTICAL, reset_value));
|
||||
gtk_box_append (objects_box, gtk_label_new (" ")); // AD HOC (pour "centrer")
|
||||
gtk_box_append (objects_box, GTK_WIDGET (reset_scrollbar));
|
||||
GtkWidget *btt_reset = gtk_toggle_button_new_with_label ("r\ne\ns\ne\nt");
|
||||
GtkWidget *btt_reset = gtk_toggle_button_new ();
|
||||
gtk_button_set_icon_name (GTK_BUTTON (btt_reset), "view-refresh-symbolic");
|
||||
g_signal_connect (btt_reset, "toggled", G_CALLBACK (on_OBJECTS_box_DO_RESET), reset_scrollbar);
|
||||
gtk_box_append (objects_box, btt_reset);
|
||||
|
||||
|
@ -148,7 +149,8 @@ static GtkBox *rec_SITUATIONS_box()
|
|||
GtkScrollbar *reset_scrollbar = GTK_SCROLLBAR (gtk_scrollbar_new (GTK_ORIENTATION_VERTICAL, reset_value));
|
||||
gtk_box_append (situations_box, gtk_label_new (" "));
|
||||
gtk_box_append (situations_box, GTK_WIDGET (reset_scrollbar));
|
||||
GtkWidget *btt_reset = gtk_toggle_button_new_with_label ("r\ne\ns\ne\nt");
|
||||
GtkWidget *btt_reset = gtk_toggle_button_new ();
|
||||
gtk_button_set_icon_name (GTK_BUTTON (btt_reset), "view-refresh-symbolic");
|
||||
g_signal_connect (btt_reset, "toggled", G_CALLBACK (on_SITUATIONS_box_DO_RESET), reset_scrollbar);
|
||||
gtk_box_append (situations_box, btt_reset);
|
||||
|
||||
|
|
Loading…
Reference in New Issue