projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Credit Andrew - updated makeappimage tools for newer distros, correct esound linking...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
vwindowgui.C
diff --git
a/cinelerra-5.1/cinelerra/vwindowgui.C
b/cinelerra-5.1/cinelerra/vwindowgui.C
index 1217633f0cdb4fd9a0896c15a97e07a1292094ed..9b7f6ca8cafced412de405ac6e856b3600ab6bde 100644
(file)
--- a/
cinelerra-5.1/cinelerra/vwindowgui.C
+++ b/
cinelerra-5.1/cinelerra/vwindowgui.C
@@
-79,6
+79,8
@@
VWindowGUI::VWindowGUI(MWindow *mwindow, VWindow *vwindow)
// source = 0;
strcpy(loaded_title, "");
highlighted = 0;
// source = 0;
strcpy(loaded_title, "");
highlighted = 0;
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Viewer Window");
}
VWindowGUI::~VWindowGUI()
}
VWindowGUI::~VWindowGUI()
@@
-95,7
+97,7
@@
VWindowGUI::~VWindowGUI()
void VWindowGUI::draw_wave()
{
void VWindowGUI::draw_wave()
{
- TransportCommand command;
+ TransportCommand command
(mwindow->preferences)
;
command.command = NORMAL_FWD;
command.get_edl()->copy_all(vwindow->get_edl());
command.change_type = CHANGE_ALL;
command.command = NORMAL_FWD;
command.get_edl()->copy_all(vwindow->get_edl());
command.change_type = CHANGE_ALL;
@@
-129,7
+131,7
@@
void VWindowGUI::draw_wave()
for( int i=channels; --i>=0; ) delete samples[i];
delete render_engine;
for( int i=channels; --i>=0; ) delete samples[i];
delete render_engine;
-
delete cache
;
+
cache->remove_user()
;
delete canvas->refresh_frame;
canvas->refresh_frame = vframe;
canvas->refresh(1);
delete canvas->refresh_frame;
canvas->refresh_frame = vframe;
canvas->refresh(1);
@@
-227,6
+229,7
@@
void VWindowGUI::create_objects()
mwindow->theme->vtransport_x,
mwindow->theme->vtransport_y);
transport->create_objects();
mwindow->theme->vtransport_x,
mwindow->theme->vtransport_y);
transport->create_objects();
+ transport->set_transport(LOOP_MODE);
//printf("VWindowGUI::create_objects 1\n");
// add_subwindow(fps_title = new BC_Title(mwindow->theme->vedit_x, y, ""));
//printf("VWindowGUI::create_objects 1\n");
// add_subwindow(fps_title = new BC_Title(mwindow->theme->vedit_x, y, ""));
@@
-381,6
+384,8
@@
int VWindowGUI::keypress_event()
}
if( !result )
result = transport->keypress_event();
}
if( !result )
result = transport->keypress_event();
+ if( !result )
+ result = context_help_check_and_show();
return result;
}
return result;
}
@@
-559,7
+564,8
@@
VWindowEditing::VWindowEditing(MWindow *mwindow, VWindow *vwindow)
0, // use_goto
1, // use_clk2play
1, // use_scope
0, // use_goto
1, // use_clk2play
1, // use_scope
- 0) // use_gang_tracks
+ 0, // use_gang_tracks
+ 0) // use_timecode
{
this->mwindow = mwindow;
this->vwindow = vwindow;
{
this->mwindow = mwindow;
this->vwindow = vwindow;