On Wed, 8 Jan 2020 19:17:02 +0100 leoutat...@gmx.fr said:

> On 1/8/20 11:49 AM, Carsten Haitzler (The Rasterman) wrote:
> > On Wed, 8 Jan 2020 10:15:58 +0100 leoutat...@gmx.fr said:
> >
> >> Hi
> >> Great new shot tool in Enlightenment git. It was a dream for me, now
> >> it's real :)
> >> Annoying default behaviour: each time i do select crop area, it opens
> >> new efm window. If I do many shots, i have to close many windows...Other
> >> point, Desktop destination was better/more logical than
> >> /home/user/.e/e/shots
> >
> > the shots dir is due to other complaints - wanting to cnp - dnd actually
> > solves that by offering dnd right there and then. its the same number of
> > dialogs - saving always involve a file selector... now the file selector is
> > gone and it always drops into the shots dir - if you want it somewhere else
> > instead of the filesel, dnd it out. so desktop isn't better as people often
> > have a workflow of never seeing the desktop...
> >
> > now yes - if you don't close the shots dir window it'll open up more of
> > them... that i should find a way of fixing... the problem is that shot
> > doesn't know what happened - it indirectly looks up the fileman action of
> > "open up this dir in an efm view". if fileman module is not loaded, nothing
> > will happen (but no errors).
> >
> > so i need to solve this over on the fileman side by adding a new action to
> > show a dir and if it's already up just raise/focus the window etc. ...
> >
> Thanks for these explanations. Other question, do you plan to add
> function to customize symbols/pictures? I like Malloc :) (i have a cat,
> too), but, if possible, i should like to add my own pictures...

Aaaaaah well adding a new tool is relatively easy in the code... if you're
willing to patch it. 3 new edje groups (1 for tool icon, 1 for the draw content
and an optional shadow group which you can have empty if there is no shadow). 1
line to add the new tool to the tool grid.

but the problem is these take more space and so the window grows vertically with
every ew row of tools. I've called it quits on adding more rows because of
this. To do more like you want, I'd have to make something far more elaborate
probably lists the contents of a directory looking for edj files with the above
groups and some metadata in them, some scrolled list to select them etc. and
I'd kind of called it a stop to adding more to shot at this point. I think I've
taken it quite a long way and I do not want it to become a bottomless pit of
"more features". :) So I've drawn the line already on adding new tools with the
existing infra. doing more now will involve something far more involved. I
could look into making the tool box/grid scrollable, but then still you'd have
to patch code to add things in. I'd have to write code to do the "hunt for
extra tool data" like above but... I kind of thing I've taken it far enough. I
think it's time maybe for patches? :) Mostly because I think that people other
than me should be able to add things to E they want, and this is a good
point to do it... :)


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to