[ardour-dev] cvs commit to remove xpms from code and create runtime loadable image files

Doug McLain doug at nostar.net
Thu Mar 9 23:54:50 PST 2006


Paul, Jesse, Taybin, and whoever else is involved:

I just commited some code that loads 2 xpms from xpm files, that were 
hard coded.  They are the X and <-> buttons at the top of each mixer 
strip.  The method I committed requires adding an optional subdir 
argument to the ARDOUR::find_data_file() function, which defines the 
subdirectory in which the xpm files are located.  I also attatched a 
patch that does it a different way.  The patch creates a new function 
ARDOUR::find_image_file() with the common single filename argument, and 
has the pixmaps subdirectory hardcoded into the function.  This method 
also creates a new env variable called ARDOUR_IMAGE_PATH.  I couldn't 
decide which was the better way, so please tell me :)

A link to gtk2_ardour/pixmaps/ has to be added to ~/.ardour for this to 
work.  If you think this is ok (whichever method) I would like to create 
files from all of the xpms hardcoded or from misc_xpms.

Doug
--
http://nostar.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: other_way.diff
Type: text/x-patch
Size: 4629 bytes
Desc: not available
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20060310/7a8b02dd/attachment.bin>


More information about the Ardour-Dev mailing list