introduce MWAPI

This commit is contained in:
Nishi 2026-04-22 12:05:49 +09:00
commit 2dd2c3870f
41 changed files with 189 additions and 166 deletions

View file

@ -18,7 +18,7 @@ extern "C" {
* @param title Title text
* @return Widget
*/
MWDECL MwWidget MwColorPicker(MwWidget handle, const char* title);
MWDECL MwWidget MWAPI MwColorPicker(MwWidget handle, const char* title);
#ifdef __cplusplus
}

View file

@ -18,7 +18,7 @@ extern "C" {
* @param title Title text
* @return Widget
*/
MWDECL MwWidget MwDirectoryChooser(MwWidget handle, const char* title);
MWDECL MwWidget MWAPI MwDirectoryChooser(MwWidget handle, const char* title);
#ifdef __cplusplus
}

View file

@ -18,7 +18,7 @@ extern "C" {
* @param title Title text
* @return Widget
*/
MWDECL MwWidget MwFileChooser(MwWidget handle, const char* title);
MWDECL MwWidget MWAPI MwFileChooser(MwWidget handle, const char* title);
/*!
* @brief Creates a file chooser
@ -27,7 +27,7 @@ MWDECL MwWidget MwFileChooser(MwWidget handle, const char* title);
* @param dir Show directory only or not
* @return Widget
*/
MWDECL MwWidget MwFileChooserEx(MwWidget handle, const char* title, int dir);
MWDECL MwWidget MWAPI MwFileChooserEx(MwWidget handle, const char* title, int dir);
#ifdef __cplusplus
}

View file

@ -20,14 +20,14 @@ extern "C" {
* @param flag Flag
* @return Widget
*/
MWDECL MwWidget MwMessageBox(MwWidget handle, const char* text, const char* title, unsigned int flag);
MWDECL MwWidget MWAPI MwMessageBox(MwWidget handle, const char* text, const char* title, unsigned int flag);
/*!
* @brief Gets a child of the message box
* @param handle Widget
* @param child Child
*/
MWDECL MwWidget MwMessageBoxGetChild(MwWidget handle, int child);
MWDECL MwWidget MWAPI MwMessageBoxGetChild(MwWidget handle, int child);
#ifdef __cplusplus
}