On Sat, 20 Jun 2009 11:54:05 +0400 Sergey Semernin <sergey.semer...@gmail.com> said:
> Hello, All. > > In message from 20 june 2009 Carsten Haitzler wrote: > > > a bitmask is almost reasonable... as that limits us to 32 gadget locations > > (lets be real. we'll use an int). right now it seems ok, but... in the long > > run, i am not so sure. an enum and just check if the is_site returns true > > when passed the target location seems expandable enough for me. :) (that'll > > give us 4 billion or so locations... i'm happy with that) > > I don't think that we will have more than 32 sities for gadgets in future. > If that happens, then something wrong with GUI... By psychology, human works > with 7-9 essencies simultaneously. If we have more, then sharply increase > probability of human's error. That's all is my IMHO. :-) you are right... but that is number of items (it's actually 7 +- 2) that a human can keep in their short term memory at any time. but this doesnt require memory. i click on a shelf - add gadget, and forget. let me list some possible areas for gadgets: shelf desktop efm toolbar efm status layer efm control layer efm background layer efm icon window border control panel syscon panel enlightenment about dialog menus ... 12 already. 20 spots left. each "location"? i listed could have a unique gadget type put there. for example, i always wanted the ability to have a little cpu and memory meter in the titlebar of apps, so i know which app is using all my mem/cpu directly in the titlebar. no need for top or ps. just look at the screen. this of course should be offered by a module to provide such gadgets. in efm a control layer could be a place for a gadget to go, for example, when i open a dir full of only mp3's, the "music player" gadget appears, it changes efm into list mode and hooks into efm actions. clicking on a file selects it and starts playgin, with pause, next/prev, stop, volume etc. controls across the bottom of the window... think of one for photos too... status layer could be a player to just put background info - much like people use konky or other gadgets on the desktop, here it's be for the fm and the info could be per-window/director/tree info etc. an icon gadget could be something like a live preview offered by a module... ? and so on... always think things through and think ahead. don't design yourself into a corner. i can imagine more than 32 spots existing within the lifetime of e. :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel