MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ShowMessageDialog

Method ShowMessageDialog

Source/Engine/Main/UWP/main.cpp:414–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414UWPPlatformImpl::DialogResult PlatformImpl::ShowMessageDialog(UWPWindowImpl* window, const wchar_t* text, const wchar_t* caption, MessageBoxButtons buttons, MessageBoxIcon icon)
415{
416 Platform::String^ content = ref new Platform::String(text);
417 Platform::String^ title = ref new Platform::String(caption);
418 Windows::UI::Popups::MessageDialog^ msg = ref new Windows::UI::Popups::MessageDialog(content, title);
419
420 // TODO: implement buttons
421 // TODO: gather result
422
423 msg->ShowAsync();
424
425 return DialogResult::OK;
426}
427
428#endif

Callers 1

ShowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected