//--- OBJECT WRITE BEGIN ---
new GuiControl(ui_screenPlay) {
   profile = "GuiDefaultProfile";
   horizSizing = "width";
   vertSizing = "height";
   position = "0 0";
   extent = "640 480";
   minExtent = "8 8";
   visible = "1";
   helpTag = "0";
   
   new GuiChunkedBitmapCtrl(ui_screenPlayContainer) {
      profile = "GuiContentProfile";
      horizSizing = "width";
      vertSizing = "height";
      position = "0 0";
      extent = "640 480";
      minExtent = "8 8";
      visible = "0";
      bitmap = "./images/Background";
      useVariable = "0";
      tile = "0";

      new t2dSceneWindow(ui_t2dscenePool) {
         profile = "GuiContentProfile";
         horizSizing = "width";
         vertSizing = "height";
         position = "0 0";
         extent = "640 480";
         minExtent = "8 8";
         visible = "1";
         lockMouse = "1";
         useObjectMouseEvents = "1";
         useWindowMouseEvents = "1";
         renderChildFirst = "1";
         dragBall = "0";
         pocketP = "0";
         mouseDragged = "0";
         prevPower = "0.7";

         new GuiBitmapCtrl(ui_controlCenter) {
            profile = "GuiDefaultProfile";
            position = "490 502";
            extent = "260 125";
            bitmap = "pool/gui/images/hud/ControlCenterBackDrop";
         
            new GuiPoolEnglishCtrl(ui_englishControl) {
               profile = "GuiDefaultProfile";
               position = "21 22";
               extent = "69 65";
               visible = "1";
               colorBall = "./images/hud/englishball";
               greyBall = "./images/hud/englishball_grey";
               bitmapTick = "./images/hud/englishball_pip";
            };  
            new GuiPoolPowerCtrl(ui_powerSlider) {
               profile = "GuiDefaultProfile";
               position = "103 57";
               extent = "130 30";
               visible = "1";
               command = "$cuePower = ui_powerSlider.getValue();changedPower();ommSendPower();";
               range = "0.000000 1.000000";
               ticks = "24";
               value = "0.7";
               colorMeter = "./images/powerMeterinside";
               greyMeter = "./images/powerMeterinside_grey";
               colorFrame = "./images/powerMeter";
               endColor = "32 255 32 150";
               startColor = "255 64 64 255";
            };
         };
      };
   };
   new GuiWindowCtrl(ChatWindow) {
      profile = "GuiChatWindowProfile";
      horizSizing = "right";
      vertSizing = "bottom";
      position = "104 307";
      extent = "250 150";
      minExtent = "250 150";
      visible = "0";
      text = $Text::InGame::Chat;
      resizeWidth = "1";
      resizeHeight = "1";
      canMove = "1";
      canClose = "1";
      canMinimize = "0";
      canMaximize = "0";
      blendColor = "255 255 255 255";
      minSize = "250 150";
      closeBtnPos = "4";
      closeCommand = "ChatWindow.toggleChatWindow();";
      
      new GuiScrollCtrl(ChatWinScroll) {
         profile = "ChatWinScrollProfile";
         horizSizing = "width";
         vertSizing = "height";
         position = "8 28";
         extent = "236 90";
         minExtent = "8 8";
         visible = "1";
         hScrollBar = "alwaysOff";
         vScrollBar = "dynamic";
         willFirstRespond = "1";
         
         new GuiMessageVectorCtrl(ChatWinText) {
            profile = "ChatWinMessageProfile";
            position = "4 4";
            extent = "230 15";
            minExtent = "8 8";
            visible = "1";
            lineSpacing = "2";
            shadowOffset = "1 1";
            shadowColor = "0 0 0 100";
            lineContinuedIndex = "10";
         };
      };
      new GuiTextEditCtrl(ChatWinEntry) {
         profile = "ChatWinMessageEditProfile";
         position = "5 126";
         extent = "181 20";
         horizSizing = "width";
         vertSizing = "top";
         canKeyFocus = "true";
         tab = "true";
         validate = "ommSendGameChat(ChatWinEntry.getText());ChatWinEntry.setText(\"\");";
      };
      new GuiButtonCtrl(fobo) {
         profile = "GuiChatButtonProfile";
         horizSizing = "left";
         vertSizing = "top";
         position = "191 125";
         extent = "54 21";
         minExtent = "8 8";
         visible = "1";
         command = "ommSendGameChat(ChatWinEntry.getText());ChatWinEntry.setText(\"\");";
         text = "Send";
         groupNum = "-1";
         buttonType = "PushButton";
         simpleStyle = "0";
         helpTag = "0";
      };
   };
};
//--- OBJECT WRITE END ---
