Haiku Message¶
Haiku provides a simple popup message system to notify the user of a problem.
if(IO::IsMouseJustPressed(HAIKU_MOUSE_BUTTON_2))
Message::Note("Here's a popup window !");
Result on X11 platform
Result on Windows platform
Result on Apple platform
Message API Description¶
-
namespace Message¶
Functions
-
void Warning(const char *format, ...)¶
Displays a Warning popup message.
-
void Error(const char *format, ...)¶
Displays an Error popup message. Leaves the application.
-
bool Popup(const char *format, ...)¶
Displays a simple Yes/No popup message.
-
void Note(const char *format, ...)¶
Displays a simple popup message.
-
void Warning(const char *format, ...)¶