slightly more footage viewer progress
This commit is contained in:
@@ -54,6 +54,10 @@ struct Media {
|
||||
|
||||
PreviewGenerator* preview_gen;
|
||||
|
||||
bool using_inout;
|
||||
long in;
|
||||
long out;
|
||||
|
||||
long get_length_in_frames(double frame_rate);
|
||||
MediaStream* get_stream_from_file_index(bool video, int index);
|
||||
void reset();
|
||||
|
||||
+7
-1
@@ -56,7 +56,13 @@ Viewer::~Viewer() {
|
||||
}
|
||||
|
||||
bool Viewer::is_focused() {
|
||||
return ui->headers->hasFocus() || ui->openGLWidget->hasFocus();
|
||||
return ui->headers->hasFocus()
|
||||
|| ui->openGLWidget->hasFocus()
|
||||
|| ui->pushButton->hasFocus()
|
||||
|| ui->pushButton_2->hasFocus()
|
||||
|| ui->pushButton_3->hasFocus()
|
||||
|| ui->pushButton_4->hasFocus()
|
||||
|| ui->pushButton_5->hasFocus();
|
||||
}
|
||||
|
||||
void Viewer::set_main_sequence() {
|
||||
|
||||
Reference in New Issue
Block a user