X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmbuttons.C;h=7c22885a5345e8ff2a040f3970c8d6301f5d1516;hb=83b70dd60863377cb281e6be5206304e10373e30;hp=de1bd7a3eeadbe1140cfd88e5ff99f6b5d21d303;hpb=0c7b0aebb5e9f85f4eb7abb69b800d8d37b30b0f;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/mbuttons.C b/cinelerra-5.1/cinelerra/mbuttons.C index de1bd7a3..7c22885a 100644 --- a/cinelerra-5.1/cinelerra/mbuttons.C +++ b/cinelerra-5.1/cinelerra/mbuttons.C @@ -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; } @@ -142,7 +149,10 @@ MainEditing::MainEditing(MWindow *mwindow, MButtons *mbuttons, int x, int y) 1, // use_cut mwindow->has_commercials(), // use_commerical 1, // use_goto - 0) // use_clk2play + 0, // use_clk2play + 0, // use_scope + 1, // use_gang_tracks + 1) // use_timecode { this->mwindow = mwindow; this->mbuttons = mbuttons; @@ -275,8 +285,18 @@ void MainEditing::panel_set_auto_keyframes(int v) mwindow->set_auto_keyframes(v); } +void MainEditing::panel_set_span_keyframes(int v) +{ + mwindow->set_span_keyframes(v); +} + 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); +} +