Send to mailing list this time. (I hate web-mail
interfaces!)
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre. http://uk.security.yahoo.com--- Begin Message ---
--- Tuomo Valkonen <[EMAIL PROTECTED]> wrote:
> On 2005-09-19, David Tweed <[EMAIL PROTECTED]>
> wrote:
> > Because it seems to require adding a field to
> > a struct in ioncore, I don't think it can be
> written
> > as a neat extension module.
>
> Are you sure the field wouldn't fit there in
> standard Ion? And if not, if
> it is something that "inherits" Obj, or something
> that you can otherwise
> get notified of the destroyal of, would using a hash
> or search tree be too
> inefficient? libtu/rb.h provides red-black trees,
> and there are numerous
> examples of their use around the code.
Rather than continue to talk in the abstract, I've
attatched the very preliminary patch I've currently
got. What it aims to do is that, in an Ion frame with
the tab-bar hidden, when that frame is unfocussed it
displays the title of the currently active client in a
minimal size window in the top-right corner of the
frame, and when the frame becomes focussed removes it.
(A screenshot showing this is currently at
http://homepages.inf.ed.ac.uk/dtweed/screenshot.jpg
which is probably clearer than the words. (Long window
on right is currently focussed.)) It doesn't attempt
to implement the feature hyper-efficiently (it doesn't
try to hide & re-use windows, just creates & destroys
them as needed), and at the moment it's got bugs like
keeping displaying the `old' title when the visible
client window vanishes whilst the frame is unfocussed.
And it'll probably only be of interest to a tiny
minority of people like me who has so many open
windows that standard tabs shrink incredibly small.
So, you're suggesting that instead of embedding
WInfoWin *tagOut within WFrame, maintain a dictionary
of some sort WFrame ptrs associating them with the
associated WInfoWin*, allowing refactoring into a
module? I'll have a look into this possiblity.
cheers, dave
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre. http://uk.security.yahoo.com
diffFile
Description: 471691818-diffFile
--- End Message ---