refactor: add GUI instance reference to UI nodes
This commit is contained in:
@@ -9,7 +9,7 @@ class Texture;
|
||||
namespace gui {
|
||||
class Canvas final : public UINode {
|
||||
public:
|
||||
explicit Canvas(ImageFormat inFormat, glm::uvec2 inSize);
|
||||
explicit Canvas(GUI& gui, ImageFormat inFormat, glm::uvec2 inSize);
|
||||
|
||||
~Canvas() override = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user