src/widget/main_window/topbar/left.c File Referencesrc/widget/main_window/topbar/left.cTopbar left area. #include "../../../../include/base.h"#include "../../../../include/signal.h"#include "../../../../include/widget.h"#include "../../../../include/fsm.h"Macros #define YOU_WANT_TO_START_ON_ANOTHER_PAGE 0default == SYNTH Functions const char * widget_get_btt_label_synth ()synth const char * widget_get_btt_label_state ()state const char * widget_get_btt_label_rules ()rules const char * widget_get_btt_label_data ()data void window_design_topbar_left (GtkWidget *header_bar)The rules page consists of two half-pages in a GtkPaned widget : Detailed DescriptionTopbar left area. Function Documentationwindow_design_topbar_left()window_design_topbar_leftleft.cleft.cwindow_design_topbar_leftvoid window_design_topbar_left (GtkWidget * header_bar)The rules page consists of two half-pages in a GtkPaned widget : on the left, widgets for controlling or editing all the rules.on the right, widgets for controlling or editing the selected rule.As this division is clear and constant, it is simpler to place these two half-pages at the same hierarchical level as the other full pages like "synth", "state" or "results".So there is no: "widget_get_rules_page()" function. Instead, the distribution: "all rules" versus "the selected one" is moved to the file: "signal".It is in the function: static void switch_state_rules_data() { switch (fsm_get_state_rules_data()) { ... case (RULES) : GtkPaned *widget_all_vs_selected_one = ... break; ... }
Parameters