9 #ifndef _TurtleBrains_Color_h_
10 #define _TurtleBrains_Color_h_
12 #include "../core/tb_types.h"
55 Color(
const float clampedAlpha,
const float clampedRed,
const float clampedGreen,
const float clampedBlue);
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
static const Color kBlue
Definition: tb_color.h:31
static const Color kBlack
Definition: tb_color.h:28
static const Color kRed
Definition: tb_color.h:29
Contains all functions, classes and helpers related to game/application development written by Tim "B...
Definition: tb_application_dialog.h:21
tbCore::uint32 GetColorABGR(void) const
Definition: tb_color.h:23
static const Color kWhite
Definition: tb_color.h:27
void SetColor(const tbCore::uint32 &colorARGB)
static const Color kGreen
Definition: tb_color.h:30
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
uint32_t uint32
Unsigned integer with a size of 32 bits. Supports values from 0 to 4294967295, (2^32 - 1)...
Definition: tb_types.h:27
float GetBlue(void) const
float GetGreen(void) const