Skip to content
Snippets Groups Projects
Commit 9858ce56 authored by Odilitime's avatar Odilitime
Browse files

move window into property, fix includes

parent c79b2202
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,9 @@
#include <string>
#include "BoxComponent.h"
#include "TextComponent.h"
#include "../opengl/Window.h"
class Window;
class InputComponent : public BoxComponent {
public:
......@@ -22,6 +25,8 @@ public:
std::function<void(std::string value)> onEnter = nullptr;
// needed for our shader's resizing
int lastRenderedWindowHeight;
// handle to signal that a redraw is needed, and access to shader programs
Window *win;
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment