9 #ifndef _TurtleBrains_Color_h_
10 #define _TurtleBrains_Color_h_
12 #include "../core/tb_types.h"
45 explicit
Color(const
tbCore::uint32& colorARGB) noexcept;
58 explicit
Color(const
float clampedAlpha, const
float clampedRed, const
float clampedGreen, const
float clampedBlue) noexcept;
77 void SetColor(const
float clampedAlpha, const
float clampedRed, const
float clampedGreen, const
float clampedBlue);
89 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:34
static const Color kAlphaNone
Definition: tb_color.h:29
static const Color kBlack
Definition: tb_color.h:31
static const Color kRed
Definition: tb_color.h:32
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:30
void SetColor(const tbCore::uint32 &colorARGB)
static const Color kGreen
Definition: tb_color.h:33
static const Color kAlphaFull
Definition: tb_color.h:27
float GetAlpha(void) const
tbCore::uint8 GetAlphaByte(void) const
tbCore::uint8 GetRedByte(void) const
float GetBlue(void) const
static const Color kAlphaHalf
Definition: tb_color.h:28
float GetGreen(void) const
Contains core functionality for each component of the API.
Definition: tb_debug_logger.h:91