Files
milsko/include/Mw/Dialog/MessageBox.h
2025-12-05 07:43:04 +09:00

43 lines
779 B
C

/*!
* @file Mw/Dialog/MessageBox.h
* @brief Message box
*/
#ifndef __MW_MESSAGEBOX_H__
#define __MW_MESSAGEBOX_H__
#include <Mw/MachDep.h>
#include <Mw/TypeDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
/*!
* @brief Creates a message box
* @param handle Widget
* @param text Text
* @param title Title text
* @param flag Flag
* @return Widget
*/
MWDECL MwWidget 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);
/*!
* @brief Destroys the message box
* @param handle Widget
*/
MWDECL void MwMessageBoxDestroy(MwWidget handle);
#ifdef __cplusplus
}
#endif
#endif