F.E.I.S/Widgets.h

43 lines
624 B
C
Raw Normal View History

2017-08-17 19:10:53 +02:00
//
// Created by Syméon on 17/08/2017.
//
2019-01-14 21:43:56 +01:00
#pragma once
2017-08-17 19:10:53 +02:00
#include <SFML/Graphics.hpp>
#include <imgui.h>
2019-01-13 22:29:29 +01:00
#include <imgui-SFML.h>
2017-08-17 19:10:53 +02:00
#include "Marker.h"
2019-01-14 21:43:56 +01:00
namespace Widgets {
class Ecran_attente {
2017-08-17 19:10:53 +02:00
2019-01-14 21:43:56 +01:00
public:
2017-08-17 19:10:53 +02:00
2019-01-14 21:43:56 +01:00
Ecran_attente();
void render(sf::RenderWindow &window);
2017-08-17 19:10:53 +02:00
2019-01-14 21:43:56 +01:00
private:
2017-08-17 19:10:53 +02:00
2019-01-14 21:43:56 +01:00
sf::Color gris_de_fond;
sf::Texture tex_FEIS_logo;
sf::Sprite FEIS_logo;
2017-08-17 19:10:53 +02:00
2019-01-14 21:43:56 +01:00
};
2017-08-17 19:10:53 +02:00
2019-01-14 21:43:56 +01:00
class Playfield {
2017-08-17 19:10:53 +02:00
2019-01-14 21:43:56 +01:00
public:
2017-08-17 19:10:53 +02:00
2019-01-14 21:43:56 +01:00
Playfield();
2017-08-17 19:10:53 +02:00
2019-01-14 21:43:56 +01:00
Marker marker;
MarkerEndingState markerEndingState;
sf::Texture button;
sf::Texture button_pressed;
2017-08-17 19:10:53 +02:00
2019-01-14 21:43:56 +01:00
private:
std::string button_path = "assets/textures/edit_textures/game_front_edit_tex_1.tex.png";
};
}