createNewCollectionSet.gui 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContent = new GuiControl(CreateNewCollectionSetCtrl) {
  3. position = "0 0";
  4. extent = "1024 768";
  5. minExtent = "8 2";
  6. horizSizing = "right";
  7. vertSizing = "bottom";
  8. profile = "ToolsGuiDefaultNonModalProfile";
  9. visible = "1";
  10. active = "1";
  11. tooltipProfile = "GuiToolTipProfile";
  12. hovertime = "1000";
  13. isContainer = "1";
  14. canSave = "1";
  15. canSaveDynamicFields = "1";
  16. Enabled = "1";
  17. new GuiWindowCtrl() {
  18. text = "Name New Collection Set";
  19. resizeWidth = "1";
  20. resizeHeight = "0";
  21. canMove = "1";
  22. canClose = "1";
  23. canMinimize = "0";
  24. canMaximize = "0";
  25. canCollapse = "0";
  26. edgeSnap = "1";
  27. margin = "0 0 0 0";
  28. padding = "0 0 0 0";
  29. anchorTop = "1";
  30. anchorBottom = "0";
  31. anchorLeft = "1";
  32. anchorRight = "0";
  33. position = "362 334";
  34. extent = "355 99";
  35. minExtent = "48 92";
  36. horizSizing = "center";
  37. vertSizing = "center";
  38. profile = "ToolsGuiWindowProfile";
  39. visible = "1";
  40. active = "1";
  41. closeCommand = "Canvas.popDialog(CreateNewCollectionSetCtrl);";
  42. tooltipProfile = "ToolsGuiToolTipProfile";
  43. hovertime = "1000";
  44. isContainer = "1";
  45. canSave = "1";
  46. canSaveDynamicFields = "0";
  47. new GuiButtonCtrl() {
  48. text = "Select";
  49. groupNum = "-1";
  50. buttonType = "PushButton";
  51. useMouseEvents = "0";
  52. position = "207 68";
  53. extent = "71 22";
  54. minExtent = "8 2";
  55. horizSizing = "left";
  56. vertSizing = "top";
  57. profile = "ToolsGuiButtonProfile";
  58. visible = "1";
  59. active = "1";
  60. command = "Canvas.popDialog(CreateNewCollectionSetCtrl); AssetBrowser.saveCurrentFiltersAsCollection();";
  61. tooltipProfile = "ToolsGuiToolTipProfile";
  62. hovertime = "1000";
  63. isContainer = "0";
  64. canSave = "1";
  65. canSaveDynamicFields = "0";
  66. };
  67. new GuiButtonCtrl() {
  68. text = "Cancel";
  69. groupNum = "-1";
  70. buttonType = "PushButton";
  71. useMouseEvents = "0";
  72. position = "284 68";
  73. extent = "64 22";
  74. minExtent = "8 2";
  75. horizSizing = "left";
  76. vertSizing = "top";
  77. profile = "ToolsGuiButtonProfile";
  78. visible = "1";
  79. active = "1";
  80. command = "Canvas.popDialog(CreateNewCollectionSetCtrl);";
  81. tooltipProfile = "ToolsGuiToolTipProfile";
  82. hovertime = "1000";
  83. isContainer = "0";
  84. canSave = "1";
  85. canSaveDynamicFields = "0";
  86. };
  87. new GuiTextEditCtrl() {
  88. historySize = "0";
  89. tabComplete = "0";
  90. sinkAllKeyEvents = "0";
  91. password = "0";
  92. passwordMask = "*";
  93. maxLength = "1024";
  94. margin = "0 0 0 0";
  95. padding = "0 0 0 0";
  96. anchorTop = "1";
  97. anchorBottom = "0";
  98. anchorLeft = "1";
  99. anchorRight = "0";
  100. position = "8 38";
  101. extent = "341 18";
  102. minExtent = "8 2";
  103. horizSizing = "width";
  104. vertSizing = "height";
  105. profile = "ToolsGuiTextEditProfile";
  106. visible = "1";
  107. active = "1";
  108. tooltipProfile = "ToolsGuiToolTipProfile";
  109. hovertime = "1000";
  110. isContainer = "1";
  111. canSave = "1";
  112. canSaveDynamicFields = "0";
  113. internalName="collectionSetName";
  114. };
  115. };
  116. };
  117. //--- OBJECT WRITE END ---
  118. function CreateNewCollectionSetCtrl::onWake(%this)
  119. {
  120. %this-->collectionSetName.setText("");
  121. }