projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update msg/txt, add new ShelCmds docs
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
vtimebar.C
diff --git
a/cinelerra-5.1/cinelerra/vtimebar.C
b/cinelerra-5.1/cinelerra/vtimebar.C
index d1aa168d21bf09769862e52f497d72ae95fa7ede..4c9ca74e7fa2d96ae3294a63f056284f758189c7 100644
(file)
--- a/
cinelerra-5.1/cinelerra/vtimebar.C
+++ b/
cinelerra-5.1/cinelerra/vtimebar.C
@@
-68,12
+68,8
@@
void VTimeBar::draw_time()
void VTimeBar::select_label(double position)
{
EDL *edl = get_edl();
void VTimeBar::select_label(double position)
{
EDL *edl = get_edl();
-
- if(edl)
- {
- unlock_window();
- gui->transport->handle_transport(STOP, 1, 0, 0);
- lock_window();
+ if( edl ) {
+ gui->stop_transport("VTimeBar::select_label");
position = mwindow->edl->align_to_frame(position, 1);
position = mwindow->edl->align_to_frame(position, 1);
@@
-128,4
+124,8
@@
void VTimeBar::update_cursor()
update(1);
}
update(1);
}
+double VTimeBar::test_highlight()
+{
+ return gui->edit_panel->get_position();
+}