This namespace aggregates various UI functionality to be shared by renderers.
Functions | |
CommonRendererUIExport bool | DoMissingMapsDialog (const NameTab &names, HWND hwnd) |
Shows the missing maps dialog. More... | |
CommonRendererUIExport bool | DoMissingUVWChannelsDialog (const NameTab &missingUVWEntries, HWND hwnd) |
Shows the missing UVW channels dialog. More... | |
CommonRendererUIExport bool CommonRendererUI::DoMissingMapsDialog | ( | const NameTab & | names, |
HWND | hwnd | ||
) |
Shows the missing maps dialog.
The missing maps dialog displays a list of provided file paths for missing maps. It is up to the caller to accumulate that list. The dialog provides the user with the option to browse for the missing maps, adding to the list of search paths. Thus, if the user should press Continue, the renderer should attempt to re-resolve the missing map files before moving on to rendering.
names | The list of file paths to missing maps. |
hwnd | Handle to the parent window of the pop-up to be displayed. |
CommonRendererUIExport bool CommonRendererUI::DoMissingUVWChannelsDialog | ( | const NameTab & | missingUVWEntries, |
HWND | hwnd | ||
) |
Shows the missing UVW channels dialog.
The missing UVW channels dialog informs the user of a list of objects and UVW channels that are required by their materials, but missing from the geometry. This dialog is purely informative and allows the user to continue or cancel.
missingUVWEntries | The list of strings to display in the missing UVW channels dialog. The standard format is as follows: "(UVW <channel_id>): <object_name>" or "(Vertex Colors): <object_name>". |
hwnd | Handle to the parent window of the pop-up to be displayed. |