Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

10.3 KB
Raw Blame
<?xml version="1.0" encoding="utf-8" ?>
<!--
  This is a modification of `HyperlinkSidebarTheme.xml`.
  Ref: https://github.com/wixtoolset/wix/blob/v5.0.0/src/ext/Bal/stdbas/Resources/HyperlinkSidebarTheme.xml
-->
<Theme xmlns="http://wixtoolset.org/schemas/v4/thmutil">
  <Font Id="0" Height="-12" Weight="500" Foreground="windowtext" Background="window">Segoe UI</Font>
  <Font Id="1" Height="-24" Weight="500" Foreground="windowtext">Segoe UI</Font>
  <Font Id="2" Height="-22" Weight="500" Foreground="graytext">Segoe UI</Font>
  <Font Id="3" Height="-12" Weight="500" Foreground="windowtext" Background="window">Segoe UI</Font>

  <Font Id="4" Height="-12" Weight="500" Foreground="ff0000" Background="window" Underline="yes">Segoe UI</Font>
  <Font Id="5" Height="-28" Weight="500" Foreground="graytext">Segoe UI</Font>
  <Font Id="6" Height="-12" Weight="600" Foreground="windowtext" Background="window">Segoe UI</Font>

  <!-- Divider -->
  <Font Id="7" Height="-24" Weight="500" Foreground="windowtext" Background="E0E0E0">Segoe UI</Font>

  <Window Width="600" Height="450" HexStyle="100a0000" FontId="0" Caption="#(loc.Caption)">
    <Label X="11" Y="-45" Width="-11" Height="2" FontId="7" Visible="yes" />
    <Page Name="Help">
      <Label X="80" Y="11" Width="-11" Height="32" FontId="1" DisablePrefix="yes">#(loc.Title)</Label>
      <ImageControl X="11" Y="11" Width="206" Height="64" ImageFile="logo.png" />
      <Label X="11" Y="80" Width="-11" Height="32" FontId="2" DisablePrefix="yes">#(loc.HelpHeader)</Label>
      <Label X="11" Y="121" Width="-11" Height="-35" FontId="3" DisablePrefix="yes">#(loc.HelpText)</Label>
      <Button Name="HelpCloseButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">
        <Text>#(loc.HelpCloseButton)</Text>
        <CloseWindowAction />
      </Button>
    </Page>

    <Page Name="Install">
      <ImageControl X="11" Y="11" Width="165" Height="400" ImageFile="logoside.png" />
      <Label X="185" Y="11" Width="-11" Height="40" FontId="5" DisablePrefix="yes">#(loc.InstallHeader)</Label>
      <Label X="185" Y="82" Width="-11" Height="160" FontId="3" DisablePrefix="yes">#(loc.InstallMessage)</Label>
      <Hypertext
        Name="EulaHyperlink"
        X="185"
        Y="-111"
        Width="-11"
        Height="17"
        TabStop="yes"
        FontId="3"
        HideWhenDisabled="yes"
      >#(loc.InstallLicenseLinkText)</Hypertext>
      <Label
        Name="InstallVersion"
        X="185"
        Y="-81"
        Width="-11"
        Height="17"
        FontId="3"
        DisablePrefix="yes"
        VisibleCondition="WixStdBAShowVersion"
      >#(loc.InstallVersion)</Label>
      <Checkbox
        Name="Custom_InstallGlazeWM"
        X="185"
        Y="180"
        Width="-11"
        Height="17"
        TabStop="yes"
        FontId="6"
        EnableCondition="0=1"
      >#(loc.CustomInstallGlazeWM)</Checkbox>
      <Hypertext
        X="204"
        Y="200"
        Width="-11"
        Height="20"
        FontId="3"
      >#(loc.CustomInstallGlazeWMHint)</Hypertext>
      <Checkbox
        Name="Custom_InstallZebar"
        X="185"
        Y="250"
        Width="-11"
        Height="17"
        TabStop="yes"
        FontId="6"
      >#(loc.CustomInstallZebar)</Checkbox>
      <Hypertext
        X="204"
        Y="270"
        Width="-11"
        Height="20"
        FontId="3"
      >#(loc.CustomInstallZebarHint1)</Hypertext>
      <Label
        X="204"
        Y="290"
        Width="-11"
        Height="20"
        FontId="3"
      >#(loc.CustomInstallZebarHint2)</Label>
      <Button
        Name="OptionsButton"
        X="-171"
        Y="-11"
        Width="75"
        Height="23"
        TabStop="yes"
        FontId="0"
        VisibleCondition="NOT WixStdBASuppressOptionsUI"
      >
        <Text>#(loc.InstallOptionsButton)</Text>
        <ChangePageAction Page="Options" />
      </Button>
      <Button Name="InstallButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">
        #(loc.InstallInstallButton)</Button>
      <Button Name="InstallCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">
        <Text>#(loc.InstallCancelButton)</Text>
        <CloseWindowAction />
      </Button>
    </Page>

    <Page Name="Options">
      <ImageControl X="11" Y="11" Width="206" Height="64" ImageFile="logo.png" />
      <Label X="11" Y="80" Width="-11" Height="30" FontId="2" DisablePrefix="yes">#(loc.OptionsHeader)</Label>
      <Label X="11" Y="121" Width="-11" Height="17" FontId="3">#(loc.OptionsLocationLabel)</Label>
      <Editbox
        Name="InstallFolder"
        X="11"
        Y="143"
        Width="-91"
        Height="21"
        TabStop="yes"
        FontId="3"
        FileSystemAutoComplete="yes"
      />
      <Button Name="BrowseButton" X="-11" Y="142" Width="75" Height="23" TabStop="yes" FontId="3">
        <Text>#(loc.OptionsBrowseButton)</Text>
        <BrowseDirectoryAction VariableName="InstallFolder" />
      </Button>
      <Button Name="OptionsOkButton" X="-91" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">
        <Text>#(loc.OptionsOkButton)</Text>
        <ChangePageAction Page="Install" />
      </Button>
      <Button Name="OptionsCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">
        <Text>#(loc.OptionsCancelButton)</Text>
        <ChangePageAction Page="Install" Cancel="yes" />
      </Button>
    </Page>

    <Page Name="Progress">
      <ImageControl X="11" Y="11" Width="206" Height="64" ImageFile="logo.png" />
      <Label X="11" Y="80" Width="-11" Height="30" FontId="2" DisablePrefix="yes">#(loc.ProgressHeader)</Label>
      <Label X="11" Y="141" Width="70" Height="17" FontId="3" DisablePrefix="yes">#(loc.ProgressLabel)</Label>
      <Label
        Name="OverallProgressPackageText"
        X="85"
        Y="141"
        Width="-11"
        Height="17"
        FontId="3"
        DisablePrefix="yes"
      >#(loc.OverallProgressPackageText)</Label>
      <Progressbar Name="OverallCalculatedProgressbar" X="11" Y="163" Width="-11" Height="20" />
      <Button
        Name="ProgressCancelButton"
        X="-11"
        Y="-11"
        Width="75"
        Height="23"
        TabStop="yes"
        FontId="0"
      >#(loc.ProgressCancelButton)</Button>
    </Page>
    <Page Name="Modify">
      <Label X="185" Y="11" Width="-11" Height="32" FontId="1" DisablePrefix="yes">#(loc.Title)</Label>
      <ImageControl X="11" Y="11" Width="165" Height="400" ImageFile="logoside.png" />
      <Label X="185" Y="50" Width="-11" Height="30" FontId="2" DisablePrefix="yes">#(loc.ModifyHeader)</Label>
      <Button
        Name="RepairButton"
        X="-171"
        Y="-11"
        Width="75"
        Height="23"
        TabStop="yes"
        FontId="0"
        HideWhenDisabled="yes"
      >#(loc.ModifyRepairButton)</Button>
      <Button
        Name="UninstallButton"
        X="-91"
        Y="-11"
        Width="75"
        Height="23"
        TabStop="yes"
        FontId="0"
      >#(loc.ModifyUninstallButton)</Button>
      <Button Name="ModifyCancelButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">
        <Text>#(loc.ModifyCancelButton)</Text>
        <CloseWindowAction />
      </Button>
    </Page>

    <Page Name="Success">
      <Label X="185" Y="11" Width="-11" Height="32" FontId="1" DisablePrefix="yes">#(loc.Title)</Label>
      <ImageControl X="11" Y="11" Width="165" Height="400" ImageFile="logoside.png" />
      <Label X="185" Y="50" Width="-11" Height="30" FontId="2" DisablePrefix="yes">
        <Text>#(loc.SuccessHeader)</Text>
        <Text Condition="WixBundleAction = 4">#(loc.SuccessUninstallHeader)</Text>
        <Text Condition="WixBundleAction = 6">#(loc.SuccessInstallHeader)</Text>
        <Text Condition="WixBundleAction = 8">#(loc.SuccessRepairHeader)</Text>
      </Label>
      <Button
        Name="LaunchButton"
        X="-91"
        Y="-11"
        Width="125"
        Height="23"
        TabStop="yes"
        FontId="0"
        HideWhenDisabled="yes"
      >#(loc.SuccessLaunchButton)</Button>
      <Label
        X="185"
        Y="-51"
        Width="400"
        Height="34"
        FontId="3"
        DisablePrefix="yes"
        VisibleCondition="WixStdBARestartRequired"
      >
        <Text>#(loc.SuccessRestartText)</Text>
        <Text Condition="WixBundleAction = 3">#(loc.SuccessUninstallRestartText)</Text>
      </Label>
      <Button
        Name="SuccessRestartButton"
        X="-91"
        Y="-11"
        Width="75"
        Height="23"
        TabStop="yes"
        FontId="0"
        HideWhenDisabled="yes"
      >#(loc.SuccessRestartButton)</Button>
      <Button Name="SuccessCloseButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">
        <Text>#(loc.SuccessCloseButton)</Text>
        <CloseWindowAction />
      </Button>
    </Page>

    <Page Name="Failure">
      <ImageControl X="11" Y="11" Width="165" Height="400" ImageFile="logoside.png" />
      <Label X="185" Y="50" Width="-11" Height="30" FontId="2" DisablePrefix="yes">
        <Text>#(loc.FailureHeader)</Text>
        <Text Condition="WixBundleAction = 4">#(loc.FailureUninstallHeader)</Text>
        <Text Condition="WixBundleAction = 6">#(loc.FailureInstallHeader)</Text>
        <Text Condition="WixBundleAction = 8">#(loc.FailureRepairHeader)</Text>
      </Label>
      <Hypertext
        Name="FailureLogFileLink"
        X="185"
        Y="121"
        Width="-11"
        Height="68"
        FontId="3"
        TabStop="yes"
        HideWhenDisabled="yes"
      >#(loc.FailureHyperlinkLogText)</Hypertext>
      <Hypertext
        Name="FailureMessageText"
        X="185"
        Y="-115"
        Width="-11"
        Height="80"
        FontId="3"
        TabStop="yes"
        HideWhenDisabled="yes"
      />
      <Label
        X="185"
        Y="-57"
        Width="-11"
        Height="80"
        FontId="3"
        DisablePrefix="yes"
        VisibleCondition="WixStdBARestartRequired"
      >#(loc.FailureRestartText)</Label>
      <Button
        Name="FailureRestartButton"
        X="-91"
        Y="-11"
        Width="75"
        Height="23"
        TabStop="yes"
        FontId="0"
        HideWhenDisabled="yes"
      >#(loc.FailureRestartButton)</Button>
      <Button Name="FailureCloseButton" X="-11" Y="-11" Width="75" Height="23" TabStop="yes" FontId="0">
        <Text>#(loc.FailureCloseButton)</Text>
        <CloseWindowAction />
      </Button>
    </Page>
  </Window>
</Theme>