projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add configure without-thirdparty, without-libzmpeg, without-commercial
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
mwindowgui.C
diff --git
a/cinelerra-5.1/cinelerra/mwindowgui.C
b/cinelerra-5.1/cinelerra/mwindowgui.C
index d1aea0fc026c6c0440f12b839ce345bc74e5e654..9259dde163549c657a431c26b7a20304cdaf7ab2 100644
(file)
--- a/
cinelerra-5.1/cinelerra/mwindowgui.C
+++ b/
cinelerra-5.1/cinelerra/mwindowgui.C
@@
-356,7
+356,9
@@
void MWindowGUI::create_objects()
#ifdef HAVE_DVB
channel_info = new ChannelInfo(mwindow);
#endif
#ifdef HAVE_DVB
channel_info = new ChannelInfo(mwindow);
#endif
+#ifdef HAVE_COMMERCIAL
db_window = new DbWindow(mwindow);
db_window = new DbWindow(mwindow);
+#endif
swindow = new SWindow(mwindow);
if(debug) printf("MWindowGUI::create_objects %d\n", __LINE__);
swindow = new SWindow(mwindow);
if(debug) printf("MWindowGUI::create_objects %d\n", __LINE__);
@@
-1039,7
+1041,7
@@
int MWindowGUI::drag_stop()
}
}
-//printf("
TrackCanvas
::drag_stop %d %d\n", redraw, mwindow->session->current_operation);
+//printf("
MWindowGUI
::drag_stop %d %d\n", redraw, mwindow->session->current_operation);
if(redraw)
{
mwindow->edl->tracks->update_y_pixels(mwindow->theme);
if(redraw)
{
mwindow->edl->tracks->update_y_pixels(mwindow->theme);
@@
-1162,6
+1164,8
@@
int MWindowGUI::keypress_event()
int result = mbuttons->keypress_event();
if( result ) return result;
int result = mbuttons->keypress_event();
if( result ) return result;
+ Track *this_track = 0;
+
switch(get_keypress()) {
case 'e':
mwindow->toggle_editing_mode();
switch(get_keypress()) {
case 'e':
mwindow->toggle_editing_mode();
@@
-1263,7
+1267,6
@@
int MWindowGUI::keypress_event()
case TAB:
case LEFTTAB:
case TAB:
case LEFTTAB:
- Track *this_track = 0;
for( int i=0; i<TOTAL_PANES; ++i ) {
if( !pane[i] ) continue;
if( (this_track = pane[i]->over_track()) != 0 ) break;
for( int i=0; i<TOTAL_PANES; ++i ) {
if( !pane[i] ) continue;
if( (this_track = pane[i]->over_track()) != 0 ) break;
@@
-1287,10
+1290,25
@@
int MWindowGUI::keypress_event()
update(0, 1, 0, 0, 1, 0, 1);
unlock_window();
mwindow->cwindow->update(0, 1, 1);
update(0, 1, 0, 0, 1, 0, 1);
unlock_window();
mwindow->cwindow->update(0, 1, 1);
- lock_window("
TrackCanvas
::keypress_event 3");
+ lock_window("
MWindowGUI
::keypress_event 3");
result = 1;
break;
result = 1;
break;
+
+ case KEY_F1:
+ case KEY_F2:
+ case KEY_F3:
+ case KEY_F4:
+ case KEY_F5:
+ case KEY_F6:
+ case KEY_F7:
+ case KEY_F8:
+ case KEY_F9:
+ case KEY_F10:
+ case KEY_F11:
+ case KEY_F12:
+ resend_event(mwindow->cwindow->gui);
+ return 1;
}
// since things under cursor have changed...
}
// since things under cursor have changed...
@@
-2314,7
+2332,8
@@
int PaneButton::cursor_motion_event()
int PaneButton::button_release_event()
{
int PaneButton::button_release_event()
{
- mwindow->gui->stop_pane_drag();
+ if( get_buttonpress() != WHEEL_DOWN && get_buttonpress() != WHEEL_UP )
+ mwindow->gui->stop_pane_drag();
int result = BC_Button::button_release_event();
return result;
}
int result = BC_Button::button_release_event();
return result;
}