1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#pragma once #include "Component.h" #include "api/EventHandler.h" namespace crepe { class UiObject : public Component{ public: UiObject(); int width = 0; int height = 0; public: virtual int get_instances_max() const { return 1; } }; }