|
From: Ethan A M. <merritt@u.washington.edu> - 2006-06-18 02:59:03
|
On Saturday 17 June 2006 09:47 pm, Timoth=E9e Lecomte wrote:
> You can embed a PNG file in the source code after having converted to a=20
> C array. Thus you profit from the compression of the PNG format=20
> (compared to including XPM files) and you don't have to care about the=20
> paths as the files are included at compile time.
OK by me. =20
But in the abstract, I'd still like to leave open the possibility
of users adding their own custom menu icons with bound actions.=20
As I envision it, the system would work similarly to the
existing 'bind' command. E.g. instead of binding to a key, you'd
be binding to a menu button:
bind icon "paintbox.png" \
action "load 'linestyles'; set style incr user; replot"
(that doesn't quite work for other reasons, but you get the idea)
=2D-=20
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle 98195-7742
|