using liberationSans instead of arial
This commit is contained in:
parent
0d49399240
commit
7dd46556c8
@ -9,9 +9,9 @@
|
|||||||
|
|
||||||
Display::Display (const std::vector<Point> &pts)
|
Display::Display (const std::vector<Point> &pts)
|
||||||
{
|
{
|
||||||
if (!m_font.loadFromFile("arial.ttf"))
|
if (!m_font.loadFromFile("LiberationSans-Regular.ttf"))
|
||||||
{
|
{
|
||||||
std::cerr << "font arial.ttf could not be loaded!" << std::endl;
|
std::cerr << "font LiberationSans-Regular.ttf could not be loaded!" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_textStatus.setPosition(OFFSET, HEIGHT - 2*OFFSET);
|
m_textStatus.setPosition(OFFSET, HEIGHT - 2*OFFSET);
|
||||||
@ -210,7 +210,6 @@ void Display::update ()
|
|||||||
if (pt.getFillColor() == sf::Color::Green)
|
if (pt.getFillColor() == sf::Color::Green)
|
||||||
{
|
{
|
||||||
std::cout << "distance to green point " << pt.getPosition().x << ", " << pt.getPosition().y << ": " << distance << std::endl;
|
std::cout << "distance to green point " << pt.getPosition().x << ", " << pt.getPosition().y << ": " << distance << std::endl;
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (pt.getFillColor() == sf::Color::Red)
|
else if (pt.getFillColor() == sf::Color::Red)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user