2026-04-17 19:42:14 +09:00
|
|
|
#ifndef __MWCXX_WIDGET_WINDOW_H__
|
|
|
|
|
#define __MWCXX_WIDGET_WINDOW_H__
|
|
|
|
|
|
|
|
|
|
#include <MwCXX/MachDep.h>
|
|
|
|
|
#include <MwCXX/Widget/Base.h>
|
|
|
|
|
|
|
|
|
|
#include <Mw/Widget/Window.h>
|
|
|
|
|
|
|
|
|
|
namespace MwCXX {
|
|
|
|
|
class Window : public MwCXX::Base {
|
2026-04-17 22:25:28 +09:00
|
|
|
protected:
|
|
|
|
|
virtual void RegisterHandlers();
|
|
|
|
|
|
2026-04-17 21:26:28 +09:00
|
|
|
public:
|
|
|
|
|
Window(MwWidget widget);
|
|
|
|
|
Window(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
|
|
|
MwCXX::String GetTitle();
|
|
|
|
|
void SetTitle(MwCXX::String value);
|
|
|
|
|
int GetMain();
|
|
|
|
|
void SetMain(int value);
|
|
|
|
|
MwLLPixmap GetIconPixmap();
|
|
|
|
|
void SetIconPixmap(MwLLPixmap value);
|
|
|
|
|
MwSizeHints* GetSizeHints();
|
|
|
|
|
void SetSizeHints(MwSizeHints* value);
|
|
|
|
|
int GetHasBorder();
|
|
|
|
|
void SetHasBorder(int value);
|
|
|
|
|
int GetInverted();
|
|
|
|
|
void SetInverted(int value);
|
2026-04-17 19:42:14 +09:00
|
|
|
};
|
|
|
|
|
}; // namespace MwCXX
|
|
|
|
|
|
|
|
|
|
#endif
|