Creating Dialogs – Part I
This part shows some sample code how a dialog is loaded and added to the dialog hierarchy. We usually try to keep the hierarchy flat, but sometimes its cleaner to use sub dialogs, so the possibility is there. definition = g_resourceManager.getResource< UIDialogDefinition >( "yesno.odlg" ); YesNoDialog pYesNoDialog = new YesNoDialog; pYesNoDialog->createFromDefinition( *pUIElementCreator, definition ); pRootDialog->addChild( [...]
Read full article | Comments Off
