oo binding

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@202 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-07 11:02:38 +00:00
parent 4ca5671d10
commit 9f2efd4771
25 changed files with 268 additions and 10 deletions

17
include/MwOO/Base.h Normal file
View File

@@ -0,0 +1,17 @@
/* $Id$ */
#ifndef __MWOO_BASE_H__
#define __MWOO_BASE_H__
#include <Mw/Milsko.h>
class MwOOWidget {
protected:
MwClass widget_class = NULL;
MwWidget widget;
public:
MwOOWidget(const char* name, MwOOWidget* parent, int x, int y, int w, int h);
~MwOOWidget(void);
};
#endif

View File

@@ -0,0 +1,12 @@
/* $Id$ */
#ifndef __MWOO_WIDGET_BUTTON_H__
#define __MWOO_WIDGET_BUTTON_H__
#include <MwOO/Base.h>
class MwOOButtonWidget : public MwOOWidget {
public:
MwOOButtonWidget(const char* name, MwOOWidget* parent, int x, int y, int w, int h);
};
#endif

View File

@@ -0,0 +1,12 @@
/* $Id$ */
#ifndef __MWOO_WIDGET_FRAME_H__
#define __MWOO_WIDGET_FRAME_H__
#include <MwOO/Base.h>
class MwOOFrameWidget : public MwOOWidget {
public:
MwOOFrameWidget(const char* name, MwOOWidget* parent, int x, int y, int w, int h);
};
#endif

View File

@@ -0,0 +1,12 @@
/* $Id$ */
#ifndef __MWOO_WIDGET_IMAGE_H__
#define __MWOO_WIDGET_IMAGE_H__
#include <MwOO/Base.h>
class MwOOImageWidget : public MwOOWidget {
public:
MwOOImageWidget(const char* name, MwOOWidget* parent, int x, int y, int w, int h);
};
#endif

View File

@@ -0,0 +1,12 @@
/* $Id$ */
#ifndef __MWOO_WIDGET_MENU_H__
#define __MWOO_WIDGET_MENU_H__
#include <MwOO/Base.h>
class MwOOMenuWidget : public MwOOWidget {
public:
MwOOMenuWidget(const char* name, MwOOWidget* parent, int x, int y, int w, int h);
};
#endif

View File

@@ -0,0 +1,12 @@
/* $Id$ */
#ifndef __MWOO_WIDGET_OPENGL_H__
#define __MWOO_WIDGET_OPENGL_H__
#include <MwOO/Base.h>
class MwOOOpenGLWidget : public MwOOWidget {
public:
MwOOOpenGLWidget(const char* name, MwOOWidget* parent, int x, int y, int w, int h);
};
#endif

View File

@@ -0,0 +1,12 @@
/* $Id$ */
#ifndef __MWOO_WIDGET_SCROLLBAR_H__
#define __MWOO_WIDGET_SCROLLBAR_H__
#include <MwOO/Base.h>
class MwOOScrollBarWidget : public MwOOWidget {
public:
MwOOScrollBarWidget(const char* name, MwOOWidget* parent, int x, int y, int w, int h);
};
#endif

View File

@@ -0,0 +1,12 @@
/* $Id$ */
#ifndef __MWOO_WIDGET_SUBMENU_H__
#define __MWOO_WIDGET_SUBMENU_H__
#include <MwOO/Base.h>
class MwOOSubMenuWidget : public MwOOWidget {
public:
MwOOSubMenuWidget(const char* name, MwOOWidget* parent, int x, int y, int w, int h);
};
#endif

View File

@@ -0,0 +1,12 @@
/* $Id$ */
#ifndef __MWOO_WIDGET_VULKAN_H__
#define __MWOO_WIDGET_VULKAN_H__
#include <MwOO/Base.h>
class MwOOVulkanWidget : public MwOOWidget {
public:
MwOOVulkanWidget(const char* name, MwOOWidget* parent, int x, int y, int w, int h);
};
#endif

View File

@@ -0,0 +1,12 @@
/* $Id$ */
#ifndef __MWOO_WIDGET_WINDOW_H__
#define __MWOO_WIDGET_WINDOW_H__
#include <MwOO/Base.h>
class MwOOWindowWidget : public MwOOWidget {
public:
MwOOWindowWidget(const char* name, MwOOWidget* parent, int x, int y, int w, int h);
};
#endif