- Unison::Video::Color to_unison_color() const
- {
- Unison::Video::Color color;
- color.red = (unsigned char) (red * 0xff);
- color.green = (unsigned char) (green * 0xff);
- color.blue =(unsigned char) (blue * 0xff);
- color.alpha = (unsigned char) (alpha * 0xff);
- return color;
- }
-