#!/bin/sh
#$Id: bw-and-quanta 25 2009-03-13 16:07:51Z j-waldby $

# B is exported so it will be available in yume's environment.
# Variables in yume's environment are available for substitution
# within bw-and-quanta.in, a file included via -in.

# Change B if you use a browser other than firefox.
export B='firefox'

# H is height of each menu; Y is y-location of top edge.
H=200 Y=20

bwe() {
    T=$1
    shift
    yume -at 400x$H+8+$Y -ti "$0 - $T $*"  $*  -in bw-and-quanta.in &
#   Compute next value of Y
    Y=`expr $Y + $H + 35`
}

bwe "No Margin or Quanta or bw"
bwe "" -de buxMargin:50 -de buQuanta:50
bwe "" -de buxMargin:10 -de buQuanta:1000
bwe "" -bw aaaaaaaa
