git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@435 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-20 22:01:57 +00:00
parent 4bcd6dd923
commit 39f4e355f4
20 changed files with 11 additions and 93 deletions

View File

@@ -47,6 +47,6 @@
#define MwNcloseHandler "Cclose" /* NULL */
#define MwNfocusInHandler "CfocusIn" /* NULL */
#define MwNfocusOutHandler "CfocusOut" /* NULL */
#define MwNfileChosenHandler "CfileChosen" /* char* */
#define MwNfileChosenHandler "CfileChosen" /* char* */
#endif

View File

@@ -27,7 +27,7 @@ MWDECL MwClass MwListBoxClass;
* %param pixmap Pixmap
* %param ... Text
*/
void MwListBoxInsert(MwWidget handle, int index, MwLLPixmap pixmap, ...); /* VA_HINT:pixmap */
MWDECL void MwListBoxInsert(MwWidget handle, int index, MwLLPixmap pixmap, ...); /* VA_HINT:pixmap */
/*!
* %brief Inserts multiple items on the listbox
@@ -37,7 +37,7 @@ void MwListBoxInsert(MwWidget handle, int index, MwLLPixmap pixmap, ...); /* VA_
* %param pixmap Pixmap
* %param ... Text
*/
void MwListBoxInsertMultiple(MwWidget handle, int index, int count, MwLLPixmap* pixmap, ...); /* VA_HINT:pixmap */
MWDECL void MwListBoxInsertMultiple(MwWidget handle, int index, int count, MwLLPixmap* pixmap, ...); /* VA_HINT:pixmap */
/*!
* %brief Inserts item on the listbox

View File

@@ -12,10 +12,6 @@ class ListBox : public MwOO::Base {
void InsertMultiple(int index, int count, MwLLPixmap* pixmap, ...);
void VaInsert(int index, MwLLPixmap pixmap, va_list va);
void VaInsertMultiple(int index, int count, MwLLPixmap* pixmap, va_list va);
void Delete(int index);
const char* Get(int index);
void SetWidth(int index, int width);
void Reset(void);
void SetLeftPadding(int value);
int GetLeftPadding(void);
void SetBackground(const char* value);

View File

@@ -8,7 +8,6 @@ namespace MwOO {
class Menu : public MwOO::Base {
public:
Menu(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
MwMenu Add(MwMenu menu, const char* name);
void SetBackground(const char* value);
const char* GetBackground(void);
void SetForeground(const char* value);

View File

@@ -8,9 +8,6 @@ namespace MwOO {
class OpenGL : public MwOO::Base {
public:
OpenGL(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
void MakeCurrent(void);
void* GetProcAddress(const char* name);
void SwapBuffer(void);
void SetBackground(const char* value);
const char* GetBackground(void);
void SetForeground(const char* value);

View File

@@ -8,7 +8,6 @@ namespace MwOO {
class ScrollBar : public MwOO::Base {
public:
ScrollBar(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
int GetVisibleLength(void);
void SetAreaShown(int value);
int GetAreaShown(void);
void SetValue(int value);

View File

@@ -8,7 +8,6 @@ namespace MwOO {
class SubMenu : public MwOO::Base {
public:
SubMenu(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
void Appear(MwMenu menu, MwPoint* point);
void SetBackground(const char* value);
const char* GetBackground(void);
void SetForeground(const char* value);

View File

@@ -8,8 +8,6 @@ namespace MwOO {
class Viewport : public MwOO::Base {
public:
Viewport(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
MwOO::Base GetViewport(void);
void SetSize(int w, int h);
void SetBackground(const char* value);
const char* GetBackground(void);
void SetForeground(const char* value);

View File

@@ -11,7 +11,6 @@ class Vulkan : public MwOO::Base {
void EnableExtension(void);
void EnableLayer(void);
void Configure(void);
void* GetField(MwVulkanField field, MwErrorEnum* out);
VkBool32 Supported(void);
void SetBackground(const char* value);
const char* GetBackground(void);

View File

@@ -8,7 +8,6 @@ namespace MwOO {
class Window : public MwOO::Base {
public:
Window(const char* widget_name, MwOO::Base* parent, int x, int y, int w, int h);
void MakeBorderless(int toggle);
void SetTitle(const char* value);
const char* GetTitle(void);
void SetMain(int value);