Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / levelwindowgui.C
index 22a0c173332e075d5ac6b8b4c1f88ca94f38f2a4..ac28f56f4fe68409064cd5613d9b8be0859bd6b9 100644 (file)
 
 LevelWindowGUI::LevelWindowGUI(MWindow *mwindow, LevelWindow *thread)
  : BC_Window(_(PROGRAM_NAME ": Levels"),
-       mwindow->session->lwindow_x,
-       mwindow->session->lwindow_y,
-       mwindow->session->lwindow_w,
-       mwindow->session->lwindow_h,
-       10,
-       10,
-       1,
-       0,
-       1)
+       mwindow->session->lwindow_x, mwindow->session->lwindow_y,
+       mwindow->session->lwindow_w, mwindow->session->lwindow_h,
+       xS(10), yS(10), 1, 0, 1)
 {
        this->thread = thread;
        this->mwindow = mwindow;
+// *** CONTEXT_HELP ***
+       context_help_set_keyword("Sound Level Meters Window");
 }
 
 LevelWindowGUI::~LevelWindowGUI()
@@ -127,7 +123,7 @@ int LevelWindowGUI::keypress_event()
                        return 1;
                }
        }
-       return 0;
+       return context_help_check_and_show();
 }
 
 int LevelWindowGUI::reset_over()