2025-10-11 06:21:43 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
/*!
|
2025-10-28 20:40:26 +00:00
|
|
|
* @file Mw/MessageBox.h
|
|
|
|
|
* @brief Message box
|
2025-10-11 06:21:43 +00:00
|
|
|
*/
|
|
|
|
|
#ifndef __MW_MESSAGEBOX_H__
|
|
|
|
|
#define __MW_MESSAGEBOX_H__
|
|
|
|
|
|
|
|
|
|
#include <Mw/MachDep.h>
|
|
|
|
|
#include <Mw/TypeDefs.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*!
|
2025-10-28 20:40:26 +00:00
|
|
|
* @brief Creates a message box
|
|
|
|
|
* @param handle Widget
|
|
|
|
|
* @param text Text
|
|
|
|
|
* @param title Title text
|
|
|
|
|
* @param flag Flag
|
|
|
|
|
* @return Widget
|
2025-10-11 06:21:43 +00:00
|
|
|
*/
|
|
|
|
|
MWDECL MwWidget MwMessageBox(MwWidget handle, const char* text, const char* title, unsigned int flag);
|
|
|
|
|
|
2025-10-11 08:37:24 +00:00
|
|
|
/*!
|
2025-10-28 20:40:26 +00:00
|
|
|
* @brief Gets a child of the message box
|
|
|
|
|
* @param handle Widget
|
|
|
|
|
* @param child Child
|
2025-10-11 08:37:24 +00:00
|
|
|
*/
|
|
|
|
|
MWDECL MwWidget MwMessageBoxGetChild(MwWidget handle, int child);
|
|
|
|
|
|
2025-10-16 10:42:59 +00:00
|
|
|
/*!
|
2025-10-28 20:40:26 +00:00
|
|
|
* @brief Destroys the message box
|
|
|
|
|
* @param handle Widget
|
2025-10-16 10:42:59 +00:00
|
|
|
*/
|
|
|
|
|
MWDECL void MwMessageBoxDestroy(MwWidget handle);
|
|
|
|
|
|
2025-10-11 06:21:43 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|