src/widget/main_window/topbar/left.c File Referencesrc/widget/main_window/topbar/left.cTopbar left. #include "../../../../include/base.h"#include "../../../../include/signal.h"#include "../../../../include/widget.h"#include "../../../../include/fsm.h"Macros #define WANT_TO_START_ON_ANOTHER_PAGE 0default == SYNTH Functions const char * widget_get_btt_label_synth ()! WARNING ! THE LABELS OF THE PREVIOUS FOUR BUTTONS MUST ONLY BE DEFINED ONCE IN THE PROGRAMME (HERE), AND ONLY USING THE FOUR FOLLOWING FUNCTIONS: const char * widget_get_btt_label_state ()btt_state const char * widget_get_btt_label_rules ()btt_rules const char * widget_get_btt_label_data ()btt_data void window_design_topbar_left (GtkWidget *header_bar)The rules page consists of two half-pages in a GtkPaned widget : Detailed DescriptionTopbar left. Function Documentationwidget_get_btt_label_synth()widget_get_btt_label_synthleft.cleft.cwidget_get_btt_label_synthconst char * widget_get_btt_label_synth ( )! WARNING ! THE LABELS OF THE PREVIOUS FOUR BUTTONS MUST ONLY BE DEFINED ONCE IN THE PROGRAMME (HERE), AND ONLY USING THE FOUR FOLLOWING FUNCTIONS: btt_synth window_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