home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / RESOURCES / KOOB / control / client / interfaces / settingsscreen.gui < prev    next >
Encoding:
Text File  |  2006-07-06  |  14.4 KB  |  464 lines

  1. //--- OBJECT WRITE BEGIN ---
  2. new GuiControl(SetupScreen) {
  3.    profile = "GuiDefaultProfile";
  4.    horizSizing = "right";
  5.    vertSizing = "bottom";
  6.    position = "0 0";
  7.    extent = "640 480";
  8.    minExtent = "8 8";
  9.    visible = "1";
  10.    helpTag = "0";
  11.  
  12.    new GuiWindowCtrl() {
  13.       profile = "GuiWindowProfile";
  14.       horizSizing = "center";
  15.       vertSizing = "center";
  16.       position = "131 88"; 
  17.       extent = "377 303";
  18.       minExtent = "8 8";
  19.       visible = "1";
  20.       helpTag = "0";
  21.       text = "Options";
  22.       maxLength = "255";
  23.       resizeWidth = "0";
  24.       resizeHeight = "0";
  25.       canMove = "1";
  26.       canClose = "1";
  27.       canMinimize = "0";
  28.       canMaximize = "0";
  29.       minSize = "50 50";
  30.       closeCommand = "Canvas.popDialog(SetupScreen);";
  31.  
  32.       new GuiButtonCtrl() {
  33.          profile = "GuiButtonProfile";
  34.          horizSizing = "right";
  35.          vertSizing = "bottom";
  36.          position = "305 270";
  37.          extent = "60 23";
  38.          minExtent = "8 8";
  39.          visible = "1";
  40.          command = "Canvas.popDialog(SetupScreen);";
  41.          helpTag = "0";
  42.          text = "OK";
  43.          groupNum = "-1";
  44.          buttonType = "PushButton";
  45.       };
  46.       new GuiButtonCtrl() {
  47.          profile = "GuiButtonProfile";
  48.          horizSizing = "right";
  49.          vertSizing = "bottom";
  50.          position = "9 23";
  51.          extent = "78 23";
  52.          minExtent = "8 8";
  53.          visible = "1";
  54.          command = "SetupScreen.setPane(Graphics);";
  55.          helpTag = "0";
  56.          text = "Graphics";
  57.          groupNum = "-1";
  58.          buttonType = "PushButton";
  59.       };
  60.       new GuiButtonCtrl() {
  61.          profile = "GuiButtonProfile";
  62.          horizSizing = "right";
  63.          vertSizing = "bottom";
  64.          position = "102 23";
  65.          extent = "78 23";
  66.          minExtent = "8 8";
  67.          visible = "1";
  68.          command = "SetupScreen.setPane(Audio);";
  69.          helpTag = "0";
  70.          text = "Audio";
  71.          groupNum = "-1";
  72.          buttonType = "PushButton";
  73.       };
  74.       new GuiButtonCtrl() {
  75.          profile = "GuiButtonProfile";
  76.          horizSizing = "right";
  77.          vertSizing = "bottom";
  78.          position = "195 23";
  79.          extent = "78 23";
  80.          minExtent = "8 8";
  81.          visible = "1";
  82.          command = "SetupScreen.setPane(Network);";
  83.          helpTag = "0";
  84.          text = "Network";
  85.          groupNum = "-1";
  86.          buttonType = "PushButton";
  87.       };
  88.       new GuiButtonCtrl() {
  89.          profile = "GuiButtonProfile";
  90.          horizSizing = "right";
  91.          vertSizing = "bottom";
  92.          position = "288 23";
  93.          extent = "78 23";
  94.          minExtent = "8 8";
  95.          visible = "1";
  96.          command = "SetupScreen.setPane(Controls);";
  97.          helpTag = "0";
  98.          text = "Controls";
  99.          groupNum = "-1";
  100.          buttonType = "PushButton";
  101.       };
  102.       new GuiControl(OptAudioPane) {
  103.          profile = "GuiWindowProfile";
  104.          horizSizing = "right";
  105.          vertSizing = "bottom";
  106.          position = "9 55";
  107.          extent = "357 208";
  108.          minExtent = "8 8";
  109.          visible = "0";
  110.          helpTag = "0";
  111.  
  112.          new GuiSliderCtrl(OptAudioVolumeSim) {
  113.             profile = "GuiSliderProfile";
  114.             horizSizing = "right";
  115.             vertSizing = "bottom";
  116.             position = "107 172";
  117.             extent = "240 34";
  118.             minExtent = "8 8";
  119.             visible = "1";
  120.             variable = "value";
  121.             altCommand = "OptAudioUpdateChannelVolume($SimAudioType, OptAudioVolumeSim.value);";
  122.             helpTag = "0";
  123.             range = "0.000000 1.000000";
  124.             ticks = "1000";
  125.             value = "0.8";
  126.          };
  127.          new GuiTextCtrl() {
  128.             profile = "GuiTextProfile";
  129.             horizSizing = "right";
  130.             vertSizing = "bottom";
  131.             position = "11 94";
  132.             extent = "72 18";
  133.             minExtent = "8 8";
  134.             visible = "1";
  135.             helpTag = "0";
  136.             text = "Master Volume";
  137.             maxLength = "255";
  138.          };
  139.          new GuiTextCtrl() {
  140.             profile = "GuiTextProfile";
  141.             horizSizing = "right";
  142.             vertSizing = "bottom";
  143.             position = "22 132";
  144.             extent = "62 18";
  145.             minExtent = "8 8";
  146.             visible = "1";
  147.             helpTag = "0";
  148.             text = "Shell Volume";
  149.             maxLength = "255";
  150.          };
  151.          new GuiTextCtrl() {
  152.             profile = "GuiTextProfile";
  153.             horizSizing = "right";
  154.             vertSizing = "bottom";
  155.             position = "28 169";
  156.             extent = "56 18";
  157.             minExtent = "8 8";
  158.             visible = "1";
  159.             helpTag = "0";
  160.             text = "Sim Volume";
  161.             maxLength = "255";
  162.          };
  163.          new GuiSliderCtrl(OptAudioVolumeMaster) {
  164.             profile = "GuiSliderProfile";
  165.             horizSizing = "right";
  166.             vertSizing = "bottom";
  167.             position = "106 98";
  168.             extent = "240 34";
  169.             minExtent = "8 8";
  170.             visible = "1";
  171.             variable = "value";
  172.             altCommand = "OptAudioUpdateMasterVolume(OptAudioVolumeMaster.value);";
  173.             helpTag = "0";
  174.             range = "0.000000 1.000000";
  175.             ticks = "1000";
  176.             value = "0.8";
  177.          };
  178.          new GuiSliderCtrl(OptAudioVolumeShell) {
  179.             profile = "GuiSliderProfile";
  180.             horizSizing = "right";
  181.             vertSizing = "bottom";
  182.             position = "106 135";
  183.             extent = "240 34";
  184.             minExtent = "8 8";
  185.             visible = "1";
  186.             variable = "value";
  187.             altCommand = "OptAudioUpdateChannelVolume($GuiAudioType, OptAudioVolumeShell.value);";
  188.             helpTag = "0";
  189.             range = "0.000000 1.000000";
  190.             ticks = "1000";
  191.             value = "0.8";
  192.          };
  193.          new GuiScrollCtrl() {
  194.             profile = "GuiScrollProfile";
  195.             horizSizing = "right";
  196.             vertSizing = "bottom";
  197.             position = "140 13";
  198.             extent = "200 80";
  199.             minExtent = "8 2";
  200.             visible = "1";
  201.             helpTag = "0";
  202.             willFirstRespond = "1";
  203.             hScrollBar = "alwaysOff";
  204.             vScrollBar = "alwaysOn";
  205.             constantThumbHeight = "0";
  206.             childMargin = "0 0";
  207.  
  208.             new GuiMLTextCtrl(OptAudioInfo) {
  209.                profile = "GuiMLTextProfile";
  210.                horizSizing = "right";
  211.                vertSizing = "bottom";
  212.                position = "2 2";
  213.                extent = "190 126";
  214.                minExtent = "8 8";
  215.                visible = "1";
  216.                helpTag = "0";
  217.                lineSpacing = "2";
  218.                allowColorChars = "0";
  219.                maxChars = "-1";
  220.             };
  221.          };
  222.          new GuiPopUpMenuCtrl(OptAudioDriverList) {
  223.             profile = "GuiPopUpMenuProfile";
  224.             horizSizing = "right";
  225.             vertSizing = "bottom";
  226.             position = "10 32";
  227.             extent = "120 20";
  228.             minExtent = "8 8";
  229.             visible = "1";
  230.             helpTag = "0";
  231.             maxLength = "255";
  232.             maxPopupHeight = "200";
  233.          };
  234.          new GuiTextCtrl() {
  235.             profile = "GuiTextProfile";
  236.             horizSizing = "right";
  237.             vertSizing = "bottom";
  238.             position = "11 9";
  239.             extent = "63 18";
  240.             minExtent = "8 8";
  241.             visible = "1";
  242.             helpTag = "0";
  243.             text = "Audio Driver:";
  244.             maxLength = "255";
  245.          };
  246.       };
  247.       new GuiControl(OptGraphicsPane) {
  248.          profile = "GuiWindowProfile";
  249.          horizSizing = "right";
  250.          vertSizing = "bottom";
  251.          position = "9 55";
  252.          extent = "357 208";
  253.          minExtent = "8 8";
  254.          visible = "1";
  255.          helpTag = "0";
  256.  
  257.          new GuiTextCtrl() {
  258.             profile = "GuiTextProfile";
  259.             horizSizing = "right";
  260.             vertSizing = "bottom";
  261.             position = "21 10";
  262.             extent = "70 18";
  263.             minExtent = "8 8";
  264.             visible = "1";
  265.             helpTag = "0";
  266.             text = "Display Driver:";
  267.             maxLength = "255";
  268.          };
  269.          new GuiTextCtrl() {
  270.             profile = "GuiTextProfile";
  271.             horizSizing = "right";
  272.             vertSizing = "bottom";
  273.             position = "21 34";
  274.             extent = "53 18";
  275.             minExtent = "8 8";
  276.             visible = "1";
  277.             helpTag = "0";
  278.             text = "Resolution:";
  279.             maxLength = "255";
  280.          };
  281.          new GuiCheckBoxCtrl(OptGraphicsFullscreenToggle) {
  282.             profile = "GuiCheckBoxProfile";
  283.             horizSizing = "right";
  284.             vertSizing = "bottom";
  285.             position = "21 120";
  286.             extent = "137 25";
  287.             minExtent = "8 8";
  288.             visible = "1";
  289.             variable = "$pref::Video::fullScreen";
  290.             helpTag = "0";
  291.             text = "Fullscreen Video";
  292.             groupNum = "-1";
  293.             buttonType = "ToggleButton";
  294.                maxLength = "255";
  295.          };
  296.          new GuiButtonCtrl() {
  297.             profile = "GuiButtonProfile";
  298.             horizSizing = "right";
  299.             vertSizing = "bottom";
  300.             position = "149 171";
  301.             extent = "78 23";
  302.             minExtent = "8 8";
  303.             visible = "1";
  304.             command = "SetupScreen.applyGraphics();";
  305.             helpTag = "0";
  306.             text = "Apply";
  307.             groupNum = "-1";
  308.             buttonType = "PushButton";
  309.          };
  310.          new GuiPopUpMenuCtrl(OptGraphicsDriverMenu) {
  311.             profile = "GuiPopUpMenuProfile";
  312.             horizSizing = "right";
  313.             vertSizing = "bottom";
  314.             position = "113 10";
  315.             extent = "130 23";
  316.             minExtent = "8 8";
  317.             visible = "1";
  318.             helpTag = "0";
  319.             maxLength = "255";
  320.             maxPopupHeight = "200";
  321.          };
  322.          new GuiPopUpMenuCtrl(OptGraphicsResolutionMenu) {
  323.             profile = "GuiPopUpMenuProfile";
  324.             horizSizing = "right";
  325.             vertSizing = "bottom";
  326.             position = "113 36";
  327.             extent = "130 23";
  328.             minExtent = "8 8";
  329.             visible = "1";
  330.             helpTag = "0";
  331.             maxLength = "255";
  332.             maxPopupHeight = "200";
  333.          };
  334.          new GuiTextCtrl() {
  335.             profile = "GuiTextProfile";
  336.             horizSizing = "right";
  337.             vertSizing = "bottom";
  338.             position = "21 60";
  339.             extent = "46 18";
  340.             minExtent = "8 8";
  341.             visible = "1";
  342.             helpTag = "0";
  343.             text = "Bit Depth:";
  344.             maxLength = "255";
  345.          };
  346.          new GuiPopUpMenuCtrl(OptGraphicsBPPMenu) {
  347.             profile = "GuiPopUpMenuProfile";
  348.             horizSizing = "right";
  349.             vertSizing = "bottom";
  350.             position = "113 62";
  351.             extent = "130 23";
  352.             minExtent = "8 8";
  353.             visible = "1";
  354.             helpTag = "0";
  355.             maxLength = "255";
  356.             maxPopupHeight = "200";
  357.          };
  358.          new GuiTextCtrl() {
  359.             profile = "GuiTextProfile";
  360.             horizSizing = "right";
  361.             vertSizing = "bottom";
  362.             position = "21 86";
  363.             extent = "59 18";
  364.             minExtent = "8 2";
  365.             visible = "1";
  366.             helpTag = "0";
  367.             text = "Screenshot:";
  368.             maxLength = "255";
  369.          };
  370.          new GuiPopUpMenuCtrl(OptScreenshotMenu) {
  371.             profile = "GuiPopUpMenuProfile";
  372.             horizSizing = "right";
  373.             vertSizing = "bottom";
  374.             position = "113 88";
  375.             extent = "130 23";
  376.             minExtent = "8 2";
  377.             visible = "1";
  378.             helpTag = "0";
  379.             maxLength = "255";
  380.             maxPopupHeight = "200";
  381.          };
  382.       };
  383.       new GuiControl(OptNetworkPane) {
  384.          profile = "GuiWindowProfile";
  385.          horizSizing = "right";
  386.          vertSizing = "bottom";
  387.          position = "9 55";
  388.          extent = "357 208";
  389.          minExtent = "8 8";
  390.          visible = "0";
  391.          helpTag = "0";
  392.       };
  393.       new GuiControl(OptControlsPane) {
  394.          profile = "GuiWindowProfile";
  395.          horizSizing = "right";
  396.          vertSizing = "bottom";
  397.          position = "9 55";
  398.          extent = "357 208";
  399.          minExtent = "8 8";
  400.          visible = "0";
  401.          helpTag = "0";
  402.  
  403.          new GuiScrollCtrl() {
  404.             profile = "GuiScrollProfile";
  405.             horizSizing = "right";
  406.             vertSizing = "bottom";
  407.             position = "0 26";
  408.             extent = "357 182";
  409.             minExtent = "8 8";
  410.             visible = "1";
  411.             helpTag = "0";
  412.             willFirstRespond = "1";
  413.             hScrollBar = "alwaysOff";
  414.             vScrollBar = "alwaysOn";
  415.             constantThumbHeight = "0";
  416.             childMargin = "0 0";
  417.                defaultLineHeight = "15";
  418.  
  419.             new GuiTextListCtrl(OptRemapList) {
  420.                profile = "GuiTextListProfile";
  421.                horizSizing = "right";
  422.                vertSizing = "bottom";
  423.                position = "2 2";
  424.                extent = "335 336";
  425.                minExtent = "8 8";
  426.                visible = "1";
  427.                altCommand = "OptRemapList.doRemap();";
  428.                helpTag = "0";
  429.                enumerate = "0";
  430.                resizeCell = "1";
  431.                columns = "0 160";
  432.                fitParentWidth = "1";
  433.                clipColumnText = "0";
  434.             };
  435.          };
  436.          new GuiTextCtrl() {
  437.             profile = "GuiTextProfile";
  438.             horizSizing = "right";
  439.             vertSizing = "bottom";
  440.             position = "5 2";
  441.             extent = "64 18";
  442.             minExtent = "8 8";
  443.             visible = "1";
  444.             helpTag = "0";
  445.             text = "Control Name";
  446.             maxLength = "255";
  447.          };
  448.          new GuiTextCtrl() {
  449.             profile = "GuiTextProfile";
  450.             horizSizing = "right";
  451.             vertSizing = "bottom";
  452.             position = "166 2";
  453.             extent = "72 18";
  454.             minExtent = "8 8";
  455.             visible = "1";
  456.             helpTag = "0";
  457.             text = "Control Binding";
  458.             maxLength = "255";
  459.          };
  460.       };
  461.    };
  462. };
  463. //--- OBJECT WRITE END ---
  464.