projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change label drag cursor
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
timebar.C
diff --git
a/cinelerra-5.1/cinelerra/timebar.C
b/cinelerra-5.1/cinelerra/timebar.C
index 755e8e4196e0a85779fd62199fed0c562da821c8..3f0780b732d86180fd2a036b7cb335feda6f986f 100644
(file)
--- a/
cinelerra-5.1/cinelerra/timebar.C
+++ b/
cinelerra-5.1/cinelerra/timebar.C
@@
-127,7
+127,7
@@
int LabelGUI::test_drag_label(int press)
if( press && get_value() ) {
timebar->current_operation = TIMEBAR_DRAG_LABEL;
timebar->drag_label = this;
if( press && get_value() ) {
timebar->current_operation = TIMEBAR_DRAG_LABEL;
timebar->drag_label = this;
- set_cursor(
MOV
E_CURSOR, 0, 0);
+ set_cursor(
HSEPARAT
E_CURSOR, 0, 0);
mwindow->undo->update_undo_before(_("drag label"), this);
return 1;
}
mwindow->undo->update_undo_before(_("drag label"), this);
return 1;
}
@@
-785,16
+785,6
@@
int TimeBar::cursor_motion_event()
//printf("TimeBar::cursor_motion_event %d %p %d\n", __LINE__, this, current_operation);
switch( current_operation )
{
//printf("TimeBar::cursor_motion_event %d %p %d\n", __LINE__, this, current_operation);
switch( current_operation )
{
- case TIMEBAR_DRAG:
- {
- update_cursor();
- handle_mwindow_drag();
- result = 1;
-//printf("TimeBar::cursor_motion_event %d %d\n", __LINE__, current_operation);
- break;
- }
-
-
case TIMEBAR_DRAG_LEFT:
case TIMEBAR_DRAG_RIGHT:
case TIMEBAR_DRAG_CENTER:
case TIMEBAR_DRAG_LEFT:
case TIMEBAR_DRAG_RIGHT:
case TIMEBAR_DRAG_CENTER:
@@
-818,7
+808,13
@@
int TimeBar::cursor_motion_event()
}
}
highlighted = 1;
}
}
highlighted = 1;
- redraw = 1;
+ redraw = 1; // fall thru
+
+ case TIMEBAR_DRAG:
+ update_cursor();
+ handle_mwindow_drag();
+ result = 1;
+//printf("TimeBar::cursor_motion_event %d %d\n", __LINE__, current_operation);
break;
default:
break;
default: