Last change
on this file since 45 was
29,
checked in by landauf, 17 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
564 bytes
|
Line | |
---|
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; |
---|
Note: See
TracBrowser
for help on using the repository browser.