Olive
panels.h
1 /***
2 
3  Olive - Non-Linear Video Editor
4  Copyright (C) 2019 Olive Team
5 
6  This program is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 ***/
20 
21 #ifndef PANELS_H
22 #define PANELS_H
23 
24 #include "timeline.h"
25 #include "effectcontrols.h"
26 #include "viewer.h"
27 #include "grapheditor.h"
28 #include "project.h"
29 
30 class QWidget;
31 class QDockWidget;
32 class QScrollBar;
33 
34 extern Project* panel_project;
35 extern EffectControls* panel_effect_controls;
36 extern Viewer* panel_sequence_viewer;
37 extern Viewer* panel_footage_viewer;
38 extern Timeline* panel_timeline;
39 extern GraphEditor* panel_graph_editor;
40 
41 void update_ui(bool modified);
42 QDockWidget* get_focused_panel(bool force_hover = false);
43 void alloc_panels(QWidget *parent);
44 void free_panels();
45 void scroll_to_frame_internal(QScrollBar* bar, long frame, double zoom, int area_width);
46 
47 #endif // PANELS_H
Definition: timeline.h:91
Definition: effectcontrols.h:52
Definition: project.h:60
Definition: grapheditor.h:35
Definition: viewer.h:45