//--- OBJECT WRITE BEGIN ---
new GuiChunkedBitmapCtrl(FactsPage2Gui) {
   profile = "GuiContentProfile";
   horizSizing = "width";
   vertSizing = "height";
   position = "0 0";
   extent = "640 480";
   minExtent = "8 8";
   visible = "1";
   bitmap = "./SCD/factspage2a.png"; // this is the screen background bitmap
   useVariable = "0";
   tile = "0";
      helpTag = "0";
      
      new GuiBitmapButtonCtrl(ExampleBitmapButton) {
      profile = "GuiButtonProfile";
      horizSizing = "right";
      vertSizing = "bottom";
      position = "727 577"; // these are the screen coordinates where the button will appear
      extent = "142 109"; // this is how many pixels wide and tall the button will be (the button bitmap will stretch to fit this)
      minExtent = "8 8";
      visible = "1";
      command = "Canvas.setContent(mainMenuGui);"; // this is what the button will do when clicked -- in this case, switch to the "exampleFullScreenGUI"
      groupNum = "-1";
      buttonType = "PushButton";
      helpTag = "0";
      bitmap = "./SCD/avroarrowbutton"; // this is the name of the button bitmap that will be used -- don't add an extension or the automatic use of the highlight state will be broken
   };

};
//--- OBJECT WRITE END ---



