mwcxx/include/MwCXX/Widget/Box.h
2026-04-17 22:25:28 +09:00

31 lines
696 B
C++

#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 {
protected:
virtual void RegisterHandlers();
public:
Box(MwWidget widget);
Box(MwCXX::String name, MwCXX::Base* parent, int x, int y, unsigned int width, unsigned int height);
int GetOrientation();
void SetOrientation(int value);
int GetMargin();
void SetMargin(int value);
int GetPadding();
void SetPadding(int value);
int GetHasBorder();
void SetHasBorder(int value);
int GetInverted();
void SetInverted(int value);
};
}; // namespace MwCXX
#endif