Exciting new Alt/h help key provided by sge (Georgy) with many thanks!
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / color3way / color3waywindow.C
index 78203e86936d0662e9e2a848dee7af1d5e4e6472..d55f2cd5eadc5e8367a347dec012f4623036bbea 100644 (file)
@@ -39,8 +39,8 @@ Color3WayWindow::Color3WayWindow(Color3WayMain *plugin)
  : PluginClientWindow(plugin,
        plugin->w,
        plugin->h,
-       680,
-       370,
+       xS(720),
+       yS(400),
        1)
 {
        this->plugin = plugin;
@@ -554,8 +554,8 @@ int Color3WayPoint::cursor_leave_event()
 int Color3WayPoint::keypress_event()
 {
        int result = 0;
-       if(!active) return 0;
-       if(ctrl_down() || shift_down()) return 0;
+       if(!active) return context_help_check_and_show();
+       if(ctrl_down() || shift_down()) return context_help_check_and_show();
 
        switch(get_keypress())
        {
@@ -584,6 +584,7 @@ int Color3WayPoint::keypress_event()
                plugin->send_configure_change();
                gui->update();
        }
+       else result = context_help_check_and_show();
        return result;
 }
 
@@ -677,7 +678,7 @@ Color3WaySliderClrSection::Color3WaySliderClrSection(Color3WayMain *plugin,
        int w,
        int clear,
        int section)
- : BC_GenericButton(x, y, w, _("⌂"))
+ : BC_Button(x, y, w, plugin->get_theme()->get_image_set("reset_button"))
 {
        this->plugin = plugin;
        this->gui = gui;