Reported by Fedora team for gcc-13 and Andrew created patch here
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / timelinepane.h
1 #ifndef TIMELINEPANE_H
2 #define TIMELINEPANE_H
3
4 #include "maincursor.inc"
5 #include "mtimebar.inc"
6 #include "mwindow.inc"
7 #include "mwindowgui.inc"
8 #include "patchbay.inc"
9 #include "samplescroll.inc"
10 #include "track.inc"
11 #include "trackcanvas.inc"
12 #include "trackscroll.inc"
13
14
15
16 class TimelinePane
17 {
18 public:
19 // coordinates are relative to the main window
20         TimelinePane(MWindow *mwindow,
21                 int number,
22                 int x,
23                 int y,
24                 int w,
25                 int h);
26         ~TimelinePane();
27         void create_objects();
28         void resize_event(int x, int y, int w, int h);
29         void update(int scrollbars,
30                 int do_canvas,
31                 int timebar,
32                 int patchbay);
33         void activate();
34         void create_track_scroll(int view_x, int view_y, int view_w, int view_h);
35         void create_sample_scroll(int view_x, int view_y, int view_w, int view_h);
36         Track *over_track();
37         Track *over_patchbay();
38
39         MWindow *mwindow;
40         MWindowGUI *gui;
41
42         MainCursor *cursor;
43         PatchBay *patchbay;
44         MTimeBar *timebar;
45         SampleScroll *samplescroll;
46         TrackScroll *trackscroll;
47         TrackCanvas *canvas;
48 // number of the name
49         int number;
50 // total area including widgets
51         int x, y, w, h;
52 // area for drawing tracks, excluding the widgets
53         int view_x, view_y, view_w, view_h;
54 };
55
56
57
58 #endif
59
60