<?xml version="1.0" encoding="ISO-8859-1"?>

<screensaver name="boxfit" _label="Box Fit">

  <command arg="--root"/>

  <video href="https://www.youtube.com/watch?v=8GkcbBbcwBk"/>

  <hgroup>
   <vgroup>
    <number id="delay" type="slider" arg="--delay %"
            _label="Frame rate" _low-label="Low" _high-label="High"
            low="0" high="100000" default="20000"
            convert="invert"/>

    <hgroup>
     <number id="count" type="spinbutton" arg="--count %"
             _label="Boxes" low="1" high="1000" default="50"/>

     <number id="growby" type="spinbutton" arg="--growby %"
             _label="Grow by" low="1" high="10" default="1"/>
    </hgroup>

    <hgroup>
     <number id="spacing" type="spinbutton" arg="--spacing %"
             _label="Spacing" low="1" high="10" default="1"/>

     <number id="border" type="spinbutton" arg="--border %"
             _label="Border" low="1" high="10" default="1"/>
    </hgroup>

    <hgroup>
     <select id="mode">
       <option id="random"  _label="Boxes or circles"/>
       <option id="boxes"   _label="Boxes only"   arg-set="--mode squares"/>
       <option id="circles" _label="Circles only" arg-set="--mode circles"/>
     </select>

     <select id="mode2">
       <option id="gradient" _label="Color gradient"/>
       <option id="image"    _label="Grab images" arg-set="--grab"/>
     </select>
    </hgroup>
   </vgroup>

   <vgroup>
    <xscreensaver-image />

    <boolean id="peek" _label="Peek at underlying images" arg-set="--peek"/>

    <boolean id="showfps" _label="Show frame rate" arg-set="--fps"/>
   </vgroup>
  </hgroup>

  <xscreensaver-updater />

  <_description>
Packs the screen with growing squares or circles which grow until they touch,
then stop.

Written by Jamie Zawinski; 2005.
  </_description>
</screensaver>
