Déplacement des widgets dans le dossier pricipal
This commit is contained in:
parent
a02b1db1aa
commit
f07e6dcf24
|
@ -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)
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <SFML/Graphics.hpp>
|
||||
#include <functional>
|
||||
#include "util/widget_button.hpp"
|
||||
#include "widget_button.hpp"
|
||||
#include "manager.hpp"
|
||||
|
||||
/**
|
|
@ -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;
|
|
@ -1,4 +1,4 @@
|
|||
#include "util/widget_selector.hpp"
|
||||
#include "widget_selector.hpp"
|
||||
#include <utility>
|
||||
|
||||
const int PADDING = 8;
|
|
@ -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),
|
Loading…
Reference in New Issue