| Enumerator |
|---|
| CategoryFolderOnly |
|
| AddAllEnvironmentals |
Place all items in a single force folder vs.
individual force folders. Note that if under a category there is only one force then all items will be placed directly under the category without a force folder
|
| AddAllForces |
Adds all environmentals regardless of whether or not they are favorites.
If not specified will only add favorite environmentals. Environmentals will be added under force specific menus, unless only one force present, in which case that will be the assumed menu
|
| PlaceOnPaletteSubmenu |
Adds all forces regardless of whether or not they are favorites.
|
| CategoryTopLevelTagsOnly |
Places items in a sub menu by palette name.
|
| AddAll |
Looks at only top level tags when assigning tag categories. A superset of Folder Only.
|
| DefaultCreationFlags |
|
| makVrf::DtCreateMenuBuilder::DtCreateMenuBuilder |
( |
| ) |
|
|
private |
| makVrf::DtCreateMenuBuilder::DtCreateMenuBuilder |
( |
makVrv::DtDe & |
| ) |
|
| virtual makVrf::DtCreateMenuBuilder::~DtCreateMenuBuilder |
( |
| ) |
|
|
virtual |
| virtual void makVrf::DtCreateMenuBuilder::setIndividualMenuItems |
( |
const std::vector< DtEntityMapperKey > & |
| ) |
|
|
virtual |
If set before createMenu() is called, places these items not in a sub-menu, but, at the end of the menu as flat items.
The force type selected will be DtForceNeutral if DtForceAny is specified. If specific forces are specified, then it will be created with the first force in the list
Creates a menu from the loaded structure and returns a pointer to it (which must be deleted by the caller).
The structure will be category-><all force="" types="" under="" category>="">-><object for="" each="" force="" type>=""> The menu will never be more than two levels deep
| const MenuPalettes& makVrf::DtCreateMenuBuilder::menuPalettes |
( |
| ) |
const |
|
inline |
Returns currently mapped palettes and titles.
| virtual makVrv::DtUnicode makVrf::DtCreateMenuBuilder::paletteTitle |
( |
const std::string & |
| ) |
const |
|
virtual |
| virtual void makVrf::DtCreateMenuBuilder::addPalette |
( |
const std::string & |
key, |
|
|
const makVrv::DtUnicode & |
title |
|
) |
| |
|
virtual |
Adds a menu mapping for an internal palette option (TacticalGraphicCreationPalette, HazardAreaCreationPalette) and the menu name associated with it.
| virtual void makVrf::DtCreateMenuBuilder::removePalette |
( |
const std::string & |
| ) |
|
|
virtual |
Removes a palette mapping.
Returns instance of the manager.
Register a new manager instance.
If using tags only (top level) this must be set.
If there are no top level tags will default back to using folders only
| virtual bool makVrf::DtCreateMenuBuilder::isIndividualMenuItem |
( |
const DtModelSetEntry * |
| ) |
const |
|
protectedvirtual |
| virtual std::map<DtString, int> makVrf::DtCreateMenuBuilder::categoriesWithOnlyOneForce |
( |
const DtModelSet * |
| ) |
const |
|
protectedvirtual |
Returns a mapped list of categories that only have a single force.
When creating then menu, these items will be flattened out. The value of the map is that force type
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf4-8-branch/include/vrfGuiCore/createMenuBuilder.h