src/widget/main_window/topbar/left.c File Referencesrc/widget/main_window/topbar/left.cTopbar left design. #include "../../../../include/base.h"#include "../../../../include/signal.h"#include "../../../../include/widget.h"#include "../../../../include/fsm.h"Include dependency graph for left.c:Macros #define WANT_TO_START_ON_ANOTHER_PAGE 0default == SYNTH Functions const char * widget_get_btt_label_synth ()const char * widget_get_btt_label_state ()const char * widget_get_btt_label_rules ()const char * widget_get_btt_label_data ()void window_design_topbar_left (GtkWidget *header_bar)Detailed DescriptionTopbar left design. WarningTHE LABELS OF THE FOUR BUTTONS USED TO SELECT A PAGE IN THE MAIN WINDOW MUST ONLY BE DEFINED ONCE IN THE PROGRAM (in src/main_window/topbar/left/) AND ONLY USING ONE OF THE FOUR 'get_btt_label_' FUNCTIONS DEFINED IN THIS FILE Function Documentationwidget_get_btt_label_data()widget_get_btt_label_dataleft.cleft.cwidget_get_btt_label_dataconst char * widget_get_btt_label_data ( )Returns"data"
Here is the caller graph for this function:widget_get_btt_label_rules()widget_get_btt_label_rulesleft.cleft.cwidget_get_btt_label_rulesconst char * widget_get_btt_label_rules ( )Returns"rules"
Here is the caller graph for this function:widget_get_btt_label_state()widget_get_btt_label_stateleft.cleft.cwidget_get_btt_label_stateconst char * widget_get_btt_label_state ( )Returns"state"
Here is the caller graph for this function:widget_get_btt_label_synth()widget_get_btt_label_synthleft.cleft.cwidget_get_btt_label_synthconst char * widget_get_btt_label_synth ( )Returns"synth"
Here is the caller graph for this function: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
*header_bar
Here is the call graph for this function:
Here is the caller graph for this function: