This commit is contained in:
Nishi 2026-04-18 01:05:20 +09:00
commit 933f276e1a
Signed by: nishi
GPG key ID: 27EF69B208EB9343
73 changed files with 1350 additions and 306 deletions

View file

@ -10,9 +10,13 @@ namespace MwCXX {
MwWidget widget;
MwCXX::Base* parent;
std::vector<MwCXX::Base*> children;
public:
Base(MwWidget widget);
Base(MwWidget widget, MwCXX::Base* parent = NULL);
Base(MwClass widget_class, MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
~Base();
MwRect GetArea();
void SetArea(MwRect r);
@ -20,8 +24,12 @@ namespace MwCXX {
void Move(int x, int y);
void Resize(unsigned int width, unsigned int height);
int Step();
int Pending();
void Loop();
MwCXX::Base* GetParent();
#include <MwCXX/Widget/BaseAuto.h>
};
}; // namespace MwCXX