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

List:       kde-accessibility
Subject:    [Kde-accessibility] Re: [Kwin] Option for large window borders
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2003-09-19 16:10:29
[Download RAW message or body]

On Thursday 18 of September 2003 12:05, Gunnar Schmi Dt wrote:
[snip]
>
> >  Moreover, if you change the style, you'll often have to adjust this
> > setting anyway, and if you don't, styles may get sizes they don't
> > support.
> >
> >  I think we can just have some kind of StyleSupportsBorderSizesAtAll, and
> > maybe StyleHasGoodSupportForBorders (4-7). Styles that don't support full
> > range of sizes should simply group them as they see fit(e.g.
> > Tiny+Normal->Normal, Large->Large, others->VeryLarge). The KCM module
> > would say that the style doesn't support all the sizes.
>
> I do not fully understand what you mean in that paragraph. If I understand
> it correctly you want to add two virtual methods. The first one
> (StyleSupportsBorderSizesAtAll) returns true if the style supports the
> border size setting, the other one (StyleHasGoodSupportForBorders) returns
> true if the style supports huge borders? In that case the name for the
> second method is somewhat misleading.

 I'm a member of the CantComeUpWithAGoodName club. I didn't intend to use 
exactly these names.

>
> Maybe we could instead add a virtual method supportedBorderSizes(), that
> returns a set of all supported border styles? In that case the GUI should
> not contain a slider for the border sizes but a combo box instead.

 This looks like a good idea. And it will also allow checking the decoration 
gets only sizes it supports. Hmm. I'll try to implement this.

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak@suse.cz , l.lunak@kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/

_______________________________________________
kde-accessibility mailing list
kde-accessibility@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-accessibility
[prev in list] [next in list] [prev in thread] [next in thread] 

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