3 // Copyright (c) 2002 Iain Murray
5 #ifndef __CustomColours_h__
6 #define __CustomColours_h__
16 class Dasher::CCustomColours
{
18 CCustomColours(const CColourIO::ColourInfo
& ColourInfo
);
19 int GetNumColours() const {
22 int GetRed(int colour
) const {
25 int GetGreen(int colour
) const {
26 return m_Green
[colour
];
28 int GetBlue(int colour
) const {
29 return m_Blue
[colour
];
32 const CColourIO::ColourInfo
* m_ColourInfo
;
33 std::vector
<int> m_Red
;
34 std::vector
<int> m_Green
;
35 std::vector
<int> m_Blue
;
39 #endif /* #ifndef __CustomColours_h__ */