/* 
for theme makers here's a bunch of pre-defined macros to create backgrounds 
with various alignments, scaling and configs - they do what they say they do

SET_SOLID("red rgeeb blue")
this will set the rgb value for a solid color (r,g and b 0-255) - if there is
no backgorund image or overlay image ONLY this solid colro will be displayed.
if the backgroudn image is not tiled wherever there is no background image 
displayed this solid color will be displayed

ADD_BACKGROUND_TILED(file)
ADD_BACKGROUND_SCALED(file)
ADD_BACKGROUND_TILED_SCALED_VERTICALLY(file)
ADD_BACKGROUND_TILED_SCALED_HORIZONTALLY(file)
ADD_BACKGROUND_CENTERED(file)
ADD_BACKGROUND_TILED_CENTER(file)
ADD_BACKGROUND_SCALED_RETAIN_ASPECT(file)
ADD_BACKGROUND_TILED_SCALED_RETAIN_ASPECT(file)
ADD_BACKGROUND_SCALED_RETAIN_ASPECT_ALIGN_RIGHT(file)
ADD_BACKGROUND_SCALED_RETAIN_ASPECT_ALIGN_LEFT(file)
ADD_BACKGROUND_SCALED_RETAIN_ASPECT_ALIGN_TOP(file)
ADD_BACKGROUND_SCALED_RETAIN_ASPECT_ALIGN_BOTTOM(file)

that's for the background layer - you can ALSO add an overlay image on top of 
the background or solid color.

ADD_OVERLAY_IMAGE_CENTERED(file)
ADD_OVERLAY_IMAGE_TOP_LEFT(file)
ADD_OVERLAY_IMAGE_TOP_RIGHT(file)
ADD_OVERLAY_IMAGE_BOTTOM_LEFT(file)
ADD_OVERLAY_IMAGE_BOTTOM_RIGHT(file)
ADD_OVERLAY_IMAGE_BOTTOM_MIDDLE(file)
ADD_OVERLAY_IMAGE_TOP_MIDDLE(file)
ADD_OVERLAY_IMAGE_LEFT_MIDDLE(file)
ADD_OVERLAY_IMAGE_RIGHT_MIDDLE(file)
ADD_OVERLAY_IMAGE_SCALED(file)
ADD_OVERLAY_IMAGE_ASPECT(file)

so you can set the solid, then a backgoudn if you want one then an overlay if 
you want one
*/

/* default desktop bg for desktop 0 */
BEGIN_BACKGROUND("WORK_BG_00")
  SET_SOLID("27 66 99")
  ON_DESKTOP("0")
END_BACKGROUND

/* default desktop bg for desktop 1 */
BEGIN_BACKGROUND("WORK_BG_01")
  SET_SOLID("27 66 99")
  ADD_BACKGROUND_SCALED_RETAIN_ASPECT("backgrounds/images/Amiga_01.jpg")
  ON_DESKTOP("1")
END_BACKGROUND

/* default desktop bg for desktops 2 - 31 */
BEGIN_BACKGROUND("DEFAULT_AMIGA_BG")
SET_SOLID("27 66 99")
ON_DESKTOP("2")
ON_DESKTOP("3")
ON_DESKTOP("4")
ON_DESKTOP("5")
ON_DESKTOP("6")
ON_DESKTOP("7")
ON_DESKTOP("8")
ON_DESKTOP("9")
ON_DESKTOP("10")
ON_DESKTOP("11")
ON_DESKTOP("12")
ON_DESKTOP("13")
ON_DESKTOP("14")
ON_DESKTOP("15")
ON_DESKTOP("16")
ON_DESKTOP("17")
ON_DESKTOP("18")
ON_DESKTOP("19")
ON_DESKTOP("20")
ON_DESKTOP("21")
ON_DESKTOP("22")
ON_DESKTOP("23")
ON_DESKTOP("24")
ON_DESKTOP("25")
ON_DESKTOP("26")
ON_DESKTOP("27")
ON_DESKTOP("28")
ON_DESKTOP("29")
ON_DESKTOP("30")
ON_DESKTOP("31")
END_BACKGROUND

/* extra backgroudns defined - but not assigned toa  desktop - users can */
/* select these if they want */

BEGIN_BACKGROUND("WORK_BG_02")
  SET_SOLID("27 66 99")
  ADD_BACKGROUND_SCALED_RETAIN_ASPECT("backgrounds/images/Amiga_02.jpg")
END_BACKGROUND

