feat: key pressed event interception & 'owner' input.add_callback third argument
This commit is contained in:
@@ -2,11 +2,12 @@
|
||||
|
||||
#include "UINode.hpp"
|
||||
#include "commons.hpp"
|
||||
#include "util/ObjectsKeeper.hpp"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace gui {
|
||||
class Container : public UINode {
|
||||
class Container : public UINode, public util::ObjectsKeeper {
|
||||
int prevScrollY = -1;
|
||||
protected:
|
||||
std::vector<std::shared_ptr<UINode>> nodes;
|
||||
|
||||
Reference in New Issue
Block a user