]> git.sesse.net Git - kdenlive/blobdiff - src/customruler.h
Reindent the codebase using 'linux' bracket placement.
[kdenlive] / src / customruler.h
index 76959fcd6eaa64a546e278d531b5bf42133276c1..70daf09e1689125c0c4ffa02fd0f42d657c4ff65 100644 (file)
@@ -1,3 +1,22 @@
+/***************************************************************************
+ *   Copyright (C) 2007 by Jean-Baptiste Mardelle (jb@kdenlive.org)        *
+ *                                                                         *
+ *   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.,                                       *
+ *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA          *
+ ***************************************************************************/
+
 #ifndef CUSTOMRULER_H
 #define CUSTOMRULER_H
 
@@ -8,7 +27,8 @@
 
 enum RULER_MOVE { RULER_CURSOR = 0, RULER_START = 1, RULER_MIDDLE = 2, RULER_END = 3 };
 
-class CustomRuler : public QWidget {
+class CustomRuler : public QWidget
+{
     Q_OBJECT
 
 public:
@@ -34,6 +54,8 @@ private:
     int m_zoneStart;
     int m_zoneEnd;
     int m_duration;
+    QColor m_bgColor;
+    QColor m_zoneColor;
     double m_textSpacing;
     double m_factor;
     double m_scale;