diff options
author | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-22 02:06:45 +0100 |
---|---|---|
committer | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-22 02:06:45 +0100 |
commit | d5ac28424554a94f6f21527c2f393a3e595cbc59 (patch) | |
tree | 689516f3031c6805d00e09dc120980af7184f585 /engine/flatwindow.cpp | |
parent | Soos (diff) | |
download | flatland-d5ac28424554a94f6f21527c2f393a3e595cbc59.tar.gz flatland-d5ac28424554a94f6f21527c2f393a3e595cbc59.zip |
Sed
Diffstat (limited to 'engine/flatwindow.cpp')
-rw-r--r-- | engine/flatwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/flatwindow.cpp b/engine/flatwindow.cpp index 2fa051b..40cf1e3 100644 --- a/engine/flatwindow.cpp +++ b/engine/flatwindow.cpp @@ -3,7 +3,7 @@ #include <SDL2/SDL.h> #include <iostream> #include "flatlayer.h" -#include "signal.h" +#include "signal.hpp" using namespace std; @@ -15,7 +15,7 @@ FlatWindow::FlatWindow( int x, int y, : title(title), status(status), sdl_window(0), screen(0) { - setID(title.c_str()); + set_id(title); bounds = new SDL_Rect; @@ -166,7 +166,7 @@ void FlatWindow::key_cb(const SDL_KeyboardEvent *event) close(); /* Say flatland to quit */ - FlatSignal quit(this, "quit", 0, 0xff); + flat::core::signal quit(this, "quit", 0, 0xff); quit.emit("core"); } } |