- Author: Isaac Feitler <ike at freeshell dot org>
- Download: chaos-direct-port.tar.gz
this theme is a port of the chaos blackbox theme from http://blackbox.themes.org by artwiz at mindspring dot com
if you want the background that originally went with this theme, you can get it from the orgininal theme on blackbox.themes.org
this is a theme written to implement a blackbox style in sawfish, purely through rendering stuff. the layout and function of the frame and it's buttons are designed to be exactly like they are in blackbox. it might be fun to make the button layout customizable, though.
so far, the code I've written can only do blackbox styles that use solid textures or ones with horizontal, vertical, or diagonal gradients, and only with regular beveling (Bevel1 style in blackbox). this is enough for a few themes, but not all of them. to be able to do all of them, I need functions for rendering the rest of blackbox's types of gradients, and for rendering blackbox's Bevel2 style bevels.
to get pixel-for pixel duplication, I may also need new gradient rendering functions, and I will need to learn exactly how blackbox interlaces it's textures; my interlacing function is a crude approximation.
unfortunately, I don't know c/c++, so I haven't been able to decipher algorithms from the functions in Image.cc in the blackbox source, which seems to be where blackbox's gradient, bevel, and interlacing functions are.