2026-04-17 19:42:14 +09:00
|
|
|
#ifndef __MWCXX_WIDGET_BASE_H__
|
|
|
|
|
#define __MWCXX_WIDGET_BASE_H__
|
|
|
|
|
|
|
|
|
|
#include <MwCXX/MachDep.h>
|
|
|
|
|
|
|
|
|
|
namespace MwCXX {
|
|
|
|
|
class Base {
|
2026-04-17 21:26:28 +09:00
|
|
|
protected:
|
2026-04-17 22:25:28 +09:00
|
|
|
virtual void RegisterHandlers();
|
|
|
|
|
|
2026-04-17 21:26:28 +09:00
|
|
|
MwWidget widget;
|
2026-04-17 19:42:14 +09:00
|
|
|
|
2026-04-17 21:26:28 +09:00
|
|
|
public:
|
|
|
|
|
Base(MwWidget widget);
|
|
|
|
|
Base(MwClass widget_class, MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
|
2026-04-17 19:42:14 +09:00
|
|
|
|
2026-04-17 21:26:28 +09:00
|
|
|
void Loop();
|
2026-04-17 19:42:14 +09:00
|
|
|
|
|
|
|
|
#include <MwCXX/Widget/BaseAuto.h>
|
|
|
|
|
};
|
|
|
|
|
}; // namespace MwCXX
|
|
|
|
|
|
|
|
|
|
#endif
|