Déplacement des widgets dans le dossier pricipal

This commit is contained in:
Mattéo Delabre 2016-04-10 14:07:21 +02:00
parent a02b1db1aa
commit f07e6dcf24
8 changed files with 7 additions and 7 deletions

2
CMakeLists.txt vendored
View File

@ -3,7 +3,7 @@ project(ptf)
# Inclusion des fichiers d'en-tête et de source
include_directories(include)
file(GLOB SOURCES "src/*.cpp" "src/*.c" "src/util/*.cpp")
file(GLOB SOURCES "src/*.cpp")
# Affichage de tous les avertisements
if(MSVC)

View File

@ -3,8 +3,8 @@
#include <unordered_map>
#include "level.hpp"
#include "util/widget_timer.hpp"
#include "util/widget_selector.hpp"
#include "widget_timer.hpp"
#include "widget_selector.hpp"
enum class DragMode {NONE, PLACE, SELECT_RECT, SELECT_BULK, CONTROL_POINT, REMOVE};
enum class SelectionMode {REPLACE, FLIP, ADD};

View File

@ -3,7 +3,7 @@
#include <SFML/Graphics.hpp>
#include <functional>
#include "util/widget_button.hpp"
#include "widget_button.hpp"
#include "manager.hpp"
/**

View File

@ -1,4 +1,4 @@
#include "util/widget_button.hpp"
#include "widget_button.hpp"
const unsigned int WidgetButton::ARROW_UP = 0;
const unsigned int WidgetButton::ARROW_DOWN = 1;

View File

@ -1,4 +1,4 @@
#include "util/widget_selector.hpp"
#include "widget_selector.hpp"
#include <utility>
const int PADDING = 8;

View File

@ -1,5 +1,5 @@
#include "widget_timer.hpp"
#include <cmath>
#include "util/widget_timer.hpp"
WidgetTimer::WidgetTimer(Manager& manager, bool can_change, std::function<void(int)> time_left_cb) :
manager(manager), can_change(can_change), time_left_cb(time_left_cb),