2025-10-11 06:21:43 +00:00
|
|
|
/*!
|
2025-11-03 21:48:25 +00:00
|
|
|
* @file Mw/Dialog/MessageBox.h
|
2025-10-28 20:40:26 +00:00
|
|
|
* @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
|
|
|
*/
|
2026-04-22 12:05:49 +09:00
|
|
|
MWDECL MwWidget MWAPI MwMessageBox(MwWidget handle, const char* text, const char* title, unsigned int flag);
|
2025-10-11 06:21:43 +00:00
|
|
|
|
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
|
|
|
*/
|
2026-04-22 12:05:49 +09:00
|
|
|
MWDECL MwWidget MWAPI MwMessageBoxGetChild(MwWidget handle, int child);
|
2025-10-11 08:37:24 +00:00
|
|
|
|
2025-10-11 06:21:43 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|