Exciting new Alt/h help key provided by sge (Georgy) with many thanks!
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / histogram_bezier / bistogramwindow.C
index fd5429cda031efa2ca8562682a2025102ffc6d49..1cfed9a619e8eaaca2fdf24fc56f7d08bf7ade4f 100644 (file)
@@ -32,7 +32,7 @@
 #include <string.h>
 
 HistogramWindow::HistogramWindow(HistogramMain *plugin)
- : PluginClientWindow(plugin, xS(440), yS(480), xS(440), yS(480), 0)
+ : PluginClientWindow(plugin, xS(480), yS(480), xS(480), yS(480), 0)
 {
        this->plugin = plugin;
        max_picon = 0;
@@ -182,6 +182,8 @@ int HistogramWindow::keypress_event()
                        result = 1;
                }
        }
+       if( !result )
+               result = context_help_check_and_show();
        return result;
 }
 
@@ -830,7 +832,7 @@ void HistogramInputText::update()
 
 HistogramSmoothMode::HistogramSmoothMode(HistogramMain*plugin,
        HistogramWindow *gui, int x, int y)
- : BC_PopupMenu(x, y, xS(120), to_text(plugin->config.smoothMode), 1)
+ : BC_PopupMenu(x, y, xS(180), to_text(plugin->config.smoothMode), 1)
 {
        this->plugin = plugin;
        this->gui = gui;