NMB or (N)ative (M)essage (B)ox is a very tiny, cross platform and header only C++ library to handle message dialogs natively.
- Windows (using Winuser.h)
- MacOS (using CoreFoundation)
- Linux (using GTK)
#include "NMB/NMB.h"
...
NMB::Result result = NMB::show( "Error", "Error Message", NMB::Icon::ICON_ERROR );
if( result == NMB::Result::OK )
{
// DO SOMETHING
}
else
{
// DO SOMETHING ELSE
}
LICENSE File covers all files in this repo.