R-Type  2
Doom but in better
Loading...
Searching...
No Matches
Colour.hpp File Reference
#include <any>
#include <cstdint>
#include <algorithm>
#include <SFML/Graphics/Color.hpp>
#include "Log.hpp"
#include "LogMacros.hpp"
#include "Utilities.hpp"
#include "GUI/ECS/EntityNode.hpp"
Include dependency graph for Colour.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  GUI::ECS::Systems::Colour
 A class for representing and manipulating colors using RGBA components. Inherits from EntityNode to associate colors with entities in the ECS. More...
 

Namespaces

namespace  GUI
 
namespace  GUI::ECS
 
namespace  GUI::ECS::Systems
 

Functions

std::ostream & GUI::ECS::Systems::operator<< (std::ostream &os, const Colour &colour)
 Outputs the color's info to a stream.
 
const bool GUI::ECS::Systems::operator== (Colour left, Colour right)
 Compares two colors for equality.
 
const bool GUI::ECS::Systems::operator!= (Colour left, Colour right)
 Compares two colors for inequality.
 
const Colour GUI::ECS::Systems::operator+ (Colour left, Colour right)
 Adds two colors component-wise.
 
const Colour GUI::ECS::Systems::operator- (Colour left, Colour right)
 Subtracts two colors component-wise.
 
const Colour GUI::ECS::Systems::operator* (Colour left, Colour right)
 Multiplies two colors component-wise.
 
const ColourGUI::ECS::Systems::operator+= (Colour &left, Colour right)
 Adds another color to the current color component-wise.
 
const ColourGUI::ECS::Systems::operator-= (Colour &left, Colour right)
 Subtracts another color from the current color component-wise.
 
const ColourGUI::ECS::Systems::operator*= (Colour &left, Colour right)
 Multiplies another color with the current color component-wise.