//--- OBJECT WRITE BEGIN ---
new GuiControl(BlackBackgroundTextDialog) {
   profile = "GuiDefaultProfile";
   horizSizing = "right";
   vertSizing = "bottom";
   position = "0 0";
   extent = "800 600";
   minExtent = "8 2";
   visible = "1";
   alpha = "1";

   new GuiBitmapCtrl(blackBackgroundTextDialog_image) {
      profile = "GuiDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "0 0";
      extent = "800 600";
      minExtent = "8 2";
      visible = "1";
      alpha = "1";
      bitmap = "./images/black.jpg";
      wrap = "0";
   };
   new GuiMLTextCtrl(BlackBackgroundTextDialog_Text) {
      profile = "GuiMediumWhiteCenteredTextProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "1 168";
      extent = "799 28";
      minExtent = "8 2";
      visible = "1";
      alpha = "1";
      lineSpacing = "2";
      allowColorChars = "0";
      maxChars = "-1";
      text = "<just:center>Big Text Goes HERE!";
   };
   new GuiMLTextCtrl(BlackBackgroundTextDialog_LoadingText) {
      profile = "GuiDropTextProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "644 570";
      extent = "216 22";
      minExtent = "8 2";
      visible = "0";
      alpha = "1";
      lineSpacing = "2";
      allowColorChars = "0";
      maxChars = "-1";
      text = "<just:center>Loading...";
   };
};
//--- OBJECT WRITE END ---

function BlackBackgroundTextDialog::onWake()
{
    canvas.cursorOff();
    canvas.hideCursor();
}
