add select all/none, layout shortcuts from all guis, docs tweaks + cv->gg
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / levelwindowgui.C
index 75999e1ae61e15835a9bf51af548153bda808751..22a0c173332e075d5ac6b8b4c1f88ca94f38f2a4 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "edl.h"
 #include "edlsession.h"
+#include "keys.h"
 #include "language.h"
 #include "levelwindow.h"
 #include "levelwindowgui.h"
@@ -112,15 +113,23 @@ int LevelWindowGUI::close_event()
 
 int LevelWindowGUI::keypress_event()
 {
-       if(get_keypress() == 'w' || get_keypress() == 'W')
-       {
+       switch( get_keypress() ) {
+       case 'w':
+       case 'W':
                close_event();
                return 1;
+       case KEY_F1:
+       case KEY_F2:
+       case KEY_F3:
+       case KEY_F4:
+               if( ctrl_down() && shift_down() ) {
+                       resend_event(mwindow->gui);
+                       return 1;
+               }
        }
        return 0;
 }
 
-
 int LevelWindowGUI::reset_over()
 {
        return 0;