![]() |
Blamite Game Engine - Blam (Core)
|
Namespace for things relating to global engine color data. More...
Functions | |
BLAM BlamColor | TranslateTextColorCode (char character) |
Converts a character to its equivalent color code for use in multi-colored text. More... | |
BLAM D2D1_COLOR_F | D2DColorFromBlamColor (BlamColor color) |
Converts a BlamColor object into its equivalent D2D1_COLOR_F object. More... | |
Namespace for things relating to global engine color data.
D2D1_COLOR_F Blam::Colors::D2DColorFromBlamColor | ( | BlamColor | color | ) |
Converts a BlamColor object into its equivalent D2D1_COLOR_F object.
color | - The color to convert. |
BlamColor Blam::Colors::TranslateTextColorCode | ( | char | character | ) |
Converts a character to its equivalent color code for use in multi-colored text.
character | - The character to check against. |
-1
if the character doesn't have an associated color.