WIP: cleaning a little bit more (it's easy, now)
This commit is contained in:
parent
f58358b551
commit
37fdaa7dfa
|
@ -49,9 +49,11 @@ void *widget_get_main_window();
|
||||||
void *widget_get_dialog_window();
|
void *widget_get_dialog_window();
|
||||||
void *widget_get_text_window();
|
void *widget_get_text_window();
|
||||||
|
|
||||||
void *get_btt_state();
|
// functions are in topbar
|
||||||
void *get_btt_rules();
|
|
||||||
void *get_btt_data();
|
void *widget_get_btt_state();
|
||||||
|
void *widget_get_btt_rules();
|
||||||
|
void *widget_get_btt_data();
|
||||||
|
|
||||||
void window_header_bar_left (GtkWidget *header_bar);
|
void window_header_bar_left (GtkWidget *header_bar);
|
||||||
void window_header_bar_right (GtkWidget *header_bar);
|
void window_header_bar_right (GtkWidget *header_bar);
|
||||||
|
@ -146,7 +148,7 @@ char *widget_get_text_address_any ();
|
||||||
// images in : data / image /
|
// images in : data / image /
|
||||||
// used by : widget / rules.c
|
// used by : widget / rules.c
|
||||||
|
|
||||||
void *get_an_impression_of_what_a_rules_comparator_could_be();
|
void *widget_get_an_impression_of_what_a_rules_comparator_could_be();
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* L A B O */
|
/* L A B O */
|
||||||
|
|
|
@ -33,5 +33,5 @@
|
||||||
|
|
||||||
void *widget_get_data_page()
|
void *widget_get_data_page()
|
||||||
{
|
{
|
||||||
widget_get_stock_page();
|
return widget_get_stock_page();
|
||||||
}
|
}
|
||||||
|
|
|
@ -144,7 +144,7 @@ static GtkWidget *peek(Stack *stack)
|
||||||
static void *push_images_onto_stack (Stack stack_b);
|
static void *push_images_onto_stack (Stack stack_b);
|
||||||
static GtkWidget *do_rtfd (Stack stack_b);
|
static GtkWidget *do_rtfd (Stack stack_b);
|
||||||
|
|
||||||
void *get_an_impression_of_what_a_rules_comparator_could_be(){
|
void *widget_get_an_impression_of_what_a_rules_comparator_could_be(){
|
||||||
|
|
||||||
GtkBox *compare_left = GTK_BOX (gtk_box_new (GTK_ORIENTATION_VERTICAL, 2));
|
GtkBox *compare_left = GTK_BOX (gtk_box_new (GTK_ORIENTATION_VERTICAL, 2));
|
||||||
gtk_widget_set_size_request (GTK_WIDGET (compare_left), W_IMAGE_ABSURD, H_IMAGE_ABSURD);
|
gtk_widget_set_size_request (GTK_WIDGET (compare_left), W_IMAGE_ABSURD, H_IMAGE_ABSURD);
|
||||||
|
|
|
@ -52,7 +52,7 @@ void *widget_get_rules_tree_tools ()
|
||||||
GtkBox *rules_tree_box = GTK_BOX (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0));
|
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 (widget_get_user_rules_tree()));
|
||||||
gtk_box_append (rules_tree_box, GTK_WIDGET (widget_get_rules_use ()));
|
gtk_box_append (rules_tree_box, GTK_WIDGET (widget_get_rules_use ()));
|
||||||
gtk_box_append (rules_tree_box, GTK_WIDGET (get_an_impression_of_what_a_rules_comparator_could_be()));
|
gtk_box_append (rules_tree_box, GTK_WIDGET (widget_get_an_impression_of_what_a_rules_comparator_could_be()));
|
||||||
return GTK_WIDGET (rules_tree_box);
|
return GTK_WIDGET (rules_tree_box);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ void widget_design_main_window (GtkWindow *main_window)
|
||||||
// it triggers <=> signal.on_toggle_state_rule_data (a btt_NAME)
|
// it triggers <=> signal.on_toggle_state_rule_data (a btt_NAME)
|
||||||
|
|
||||||
// gtk_check_button_set_active (GTK_CHECK_BUTTON (btt_STATE), TRUE);
|
// gtk_check_button_set_active (GTK_CHECK_BUTTON (btt_STATE), TRUE);
|
||||||
gtk_check_button_set_active (GTK_CHECK_BUTTON (get_btt_rules()), TRUE);
|
gtk_check_button_set_active (GTK_CHECK_BUTTON (widget_get_btt_rules()), TRUE);
|
||||||
|
|
||||||
gtk_window_present (GTK_WINDOW (main_window));
|
gtk_window_present (GTK_WINDOW (main_window));
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,9 +38,9 @@
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
static GtkButton *btt_STATE, *btt_RULES, *btt_DATA;
|
static GtkButton *btt_STATE, *btt_RULES, *btt_DATA;
|
||||||
void *get_btt_state () {return btt_STATE;}
|
void *widget_get_btt_state () {return btt_STATE;}
|
||||||
void *get_btt_rules () {return btt_RULES;}
|
void *widget_get_btt_rules () {return btt_RULES;}
|
||||||
void *get_btt_data () {return btt_DATA;}
|
void *widget_get_btt_data () {return btt_DATA;}
|
||||||
|
|
||||||
void window_header_bar_left (GtkWidget *header_bar)
|
void window_header_bar_left (GtkWidget *header_bar)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue