2026-04-17 19:42:14 +09:00
|
|
|
#ifndef __MWCXX_WIDGET_BOX_H__
|
|
|
|
|
#define __MWCXX_WIDGET_BOX_H__
|
|
|
|
|
|
|
|
|
|
#include <MwCXX/MachDep.h>
|
|
|
|
|
#include <MwCXX/Widget/Base.h>
|
|
|
|
|
|
|
|
|
|
#include <Mw/Widget/Box.h>
|
|
|
|
|
|
|
|
|
|
namespace MwCXX {
|
|
|
|
|
class Box : public MwCXX::Base {
|
2026-04-17 22:25:28 +09:00
|
|
|
protected:
|
|
|
|
|
virtual void RegisterHandlers();
|
|
|
|
|
|
2026-04-17 21:26:28 +09:00
|
|
|
public:
|
2026-04-18 01:05:20 +09:00
|
|
|
Box(MwWidget widget, MwCXX::Base* parent = NULL);
|
2026-04-17 21:26:28 +09:00
|
|
|
Box(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-09-15 12:00:07 +09:00
|
|
|
int GetOrientation();
|
2026-04-17 21:26:28 +09:00
|
|
|
void SetOrientation(int value);
|
2026-09-15 12:00:07 +09:00
|
|
|
int GetMargin();
|
2026-04-17 21:26:28 +09:00
|
|
|
void SetMargin(int value);
|
2026-09-15 12:00:07 +09:00
|
|
|
int GetPadding();
|
2026-04-17 21:26:28 +09:00
|
|
|
void SetPadding(int value);
|
2026-09-15 12:00:07 +09:00
|
|
|
int GetHasBorder();
|
2026-04-17 21:26:28 +09:00
|
|
|
void SetHasBorder(int value);
|
2026-09-15 12:00:07 +09:00
|
|
|
int GetInverted();
|
2026-04-17 21:26:28 +09:00
|
|
|
void SetInverted(int value);
|
2026-09-15 12:00:07 +09:00
|
|
|
int GetWaitLayout();
|
2026-05-15 03:04:37 +09:00
|
|
|
void SetWaitLayout(int value);
|
2026-04-17 19:42:14 +09:00
|
|
|
};
|
|
|
|
|
}; // namespace MwCXX
|
|
|
|
|
|
|
|
|
|
#endif
|