%
import random, string
sys.stdout=req
def rc(): return "#%06x" % random.randint(0,16777216)
things = {'control' : {
'kbd' : {'desc' : 'resizable, velocity sensitive keyboard'},
'grid' : {'desc' : 'x-y control surface'},
'ngrid' : {'desc' : 'multi-parameter x-y control surface'},
'filter' : {'desc' : 'biquad front-end'},
'nob' : {'desc' : 'micro/macro knob (tkzinc)'},
'knob' : {'desc' : 'micro/macro knob'}
}, 'edit' : {
'mat' : {'desc' : 'general purpose editing surface'},
'lg' : {'desc' : 'multi-set vector editor'},
'tile' : {'desc' : 'drum/grid/list editor'}
}, 'analyze' : {
'sp' : {'desc' : 'rgb-pixmap'},
'spectrum' : {'desc' : 'dual-band spectrum graph'},
'img' : {'desc' : 'images'}
}, 'container' : {
'dd' : {'desc' : 'drag\'n\'drop'},
'tree' : {'desc': 'heirarchical data management'},
'q' : {'desc' : 'queue'},
'dm' : {'desc' : 'dropdownmenu'}
}, '?' : {
'README' :{'desc' : """
these are my pd gui objects.
"""}, 'INSTALL' : {'desc' : """
cd /usr/local/lib/pd && cvs -d :pserver:anonymous@cvs.sf.net:/cvsroot/pure-data co extensions/gui/ix
echo -path /usr/local/lib/pd/extensions/gui/ix >> ~/.pdrc
see DEPS for more tips
"""}, 'DEPS' : {'desc' : """
tcl >=8.5:
cvs -d :pserver:anonymous@cvs.sf.net:/cvsroot/tcl co tcl && cd tcl/unix&& ./configure && make install & cd ../..
cvs -d :pserver:anonymous@cvs.sf.net:/cvsroot/tktoolkit co tk && cd tk/unix&& ./configure --enable-xft && make install & cd ../..
widgets are currently hosted by the [widget] external
cvs -d :pserver:anonymous@cvs.sf.net:/cvsroot/pure-data co externals/miXed && cd externals/miXed && make && cp bin/* /usr/local/lib/pd/extra
-or- checkout all of externals and in cd externals/build && scons install
a cornucopia and smorgasboard of Tk libraries are used throughout the feast
for ext in blt snack tkdnd tkimg tkpath tktable tktreectrl ; do cvs -d :pserver:anonymous@cvs.sf.net:/cvsroot/$ext co $ext; cd $ext && ./configure && make install && cd ..; done
last i checked tkpath was actually a module in tclbitprint
and thats all..
"""}
}}
script = []
for cat in things.iterkeys():
script.append("""document.getElementById('%s_items').style.display='none'""" % cat)
script.append("""document.getElementById('cat_%s').style.backgroundColor='gray'""" % cat)
print ""
script = []
for cat in things.iterkeys():
for item in things[cat].iterkeys():
script.append("""document.getElementById('item_info_%s').style.display='none'""" % item)
script.append("""document.getElementById('item_%s').style.backgroundColor='gray'""" % item)
print ""
%>