~librecad-dev/librecad/librecad

« back to all changes in this revision

Viewing changes to librecad/src/lib/engine/rs_color.cpp

  • Committer: Scott Howard
  • Date: 2014-02-21 19:07:55 UTC
  • Revision ID: showard@debian.org-20140221190755-csjax9wb146hgdq4
first commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <iostream>
 
2
#include "rs_color.h"
 
3
 
 
4
std::ostream& operator << (std::ostream& os, const RS_Color& c) {
 
5
       os << " color: " << c.name().toLatin1().data()
 
6
       << " flags: " << (c.getFlag(RS2::FlagByLayer) ? "RS2::FlagByLayer " : "")
 
7
       << (c.getFlag(RS2::FlagByBlock) ? "RS2::FlagByBlock " : "");
 
8
       return os;
 
9
}