X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fmbuttons.C;h=d40b726df60d970df309e5d4c14e986418c2face;hb=refs%2Fheads%2Fmaster;hp=5aa8677e820325a41dfc825d3e4233dd0fe1f095;hpb=620f70a943c1f47880ec68a908aa03bf463e741f;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/mbuttons.C b/cinelerra-5.1/cinelerra/mbuttons.C index 5aa8677e..cdafd1a7 100644 --- a/cinelerra-5.1/cinelerra/mbuttons.C +++ b/cinelerra-5.1/cinelerra/mbuttons.C @@ -2,6 +2,7 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -47,6 +48,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 +96,11 @@ int MButtons::keypress_event() result = transport->keypress_event(); } + if(!result) + { + result = context_help_check_and_show(); + } + return result; } @@ -142,7 +150,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; @@ -285,3 +296,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); +} +