things
This commit is contained in:
parent
bbc8b871bb
commit
933f276e1a
73 changed files with 1350 additions and 306 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue