X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmwindowgui.C;h=43b95cbbd57a9db35c247f0e425c5e40bd90b64c;hb=afc97a7cc7560ff3220da1f6f02e9bc372755e86;hp=1b00a0fb541dbbee3ebe88f2e87a64cc33a3aa3a;hpb=e396ec02ad307df3c4d6c9857cfb84f7764f3806;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/mwindowgui.C b/cinelerra-5.1/cinelerra/mwindowgui.C index 1b00a0fb..43b95cbb 100644 --- a/cinelerra-5.1/cinelerra/mwindowgui.C +++ b/cinelerra-5.1/cinelerra/mwindowgui.C @@ -128,6 +128,8 @@ MWindowGUI::MWindowGUI(MWindow *mwindow) cwindow_remote_handler = 0; record_remote_handler = 0; android_control = 0; +// *** CONTEXT_HELP *** + context_help_set_keyword("Program Window"); } @@ -1234,6 +1236,12 @@ int MWindowGUI::keypress_event() } break; + case '!': + if( !ctrl_down() || !shift_down() ) break; +/* code to execute is same as lines 383-401 in editpopup.C */ + result = 1; + break; + case UP: if( ctrl_down() && !alt_down() ) mwindow->expand_y(); @@ -1313,6 +1321,9 @@ int MWindowGUI::keypress_event() if(result) cursor_motion_event(); + if(!result) + result = context_help_check_and_show(); + return result; } @@ -2371,6 +2382,8 @@ FFMpegToggle::FFMpegToggle(MWindow *mwindow, MButtons *mbuttons, int x, int y) this->mwindow = mwindow; this->mbuttons = mbuttons; set_tooltip(get_value() ? FFMPEG_EARLY_TIP : FFMPEG_LATE_TIP); +// *** CONTEXT_HELP *** + context_help_set_keyword("FFmpeg Early Probe Explanation"); } FFMpegToggle::~FFMpegToggle() @@ -2395,6 +2408,8 @@ StackButton::StackButton(MWindow *mwindow, int x, int y) { this->mwindow = mwindow; set_tooltip(_("Close EDL")); +// *** CONTEXT_HELP *** + context_help_set_keyword("OpenEDL"); } int StackButton::handle_event() @@ -2425,6 +2440,8 @@ ProxyToggle::ProxyToggle(MWindow *mwindow, MButtons *mbuttons, int x, int y) scaler_images = mwindow->edl->session->proxy_use_scaler; set_tooltip(mwindow->edl->session->proxy_state!=PROXY_DISABLED ? _("Disable proxy") : _("Enable proxy")); +// *** CONTEXT_HELP *** + context_help_set_keyword("Proxy"); } void ProxyToggle::show() @@ -2478,6 +2495,6 @@ int ProxyToggle::keypress_event() return handle_event(); } } - return 0; + return context_help_check_and_show(); }