diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-02-25 22:24:39 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-02-25 22:24:39 +0000 |
| commit | 07789030fb4ec7d48d14c2cbee0b32f616d6d93d (patch) | |
| tree | 2792b02fbcd1e443708e369bc34d2dd7a9c13db4 /src/wx/timeline_labels_view.h | |
| parent | d2e8a683eed6fb82d4d255fffaf571ff27057132 (diff) | |
Basics of timeline track labels.
Diffstat (limited to 'src/wx/timeline_labels_view.h')
| -rw-r--r-- | src/wx/timeline_labels_view.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/wx/timeline_labels_view.h b/src/wx/timeline_labels_view.h new file mode 100644 index 000000000..96dd692af --- /dev/null +++ b/src/wx/timeline_labels_view.h @@ -0,0 +1,35 @@ +/* + Copyright (C) 2016 Carl Hetherington <cth@carlh.net> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#include "timeline_view.h" + +class wxWindow; + +class TimelineLabelsView : public TimelineView +{ +public: + TimelineLabelsView (Timeline& tl); + + dcpomatic::Rect<int> bbox () const; + +private: + void do_paint (wxGraphicsContext* gc, std::list<dcpomatic::Rect<int> > overlaps); + + int _width; +}; |
