Backdrop Applet Plans
George Peter Staplin: To see what we have so far unwrap your starkit, cd to the applets subdirectory, and run:
tclkit8.5 applet_frontend.tcl backdrop.tcl
The Preview area should display a scaled image using TG.
We need a small pane with "Apply to Desktops:"
Work WWW Media ... (using the desktop list from a running Whim)
In the options area have:
[] Scale to fit [] Enable Gradient o Horizontal Gradient o Vertical Gradient
The file listbox should list directories with trailing / or in a different color.
(Only display *.PNG *.JPG *.JPEG *.png *.jpg *.jpeg)
We should add (optional) tile support. This means we should restructure Whim.img, so that we have a tile.img perhaps. The tile.img should contain code for creating widget aliases for w/ and w/o tile.
The start.applet code will need to copy the tile.img out of the VFS if needed.
Make sure we can test all of backdrop.tcl in the applet_frontend.tcl. Add any necessary code to applet_frontend.tcl to allow for this.
whim_config keys:
desktop_${name}_image image
desktop_${name}_tile_image boolean
desktop_${name}_gradient boolean
desktop_${name}_gradient_direction horizontal|vertical
desktop_${name}_gradient_start_color color
desktop_${name}_gradient_end_color colorWhile we're at it we might as well change to this scheme for:
desktop_${name}_background_colorWe need to remove keys from existing ::whim_config arrays (during upgrades) after sourcing ~/.whim_behavior. This could be tricky. Keep a log of every item removed or changed.
Have compat procs that handle the merging of certain keys to our new per-desktop scheme (if needed).
See also: Configuration File Compatibility