16 auto error = inComponent->GetConceptionUnitScale(unitFactor);
20 Dtk_string componentName = inComponent->Name();
23 Dtk_InfoPtr componentAttributes = inComponent->GetInfos();
27 int activationStatus = 1;
31 int blankedStatus = 0;
41 previewName.
add_int( inComponent->GetID() );
77 Dtk_Size_t numChildren = inComponent->GetNumChildren();
81 Dtk_Int32 defaultComponentIndex = inComponent->GetDefaultChildInCatalog();
84 Dtk_tab<Dtk_Int32> activatedComponentIndices = inComponent->GetActivatedChildrenInCatalog();
87 Dtk_Size_t numActivatedComponents = activatedComponentIndices.
size();
101 if( defaultComponentIndex == (
Dtk_Int32 )i )
114 if (numActivatedComponents > 0)
117 for (
Dtk_Size_t i = 0; i < numActivatedComponents; i++)
120 Dtk_ComponentPtr activatedComponent = inComponent->GetChild(activatedComponentIndices[i]);
127 Dtk_ComponentPtr defaultChildComponent = inComponent->GetChild(defaultComponentIndex);
139 Dtk_Size_t numChildComponents = inComponent->GetNumChildren();
140 for (
Dtk_Size_t i = 0; i < numChildComponents; i++)