Lines Matching refs:string

27 proc int GetSelectedSG(string $sgs[])
33 string $mats[] = `ls -sl -mat`;
40 string $connectedSgs[] =
58 global proc int nw4cSetRenderPriority_Get_UseRenderPriority(string $node)
64 global proc nw4cSetRenderPriority_Add_UseRenderPriority(string $node)
72 global proc nw4cSetRenderPriority_Set_UseRenderPriority(string $node, int $val)
78 proc SetJob_UseRenderPriority(string $node)
91 global proc nw4cSetRenderPriority_UseRenderPriorityCB(string $mainNode)
93 string $sgs[];
110 global proc int nw4cSetRenderPriority_Get_RenderPriority(string $node)
116 global proc nw4cSetRenderPriority_Add_RenderPriority(string $node)
124 global proc nw4cSetRenderPriority_Set_RenderPriority(string $node, int $val)
130 proc SetJob_RenderPriority(string $node)
141 global proc nw4cSetRenderPriority_RenderPriorityCB(string $mainNode)
143 string $sgs[];
169 proc int GetPriorityForList(string $sg)
185 proc SetPriorityForList(string $sg, int $val)
200 proc string FindListFieldForButton(string $childs[], string $btn)
202 string $btnS = match("[^|]+$", $btn);
207 string $child = $childs[$isg];
219 proc string GetSGFromListLabel(string $label)
221 string $mat = match("\\(.*\\)", $label);
234 string $childs[] = `layout -q -ca nw4cSetRenderPriority_SGList`;
239 string $btn = $childs[$isg];
240 string $label = `button -q -l $btn`;
241 //string $sg = match("[^ ]+", $label); // sgName ( matName )
242 string $sg = GetSGFromListLabel($label); // matName ( sgName )
250 string $ins[] = `listConnections -s 1 -d 0 ($sg + ".ss")`;
253 string $mat = $ins[0];
256 string $ots[] = `listConnections -s 0 -d 1 ($mat + ".oc")`;
280 global proc nw4cSetRenderPriority_ListButtonCB(string $btn, string $sg)
294 string $ins[] = `listConnections -s 1 -d 0 ($sg + ".ss")`;
318 string $childs[] = `layout -q -ca nw4cSetRenderPriority_SGList`;
319 string $field = FindListFieldForButton($childs, $btn);
329 global proc nw4cSetRenderPriority_ListPriorityCB(string $sg, int $val)
346 global proc string[] nw4cSetRenderPriority_ListDragCB(
347 string $dragControl, int $x, int $y, int $mods)
349 string $msgs[];
359 string $dragControl, string $dropControl, string $msgs[],
374 string $name0 = `button -q -l $dragControl`;
375 string $name1 = `button -q -l $dropControl`;
376 //string $sg0 = match("[^ ]+", $name0); // sgName ( matName )
377 //string $sg1 = match("[^ ]+", $name1); // sgName ( matName )
378 string $sg0 = GetSGFromListLabel($name0); // matName ( sgName )
379 string $sg1 = GetSGFromListLabel($name1); // matName ( sgName )
380 string $pri0 = GetPriorityForList($sg0);
381 string $pri1 = GetPriorityForList($sg1);
397 string $childs[] = `layout -q -ca nw4cSetRenderPriority_SGList`;
398 string $field0 = FindListFieldForButton($childs, $dragControl);
399 string $field1 = FindListFieldForButton($childs, $dropControl);
403 string $parentBak = `setParent -q`;
424 proc SortList(string $sgs[], string $mats[], int $pris[])
434 string $sg0 = $sgs[$isg];
435 string $mat0 = $mats[$isg];
437 string $sg1 = $sgs[$jsg];
438 string $mat1 = $mats[$jsg];
488 string $img = ($nw4cSetRenderPriority_SortOrder) ?
505 string $allSgs[] = `ls -typ shadingEngine`;
512 string $ins[] = `listConnections -s 1 -d 0 ($sg + ".ss")`;
519 string $childs[] = `layout -q -ca nw4cSetRenderPriority_SGList`;
532 string $sgs[], $mats[];
535 string $allSgs[] = `ls -typ shadingEngine`;
542 string $ins[] = `listConnections -s 1 -d 0 ($sg + ".ss")`;
547 string $mat = $ins[0];
562 string $parentBak = `setParent -q`;
564 string $childs[] = `layout -q -ca nw4cSetRenderPriority_SGList`;
581 string $lastBtn;
584 string $btn = $childs[$isg];
585 string $field = $childs[$sgSize + $isg];
619 string $btn = $childs[$isg];
631 string $btn = $childs[$isg];
701 proc string GetSGNameWithMat(string $sg)
703 string $name = "( " + $sg + " )";
704 string $ins[] = `listConnections -s 1 -d 0 ($sg + ".ss")`;
719 string $sgs[];
724 string $nodesName;
750 string $node = $sgs[0];
838 string $sgs[] = `ls -typ shadingEngine`;
882 string $ins[] = `listConnections -s 1 -d 0 ($node + ".ss")`;
898 string $msg = "Found: " + $nodeCount + " shadingEngine node";
961 string $form1 = `formLayout -nd 100`;
988 string $form2 = `formLayout -nd 400`;
1031 string $form3 = `formLayout -nd 400`;
1096 string $labelRow = `rowColumnLayout -nc 4
1112 string $scroll = `scrollLayout -hst 0`;
1149 string $closeCmd = "deleteUI nw4cSetRenderPriority_Win";
1150 string $closeBtn = `button -h 26 -l "Close" -c $closeCmd`;