]> sigrok.org Git - pulseview.git/blobdiff - pv/view/tracepalette.cpp
TraceView: Center traces more than once
[pulseview.git] / pv / view / tracepalette.cpp
index cefb952de2b99d9028f20c567bf2e49a2fc8cded..d4cfdd7bf8724906ce570c3b7eecc16bba1f4efd 100644 (file)
  * 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 St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#include "tracepalette.h"
+#include "tracepalette.hpp"
 
 namespace pv {
-namespace view {
+namespace views {
+namespace TraceView {
 
 const QColor TracePalette::Colours[Cols * Rows] = {
 
@@ -66,5 +66,6 @@ const QColor TracePalette::Colours[Cols * Rows] = {
        QColor(0xFF, 0xFF, 0xFF),       // White
 };
 
-} // view
-} // pv
+} // namespace TraceView
+} // namespace views
+} // namespace pv