Exciting new Alt/h help key provided by sge (Georgy) with many thanks!
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / mbuttons.C
index b863a3137782863416543c375b00a5ce1c7054fb..7c22885a5345e8ff2a040f3970c8d6301f5d1516 100644 (file)
@@ -47,6 +47,8 @@ MButtons::MButtons(MWindow *mwindow, MWindowGUI *gui)
 {
        this->gui = gui;
        this->mwindow = mwindow;
+// *** CONTEXT_HELP ***
+       context_help_set_keyword("Transport and Buttons Bar");
 }
 
 MButtons::~MButtons()
@@ -93,6 +95,11 @@ int MButtons::keypress_event()
                result = transport->keypress_event();
        }
 
+       if(!result)
+       {
+               result = context_help_check_and_show();
+       }
+
        return result;
 }
 
@@ -143,7 +150,9 @@ MainEditing::MainEditing(MWindow *mwindow, MButtons *mbuttons, int x, int y)
                mwindow->has_commercials(), // use_commerical
                1, // use_goto
                0, // use_clk2play
-               0) // use_scope
+               0, // use_scope
+               1, // use_gang_tracks
+               1) // use_timecode
 {
        this->mwindow = mwindow;
        this->mbuttons = mbuttons;
@@ -286,3 +295,8 @@ void MainEditing::panel_set_labels_follow_edits(int v)
         mwindow->set_labels_follow_edits(v);
 }
 
+void MainEditing::panel_set_gang_tracks(int v)
+{
+       mwindow->set_gang_tracks(v);
+}
+