[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    Re: Updates to effects
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2007-07-17 14:26:06
Message-ID: 200707171626.06508.l.lunak () suse ! cz
[Download RAW message or body]

On Thursday 05 of July 2007, Rivo Laks wrote:
> Ühel kenal päeval (neljapäev 05 juuli 2007) kirjutas Philip Falkner:
> > On Tuesday 26 June 2007 13:07:44 Rivo Laks wrote:
> > > Something like that sounds quite fine, though perhaps there could be a
> > > few more for shaders and whatnot.
> > > And we'll also need some kind of more descriptive names for them.
> > > That's the difficult part ;-)
> >
> > Well, why not just have arbitrary numbers?  Let every effect have a
> > "priority" number, e.g. 1 to 100 with 1 loaded first.  We ship effects
> > with relatively spread out numbers (10, 20, ...).  Effects that don't
> > interfere with each other could share numbers, like DimInactive and
> > DialogParent.
>
> Categories (as in names) might be simpler to remember...

 They can also be spaced as necessary, unlike arbitrarily selected numbers. If 
you need a new category between two existing ones, just add it there. If you 
used 19 and 20 as names for them, you're out of luck, unless you want to go 
with fractions.

> Anyway, I've got the ordering implemented here, but I don't seem to be able
> to come up with decent names for the categories, so I could commit it with
> numbers for now. If someone comes up with good enough names later, it can
> be changed quite easily. What do you think?

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak@suse.cz , l.lunak@kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http//www.suse.cz
_______________________________________________
Kwin mailing list
Kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic