A color description.
More...
#include <otawa/display/display.h>
otawa::display::Color::Color |
( |
void |
| ) |
|
|
inline |
Build a color from its components.
- Parameters
-
red | Red component. |
green | Green component. |
blue | Blue component. |
References elm::_, and otawa::display::hex2().
otawa::display::Color::Color |
( |
t::uint32 |
color | ) |
|
otawa::display::Color::Color |
( |
string |
name | ) |
|
Create a color by its name.
- Parameters
-
References name.
const string& otawa::display::Color::asText |
( |
void |
| ) |
const |
|
inline |
string otawa::display::Color::text |
|
private |
The documentation for this class was generated from the following files: