Had to rename sfml to sfmlbackend because on Windows the filesystem is case insensitive so include <SFML/*> was accidentally including _my_ <sfml/config.hpp> file.
This commit is contained in:
parent
f3f2e90cd2
commit
06ca57e5da
19 changed files with 38 additions and 36 deletions
15
include/sfmlbackend/color.hpp
Normal file
15
include/sfmlbackend/color.hpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#pragma once
|
||||
#include <SFML/Graphics/Color.hpp>
|
||||
|
||||
namespace ColorValue {
|
||||
constexpr const sf::Color BLACK{0, 0, 0};
|
||||
constexpr const sf::Color DARK_DARK{10, 10, 10};
|
||||
constexpr const sf::Color DARK_MID{30, 30, 30};
|
||||
constexpr const sf::Color DARK_LIGHT{60, 60, 60};
|
||||
constexpr const sf::Color MID{100, 100, 100};
|
||||
constexpr const sf::Color LIGHT_DARK{150, 150, 150};
|
||||
constexpr const sf::Color LIGHT_MID{200, 200, 200};
|
||||
constexpr const sf::Color LIGHT_LIGHT{230, 230, 230};
|
||||
constexpr const sf::Color WHITE{255, 255, 255};
|
||||
constexpr const sf::Color TRANSPARENT = sf::Color::Transparent;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue