mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 09:00:54 +00:00
fix some stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@654 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -73,7 +73,7 @@ MwInline void MwListBoxInsert(MwWidget handle, int index, void* packet) {
|
||||
*/
|
||||
MwInline void MwListBoxDelete(MwWidget handle, int index) {
|
||||
MwVaWidgetExecute(handle, "mwListboxDelete", NULL, index);
|
||||
};
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Gets item from the listbox
|
||||
@@ -85,7 +85,7 @@ MwInline const char* MwListBoxGet(MwWidget handle, int index) {
|
||||
const char* out;
|
||||
MwVaWidgetExecute(handle, "mwListBoxGet", (void*)&out, index);
|
||||
return out;
|
||||
};
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Sets an item width of the listbox
|
||||
@@ -95,7 +95,7 @@ MwInline const char* MwListBoxGet(MwWidget handle, int index) {
|
||||
*/
|
||||
MwInline void MwListBoxSetWidth(MwWidget handle, int index, int width) {
|
||||
MwVaWidgetExecute(handle, "mwListBoxSetWidth", NULL, index, width);
|
||||
};
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Resets the listbox
|
||||
@@ -103,7 +103,7 @@ MwInline void MwListBoxSetWidth(MwWidget handle, int index, int width) {
|
||||
*/
|
||||
MwInline void MwListBoxReset(MwWidget handle) {
|
||||
MwVaWidgetExecute(handle, "mwListBoxReset", NULL);
|
||||
};
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ MwInline MwMenu MwMenuAdd(MwWidget handle, MwMenu menu, const char* name) {
|
||||
MwMenu out;
|
||||
MwVaWidgetExecute(handle, "mwMenuAdd", &out, menu, name);
|
||||
return out;
|
||||
};
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ MWDECL MwClass MwOpenGLClass;
|
||||
*/
|
||||
MwInline void MwOpenGLMakeCurrent(MwWidget handle) {
|
||||
MwVaWidgetExecute(handle, "mwOpenGLMakeCurrent", NULL);
|
||||
};
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Get a procedure from OpenGL
|
||||
@@ -48,7 +48,7 @@ MwInline void* MwOpenGLGetProcAddress(MwWidget handle, const char* name) {
|
||||
void* out;
|
||||
MwVaWidgetExecute(handle, "mwOpenGLGetProcAddress", &out, name);
|
||||
return out;
|
||||
};
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Swaps the buffer of OpenGL context
|
||||
@@ -56,7 +56,7 @@ MwInline void* MwOpenGLGetProcAddress(MwWidget handle, const char* name) {
|
||||
*/
|
||||
MwInline void MwOpenGLSwapBuffer(MwWidget handle) {
|
||||
MwVaWidgetExecute(handle, "mwOpenGLSwapBuffer", NULL);
|
||||
};
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ MwInline int MwScrollBarGetVisibleLength(MwWidget handle) {
|
||||
int out;
|
||||
MwVaWidgetExecute(handle, "mwScrollBarGetVisibleLength", &out, NULL);
|
||||
return out;
|
||||
};
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ MWDECL MwClass MwSubMenuClass;
|
||||
|
||||
MwInline void MwSubMenuAppear(MwWidget handle, MwMenu menu, MwPoint* point) {
|
||||
MwVaWidgetExecute(handle, "mwSubMenuAppear", NULL, menu, point);
|
||||
};
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ MwInline MwWidget MwViewportGetViewport(MwWidget handle) {
|
||||
MwWidget out;
|
||||
MwVaWidgetExecute(handle, "mwViewportGetViewport", &out);
|
||||
return out;
|
||||
};
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Set viewport size
|
||||
@@ -38,7 +38,7 @@ MwInline MwWidget MwViewportGetViewport(MwWidget handle) {
|
||||
*/
|
||||
MwInline void MwViewportSetSize(MwWidget handle, int w, int h) {
|
||||
MwVaWidgetExecute(handle, "mwViewportSetSize", NULL, w, h);
|
||||
};
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ MwInline void* MwVulkanGetField(MwWidget handle, MwVulkanField field, MwErrorEnu
|
||||
void* field_out;
|
||||
MwVaWidgetExecute(handle, "mwVulkanGetField", &field_out, field, out);
|
||||
return field_out;
|
||||
};
|
||||
}
|
||||
|
||||
/*!
|
||||
* @brief Return whether Vulkan is installed on the target platform.
|
||||
|
||||
@@ -26,7 +26,7 @@ MWDECL MwClass MwWindowClass;
|
||||
*/
|
||||
MwInline void MwWindowMakeBorderless(MwWidget handle, int toggle) {
|
||||
MwVaWidgetExecute(handle, "mwWindowMakeBorderless", NULL, toggle);
|
||||
};
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user