banque images

This commit is contained in:
Jean Sirmai 2024-05-12 08:15:54 +02:00
parent 43a136489b
commit 37c72095b9
Signed by: jean
GPG Key ID: FB3115C340E057E3
16 changed files with 20 additions and 1 deletions

BIN
contain.o

Binary file not shown.

View File

@ -56,6 +56,18 @@ GtkWidget *get_image_DOPAMINE(){
return image;
}
GtkWidget *get_image_ATP(){
GtkWidget *image = gtk_picture_new_for_filename ("/home/jean/01/Gtk4/Getting_Started_with_GTK/image/ATP.png");
gtk_widget_set_size_request (GTK_WIDGET (image), W_IMAGE_LOCAL, H_IMAGE_LOCAL);
return image;
}
GtkWidget *get_image_AMP(){
GtkWidget *image = gtk_picture_new_for_filename ("/home/jean/01/Gtk4/Getting_Started_with_GTK/image/AMP.png");
gtk_widget_set_size_request (GTK_WIDGET (image), W_IMAGE_LOCAL, H_IMAGE_LOCAL);
return image;
}
//------------------------------------------------------------------------------
// TODO cliquer sur "RUN" --> affiche "STOP" (et inversement)

View File

@ -17,6 +17,8 @@ GtkWidget *get_image_HISTIDINE();
GtkWidget *get_image_HISTAMINE();
GtkWidget *get_image_PHENYLALANINE();
GtkWidget *get_image_DOPAMINE();
GtkWidget *get_image_ATP();
GtkWidget *get_image_AMP();
GtkProgressBar *get_ELAPSED_TIME_ProgressBar();
GtkBox *get_RUN_STOP_box();

BIN
display.o

Binary file not shown.

7
hot.c
View File

@ -25,11 +25,16 @@ GtkWidget *get_selected_rules_vpaned_new(){
gtk_box_append (up_box, GTK_WIDGET (get_image_GLUTAMATE()));
gtk_box_append (up_box, GTK_WIDGET(gtk_separator_new (GTK_ORIENTATION_VERTICAL)));
gtk_box_append (up_box, GTK_WIDGET (get_image_GLUTAMINE()));
/*
GtkBox *bottom_box = GTK_BOX(gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2));
gtk_box_append (bottom_box, GTK_WIDGET (get_image_PHENYLALANINE()));
gtk_box_append (bottom_box, GTK_WIDGET(gtk_separator_new (GTK_ORIENTATION_VERTICAL)));
gtk_box_append (bottom_box, GTK_WIDGET (get_image_DOPAMINE()));
*/
GtkBox *bottom_box = GTK_BOX(gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2));
gtk_box_append (bottom_box, GTK_WIDGET (get_image_ATP()));
gtk_box_append (bottom_box, GTK_WIDGET(gtk_separator_new (GTK_ORIENTATION_VERTICAL)));
gtk_box_append (bottom_box, GTK_WIDGET (get_image_AMP()));
gtk_paned_set_start_child (V_selected_1_vs_2, GTK_WIDGET (up_box));
gtk_paned_set_end_child (V_selected_1_vs_2, GTK_WIDGET (bottom_box));

BIN
hot.o

Binary file not shown.

BIN
image/AMP.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 KiB

BIN
image/ATP.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

BIN
image/hb (1).png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 KiB

BIN
image/hb (2).png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 586 KiB

BIN
image/hb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 KiB

BIN
image/hemoglobine 2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 KiB

BIN
image/insuline Zn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 KiB

BIN
image/insuline.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

BIN
myprogram

Binary file not shown.