> > the random bg image at start is from the pixmaps.list, but the menus
> > themselves are in the menu.cfg file from your theme which is not
> > dynamic.
> 
> I wish they *could* be dynamic, but the challenge is finding a way to
> dynamically generate menus from directories without losing, e.g.,
> image geometry information.  I've considered a number of options:
> 
> 1.  Including geometry info in the filenames.
> 2.  Using a heuristic based on image size to guess tile/scale values.
> 3.  A script function with printf-style replaceables.
> 4.  ...others I can't recall right now.
> 
> If anyone has any ideas on how to better generate random pixmaps,
> pixmaps.list file(s), and/or dynamic image menus, please speak up.
> I'm open to suggestions, 'cause it's just as huge a pain in the ass
> for me as it is for everyone else.  Moreso, even. :)

it seems that most of the geometry info in the menuitems is also in
pixmaps.list.  the only info missing from pixmaps.list i can see is the
escape codes and the lack of the '+50+50' at the end of the scaled pix.  
also the @ in the pixmaps.list entry is a ; in the menuitem (looking at 
the code, i'm not sure i understand why you use both methods as they both 
do the same thing).

perhaps the simplest way is to build the menus based on that file, not the
directories.  anything that ends with ':tile' goes into the tiled submenu,
the rest go into the scaled submenu and use the filenames as the menuitem
text (this means no more names like '22.jpg', for example).

-- 
trey



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to