lemon/color.cc
changeset 128 7cd965d2257f
child 209 765619b7cbb2
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lemon/color.cc	Thu Apr 03 11:10:49 2008 +0100
     1.3 @@ -0,0 +1,44 @@
     1.4 +/* -*- C++ -*-
     1.5 + *
     1.6 + * This file is a part of LEMON, a generic C++ optimization library
     1.7 + *
     1.8 + * Copyright (C) 2003-2008
     1.9 + * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
    1.10 + * (Egervary Research Group on Combinatorial Optimization, EGRES).
    1.11 + *
    1.12 + * Permission to use, modify and distribute this software is granted
    1.13 + * provided that this copyright notice appears in all copies. For
    1.14 + * precise terms see the accompanying LICENSE file.
    1.15 + *
    1.16 + * This software is provided "AS IS" with no warranty of any kind,
    1.17 + * express or implied, and with no claim as to its suitability for any
    1.18 + * purpose.
    1.19 + *
    1.20 + */
    1.21 +
    1.22 +///\file
    1.23 +///\brief Color constants
    1.24 +
    1.25 +#include<lemon/color.h>
    1.26 +
    1.27 +namespace lemon {
    1.28 +
    1.29 +  const Color WHITE(1,1,1);
    1.30 +  
    1.31 +  const Color BLACK(0,0,0);
    1.32 +  const Color RED(1,0,0);
    1.33 +  const Color GREEN(0,1,0);
    1.34 +  const Color BLUE(0,0,1);
    1.35 +  const Color YELLOW(1,1,0);
    1.36 +  const Color MAGENTA(1,0,1);
    1.37 +  const Color CYAN(0,1,1);
    1.38 +
    1.39 +  const Color GREY(0,0,0);
    1.40 +  const Color DARK_RED(.5,0,0);
    1.41 +  const Color DARK_GREEN(0,.5,0);
    1.42 +  const Color DARK_BLUE(0,0,.5);
    1.43 +  const Color DARK_YELLOW(.5,.5,0);
    1.44 +  const Color DARK_MAGENTA(.5,0,.5);
    1.45 +  const Color DARK_CYAN(0,.5,.5);
    1.46 +    
    1.47 +} //namespace lemon