~ubuntu-branches/debian/sid/boost1.49/sid

« back to all changes in this revision

Viewing changes to libs/python/pyste/tests/vars.h

  • Committer: Package Import Robot
  • Author(s): Steve M. Robbins
  • Date: 2012-02-26 00:31:44 UTC
  • Revision ID: package-import@ubuntu.com-20120226003144-eaytp12cbf6ubpms
Tags: upstream-1.49.0
ImportĀ upstreamĀ versionĀ 1.49.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright Bruno da Silva de Oliveira 2003. Use, modification and 
 
2
 distribution is subject to the Boost Software License, Version 1.0.
 
3
 (See accompanying file LICENSE_1_0.txt or copy at 
 
4
 http://www.boost.org/LICENSE_1_0.txt) 
 
5
 */
 
6
 
 
7
struct Color
 
8
{
 
9
    Color(int r_ = 0, int g_ = 0, int b_ = 0):
 
10
        r(r_), g(g_), b(b_)
 
11
    {}        
 
12
    Color( const Color &c):
 
13
        r(c.r), g(c.g), b(c.b)
 
14
    {}
 
15
    int r;
 
16
    int g;
 
17
    int b;
 
18
};
 
19
 
 
20
extern const Color black;
 
21
extern const Color red;
 
22
extern const Color green;
 
23
extern const Color blue;
 
24
extern Color in_use;