9 #ifndef TurtleBrains_Color_hpp
10 #define TurtleBrains_Color_hpp
12 #include <turtle_brains/core/tb_types.hpp>
13 #include <turtle_brains/core/tb_dynamic_structure.hpp>
14 #include <turtle_brains/graphics/tb_color_palette.hpp>
56 explicit Color(
const float clampedAlpha,
const float clampedRed,
const float clampedGreen,
const float clampedBlue) noexcept;
86 void SetColor(
const float clampedAlpha,
const float clampedRed,
const float clampedGreen,
const float clampedBlue);
98 void SetColor(
const float clampedTween,
const Color& startColor,
const Color& finalColor);
tbCore::uint8 GetBlueByte(void) const
Give the GameScene and Entities something to display, Text, Sprites and AnimatedSprites help bring th...
tbCore::uint8 GetGreenByte(void) const
tbCore::uint32 GetColorARGB(void) const
Here is some information about the primary namespace.
Definition: tb_application_dialog.hpp:21
tbCore::uint32 GetColorABGR(void) const
bool SetColor(const tbCore::DynamicStructure &colorData, bool triggerErrorOnFailure=true)
Definition: tb_color.hpp:24
float GetAlpha(void) const
tbCore::uint8 GetAlphaByte(void) const
uint8_t uint8
Unsigned integer with a size of 8 bits. Supports values from 0 to 255.
Definition: tb_types.hpp:23
tbCore::uint8 GetRedByte(void) const
ColorPalette
Definition: tb_color_palette.hpp:21
Definition: tb_dynamic_structure.hpp:37
uint32_t uint32
Unsigned integer with a size of 32 bits. Supports values from 0 to 4294967295, (2^32 - 1)...
Definition: tb_types.hpp:28
float GetBlue(void) const
float GetGreen(void) const