This commit is contained in:
Nishi 2026-04-17 22:44:19 +09:00
commit bbc8b871bb
Signed by: nishi
GPG key ID: 27EF69B208EB9343
5 changed files with 54 additions and 4 deletions

View file

@ -9,9 +9,9 @@
namespace MwCXX {
#ifdef MWCXX_USE_C_STRING
typedef char* String;
typedef const char* String;
#else
typedef std::string String;
typedef const std::string String;
#endif
}; // namespace MwCXX

View file

@ -14,6 +14,12 @@ namespace MwCXX {
Base(MwWidget widget);
Base(MwClass widget_class, MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
MwRect GetArea();
void SetArea(MwRect r);
void Move(int x, int y);
void Resize(unsigned int width, unsigned int height);
void Loop();
#include <MwCXX/Widget/BaseAuto.h>