9 #ifndef _TurtleBrains_Color_h_
10 #define _TurtleBrains_Color_h_
12 #include "../core/tb_types.h"
13 #include "tb_color_palette.h"
55 explicit Color(
const float clampedAlpha,
const float clampedRed,
const float clampedGreen,
const float clampedBlue) noexcept;
74 void SetColor(
const float clampedAlpha,
const float clampedRed,
const float clampedGreen,
const float clampedBlue);
86 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.h:21
tbCore::uint32 GetColorABGR(void) const
Definition: tb_color.h:23
void SetColor(const tbCore::uint32 &colorARGB)
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.h:23
tbCore::uint8 GetRedByte(void) const
ColorPalette
Definition: tb_color_palette.h:21
uint32_t uint32
Unsigned integer with a size of 32 bits. Supports values from 0 to 4294967295, (2^32 - 1)...
Definition: tb_types.h:28
float GetBlue(void) const
float GetGreen(void) const