| 343 | } |
| 344 | |
| 345 | uint32_t Color::toInteger() const |
| 346 | { |
| 347 | return (static_cast<int>(r) << 24) + (static_cast<int>(g) << 16) |
| 348 | + (static_cast<int>(b) << 8) + (a); |
| 349 | } |
| 350 | |
| 351 | void Color::fromHex(std::string hexCode) |
| 352 | { |
no outgoing calls
no test coverage detected