﻿<?xml version="1.0" encoding="utf-8"?>
<!--Browser with minimize button and bookmarks dropdown by Othesus for GU32.3-->
<Page allowcloseontop="false" eq2usescomwndcontrols="true" Location="62,34" MinimumSize="600,150" Name="Browser" ScrollExtent="900,700" Size="900,700" UserMovable="true" UserResizable="true" Visible="false">
  <Button DynamicData="BrowserState.Back" LocalText="&lt;=" Location="30,40" MaximumSize="16384,32" MinimumSize="32,32" Name="Back" OnPress="parent.Browser.action = &quot;back&quot;
    set_focus Parent.Parent.Player.Fullpath" ScrollExtent="50,32" Size="50,32" Style="/CommonElements.PushButton.data.style">&lt;=</Button>
  <Button DynamicData="BrowserState.Forward" LocalText="=&gt;" Location="80,40" MaximumSize="16384,32" MinimumSize="32,32" Name="Forward" OnPress="parent.Browser.action = &quot;forward&quot;
    set_focus Parent.Parent.Player.Fullpath" ScrollExtent="50,32" Size="50,32" Style="/CommonElements.PushButton.data.style">=&gt;</Button>
  <Button DynamicData="BrowserState.Stop" IsCancelButton="true" LocalText="Stop" Location="130,40" MaximumSize="16384,32" MinimumSize="32,32" Name="Stop" OnPress="parent.Browser.action = &quot;stop&quot;
    set_focus Parent.Parent.Player.Fullpath" ScrollExtent="100,32" Size="100,32" Style="/CommonElements.PushButton.data.style">:457a4f2ee69b4677:Stop</Button>
  <Button LocalText="Home" Location="230,32" MaximumSize="16384,32" MinimumSize="32,32" Name="Home" OnPress="browser
  set_focus Parent.Parent.Player.Fullpath" ScrollExtent="100,32" Size="100,32" Style="/CommonElements.PushButton.data.style">Home</Button>
  <Button LocalText="Set Homepage" Location="230,60" MaximumSize="16384,26" MinimumSize="32,26" Name="SetHomepage" OnPress="cl_browser_homepage=Parent.URI.Text
  cl_browser_homepage=Parent.URI.Text
  set_focus Parent.Parent.Player.Fullpath" ScrollExtent="100,26" Size="100,26" Style="/CommonElements.SmallPushButton.data.style">Set Homepage</Button>
  <Button DynamicData="BrowserState.Refresh" LocalText="Refresh" Location="340,40" MaximumSize="16384,32" MinimumSize="32,32" Name="Refresh" OnPress="parent.Browser.action = &quot;refresh&quot;
  set_focus Parent.Parent.Player.Fullpath" ScrollExtent="100,32" Size="100,32" Style="/CommonElements.PushButton.data.style">:457a4f2e50c36698:Refresh</Button>
  <DataSource Name="BrowserState">
    <DynamicData comment="Browser&apos;s status (typially DD for a text control)" Name="Status"/>
    <DynamicData comment="Brower&apos;s progress loading the current page (typically DD for a progress control)" Name="Progress"/>
    <DynamicData comment="Browser&apos;s forward state (typially DD for a button)" Name="Forward"/>
    <DynamicData comment="Browser&apos;s back state (typially DD for a button)" Name="Back"/>
    <DynamicData comment="Browser&apos;s refresh state (typially DD for a button)" Name="Refresh"/>
    <DynamicData comment="Browser&apos;s stop state (typially DD for a button)" Name="Stop"/>
    <DynamicData comment="URI of browser&apos;s current page (typically DD for a text control)" Name="URI"/>
  </DataSource>
  <Textbox BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" Cursor="/Cursor.Text" DynamicData="BrowserState.URI" Enabled="false" LocalTooltip="click and hover over to activate" Location="445,42" MaximumSize="16384,30" MinimumSize="30,30" Name="URI" OnHoverout="Enabled=false
  Parent.Go.IsDefaultButton=false" PackSize="a" RStyleActivated="/CommonElements.Textfield.data.selected.rect" RStyleDefault="/CommonElements.Textfield.data.default.rect" RStyleDisabled="/CommonElements.Textfield.data.disabled.rect" RStyleDisabledActivated="/CommonElements.Textfield.data.disabled.rect" RStyleMouseOver="/CommonElements.Textfield.data.mouseover.rect" RStyleMouseOverActivated="/CommonElements.Textfield.data.selected.rect" RStyleMouseOverSelected="/CommonElements.Textfield.data.selected.rect" RStyleSelected="/CommonElements.Textfield.data.selected.rect" ScrollExtent="335,30" Size="335,30" Style="/CommonElements.Textfield.data.style"></Textbox>
  <Button BackgroundOpacity="0.0" Location="445,42" Name="ClickToActivate" OnPress="Parent.URI.Enabled=true
  Parent.Go.IsDefaultButton=true" PackSize="a" ScrollExtent="335,30" Size="335,30"></Button>
  <Include>eq2ui_mainhud_browser_bookmarks.xml</Include>
  <Dropdownbox DataSource="BookmarksDS" DropBy="700" Location="448,69" Name="Bookmarks" OnSelect="Parent.URI.Text = SelectedItem.href
    Parent.Go.Press=SelectedItem.GoFlag
    SelectedItemIndex=0
    set_focus Parent.Parent.Player.FullPath" PackSize="a,f" RowTemplate="/Templates.dropdowntemplate" ScrollExtent="329,17" Size="329,17" Style="/dropdownlist.dropdown_default"/>
  <Button LocalText="Go" Location="780,40" MaximumSize="16384,32" MinimumSize="32,32" Name="Go" OnPress="parent.Browser.URI = parent.URI.text
    set_focus Parent.Parent.Player.Fullpath" PackLocation="fff" ScrollExtent="100,32" Size="100,32" Style="/CommonElements.PushButton.data.style">:457a4f2edc13480b:Go</Button>
  <MozillaBrowser dynamicdata_back="BrowserState.Back" dynamicdata_forward="BrowserState.Forward" dynamicdata_progress="BrowserState.Progress" dynamicdata_refresh="BrowserState.Refresh" dynamicdata_status="BrowserState.Status" dynamicdata_stop="BrowserState.Stop" dynamicdata_uri="BrowserState.URI" Location="14,87" Name="Browser" PackSize="a,a" ScrollExtent="874,568" Size="874,568"/>
  <Text DynamicData="BrowserState.Status" Font="/TextStyles.Normal.NormalStyle" LocalText="Status..." Location="20,660" Name="Status" PackLocation=",fff" PackSize="a" ScrollExtent="600,16" Size="600,16" TextColor="#F3E9D7">:457a4f2e6afb0eca:Status...</Text>
  <Page DynamicData="BrowserState.Progress" DynamicDataFilter="0001" Location="622,662" Name="Progress" PackLocation="fff,fff" ScrollExtent="260,14" Size="260,14">
    <Progressbar DynamicData="BrowserState.Progress" Location="3,3" Name="Progress" Progress="0.500" ScrollExtent="254,8" Size="254,8" Style="progress_style"/>
    <Image AbsorbsInput="false" Location="3,3" Name="Bkg" ScrollExtent="254,8" Size="254,8" SourceRect="220,453,380,459" SourceResource="/images/window_elements_generic.dds"/>
    <Page AbsorbsInput="false" BackgroundOpacity="1.000" Name="Frame" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="260,14" Size="260,14"/>
    <ImageStyle Name="progress_fill">
      <ImageFrame Name="progress_fill" Source="images/window_elements_generic.dds" SourceRect="220,445,380,451"/>
    </ImageStyle>
    <ProgressbarStyle Bar.Background="progress_fill" Name="progress_style"/>
  </Page>
  <Page AbsorbsInput="false" Location="0,0" Name="WindowFrame" PackSize="absolute,absolute" ScrollExtent="900,700" Size="900,700">
    <Button LocalTooltip="Window Settings" Location="844,8" Name="Settings" OnPress="set_focus Parent.Parent.Parent.Player.FullPath" PackLocation="right,top" ScrollExtent="18,18" Size="18,18" Style="/WindowElements.WindowFrame.data.settings.style" Tooltip=":457a4f2eec278586:Window Settings" UserMovable="true"></Button>
    <Button LocalTooltip="Close" Location="867,8" Name="Close" PackLocation="right,top" ScrollExtent="18,18" Size="18,18" Style="/WindowElements.WindowFrame.data.close.style" Tooltip=":457a4f2e2d3f513f:Close" UserMovable="true"></Button>
    <Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="0,1" Name="LeftGrouper" RStyleDefault="/WindowElements.WindowFrame.data.left_grouper.rect" ScrollExtent="300,70" Size="300,70">
      <Page Location="22,10" Name="MinimizePage" ScrollExtent="13,9" Size="13,9">
        <Checkbox BackgroundOpacity="1.000" LocalTooltip="Mimimize" Name="Minimize" OnSet="OldSize=Parent.Parent.Parent.Parent.Size
          Parent.Parent.Parent.Parent.MinimumSize=325,27
          Parent.Parent.Parent.Parent.Size=325,27
          Parent.Parent.Parent.Parent.UserResizable=false
          set_focus Parent.Parent.Parent.Parent.Parent.Player.Fullpath
          LocalTooltip=Restore" OnUnset="Parent.Parent.Parent.Parent.MinimumSize=600,150
          Parent.Parent.Parent.Parent.Size=OldSize
          Parent.Parent.Parent.Parent.UserResizable=true
          set_focus Parent.Parent.Parent.Parent.Parent.Player.Fullpath
          LocalTooltip=Minimize" ScrollExtent="13,9" Size="13,9" Style="ShowControl.Style"></Checkbox>
        <Namespace Name="ShowControl">
          <CheckboxStyle Name="Style" RStyleActivated="activated.rect" RStyleDefault="default.rect"/>
          <Namespace Name="default">
            <RectangleStyle Center="center" CenterShrinkH="true" CenterShrinkV="true" Name="rect"/>
            <ImageStyle Filter="true" Name="center">
              <ImageFrame Name="image" Source="images/widgets01.dds" SourceRect="162,4,175,13"/>
            </ImageStyle>
          </Namespace>
          <Namespace Name="activated">
            <RectangleStyle Center="center" CenterShrinkH="true" CenterShrinkV="true" Name="rect"/>
            <ImageStyle Filter="true" Name="center">
              <ImageFrame Name="image" Source="images/widgets01.dds" SourceRect="162,15,175,24"/>
            </ImageStyle>
          </Namespace>
        </Namespace>
      </Page>
      <Text AbsorbsInput="false" Font="/TextStyles.Large.LargeStyle" LocalText="Browser" Location="36,5" MaxLines="1" Name="Title" PackSize="absolute,fixed" ScrollExtent="158,20" ShadowStyle="/ShadowStylesNew.Outline.style" Size="158,20" TextAlignment="Center" TextAlignmentVertical="Center" TextColor="#F0D080">:457a4f2eea51c959:Browser</Text>
    </Page>
    <Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="732,1" Name="RightGrouper" PackLocation="right,top" RStyleDefault="/WindowElements.WindowFrame.data.right_grouper.rect" ScrollExtent="157,70" Size="157,70"/>
    <Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="0,1" Name="Frame" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.WindowFrame.data.frame.rect" ScrollExtent="901,696" Size="901,696"/>
    <Page AbsorbsInput="false" backdropcontrol="true" BackgroundOpacity="1.000" Name="UpperTabBkg" PackLocation="left,top" PackSize="a,f" RStyleDefault="/WindowElements.WindowFrame.data.upper_tab_bkg.rect" ScrollExtent="901,92" Size="901,92"/>
    <Page AbsorbsInput="false" backdropcontrol="true" BackgroundOpacity="1.000" Location="0,648" Name="LowerTabBkg" PackLocation="left,bottom" PackSize="a,f" RStyleDefault="/WindowElements.WindowFrame.data.lower_tab_bkg.rect" ScrollExtent="901,49" Size="901,49"/>
    <Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="0,4" Name="Bkg" PackLocation="left,top" PackSize="absolute,absolute" RStyleDefault="/WindowElements.WindowFrame.data.bkg.rect" ScrollExtent="900,691" Size="900,691" Visible="false"/>
  </Page>
</Page>
