diff --git a/data/image/bar graph vertical.png b/data/image/bar graph vertical.png new file mode 100644 index 0000000..59f7a1f Binary files /dev/null and b/data/image/bar graph vertical.png differ diff --git a/data/image/many bars graph horizontal.png b/data/image/many bars graph horizontal.png new file mode 100644 index 0000000..381500a Binary files /dev/null and b/data/image/many bars graph horizontal.png differ diff --git a/data/image/many bars graph vertical.png b/data/image/many bars graph vertical.png new file mode 100644 index 0000000..381500a Binary files /dev/null and b/data/image/many bars graph vertical.png differ diff --git a/data/image/many bars vertical.png b/data/image/many bars vertical.png new file mode 100644 index 0000000..188674e Binary files /dev/null and b/data/image/many bars vertical.png differ diff --git a/src/widget/data/dispatch.c b/src/widget/data/dispatch.c index a6c6126..ebbf50a 100644 --- a/src/widget/data/dispatch.c +++ b/src/widget/data/dispatch.c @@ -31,6 +31,9 @@ #include "../../../include/signal.h" #include "../../../include/widget.h" +// "graph", "chart" and "diagram" are ambiguous terms, sometimes used interchangeably. +// https://www.mathsisfun.com/data/data-graph.php + #define PARTITION_A 700 #define PARTITION_B 700 diff --git a/src/widget/rules/tree_tools/compare.c b/src/widget/rules/tree_tools/compare.c index fd604cf..c7d6ea0 100644 --- a/src/widget/rules/tree_tools/compare.c +++ b/src/widget/rules/tree_tools/compare.c @@ -184,7 +184,7 @@ void *widget_get_an_impression_of_what_a_rules_comparator_could_be(){ GtkBox *comparator = GTK_BOX (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2)); gtk_box_append (comparator, GTK_WIDGET (compare_left)); - gtk_box_append (comparator, GTK_WIDGET (compare_right)); +// gtk_box_append (comparator, GTK_WIDGET (compare_right)); return comparator; } diff --git a/src/widget/rules/tree_tools/pilot_box.c b/src/widget/rules/tree_tools/pilot_box.c index 0ad0192..fcd6fd6 100644 --- a/src/widget/rules/tree_tools/pilot_box.c +++ b/src/widget/rules/tree_tools/pilot_box.c @@ -51,8 +51,11 @@ void *widget_get_rules_tree_tools () { GtkBox *rules_tree_box = GTK_BOX (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0)); gtk_box_append (rules_tree_box, GTK_WIDGET (widget_get_user_rules_tree())); + gtk_box_append (rules_tree_box, GTK_WIDGET (gtk_picture_new_for_filename + ("/home/jean/Gem-Graph/gem-graph-client/data/image/many bars vertical.png"))); gtk_box_append (rules_tree_box, GTK_WIDGET (widget_get_rules_use ())); gtk_box_append (rules_tree_box, GTK_WIDGET (widget_get_an_impression_of_what_a_rules_comparator_could_be())); + gtk_widget_set_size_request (GTK_WIDGET (rules_tree_box), W_IMAGE_LOCAL * 7.4, 0);//H_IMAGE_LOCAL); return GTK_WIDGET (rules_tree_box); } diff --git a/src/widget/rules/tree_tools/usage.c b/src/widget/rules/tree_tools/usage.c index 94e02a2..d8fbf69 100644 --- a/src/widget/rules/tree_tools/usage.c +++ b/src/widget/rules/tree_tools/usage.c @@ -43,7 +43,7 @@ void *widget_get_rules_use () // GtkWidget *frame_rules_use = gtk_frame_new (" Rules use"); // gtk_frame_set_child (GTK_FRAME (frame_rules_use), GTK_WIDGET (scroll_rules_use)); - gtk_widget_set_size_request (GTK_WIDGET (scroll_rules_use), W_IMAGE_LOCAL * 2, 0);//H_IMAGE_LOCAL); + gtk_widget_set_size_request (GTK_WIDGET (scroll_rules_use), W_IMAGE_LOCAL * 1.5, 0);//H_IMAGE_LOCAL); gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (scroll_rules_use), GTK_WIDGET (rules_use_box));