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

List:       openbox
Subject:    [openbox] openbox philosophy on rounded corners (of windows)
From:       danakj () orodu ! net (Dana Jansens)
Date:       2013-09-24 15:01:46
Message-ID: CAP1a_acMDiZD5RsH39kWP-74UmN-zcz8BdsvjmdTC=UOtekWzA () mail ! gmail ! com
[Download RAW message or body]

On Tue, Sep 24, 2013 at 1:49 AM, Globe Trotter <itsme_410 at yahoo.com> wrote:

> 
> 
> ------------------------------
> *From:* Dana Jansens <danakj at orodu.net>
> *To:* Globe Trotter <itsme_410 at yahoo.com>; openbox mailing list <
> openbox at icculus.org>
> *Sent:* Monday, September 23, 2013 3:50 PM
> 
> *Subject:* Re: [openbox] openbox philosophy on rounded corners (of
> windows)
> 
> On Mon, Sep 23, 2013 at 4:49 PM, Globe Trotter <itsme_410 at yahoo.com>wrote:
> 
> 
> 
> ------------------------------
> *From:* Dana Jansens <danakj at orodu.net>
> *To:* Globe Trotter <itsme_410 at yahoo.com>; openbox mailing list <
> openbox at icculus.org>
> *Sent:* Monday, September 23, 2013 3:37 PM
> 
> *Subject:* Re: [openbox] openbox philosophy on rounded corners (of
> windows)
> 
> On Mon, Sep 23, 2013 at 4:11 PM, Globe Trotter <itsme_410 at yahoo.com>wrote:
> 
> 
> 
> ------------------------------
> *From:* Dana Jansens <danakj at orodu.net>
> *To:* Globe Trotter <itsme_410 at yahoo.com>; openbox mailing list <
> openbox at icculus.org>
> *Sent:* Monday, September 23, 2013 1:07 PM
> *Subject:* Re: [openbox] openbox philosophy on rounded corners (of
> windows)
> 
> On Sun, Sep 22, 2013 at 9:25 PM, Globe Trotter <itsme_410 at yahoo.com>wrote:
> 
> Hello,
> 
> I have been looking around at different themes and one thing I have been
> missing in openbox is the inability to have rounded window corners.
> (Otherwise, this has been great, by and large!) I understand that this is a
> philosophical decision made by the developers? I wonder why? Is it because
> it can not be done in an easy way that also keeps resource usage low? I am
> looking at the following theme on box-look
> 
> http://box-look.org/content/show.php/Ambiance+Crunchy?content=136162
> 
> which, turns out, though listed under openbox, is not necessarily an
> openbox theme. I guess, I am wondering what icewm and fluxbox give up, with
> their ability to have clean rounded corners on their windows. Ideally, I
> would have liked to combine this icewm theme:
> http://box-look.org/content/show.php/IceBuntu?content=62935
> 
> with this openbox theme:
> 
> http://box-look.org/content/preview.php?preview=1&id=126725&file1=126725-1.jpg&file2=&file3=&name=Nodoka
>  
> (I like the rounded scrollbar here, very unique!)
> 
> Not wanting to start a war, but just wondering about the philosophy, and
> whether the reasoning is still relevant.....
> 
> 
> > I'd be okay with a radius option for corners. The theme code would need
> to support it though, meaning borders would need to follow the curve. I
> started this code once but don't really care about it, so went nowhere.
> 
> 
> That would be great (assuming it does not add on to the complexity of the
> code, and of resources). Should I put this in as a feature request on the
> bug-reporting machine?
> 
> 
> > I'd be surprised if it's not there already. But if you can't find an
> existing bug feel free. Maybe someone will pick itup (probably not me).
> 
> Thanks, Dana! You are right: there is such a feature request from 2008,
> and you did respond to it then, expressing interest, but then I guess you
> did not have time for this. Here it is, expressing similar ideas, as
> mentioned above:
> 
> https://bugzilla.icculus.org/show_bug.cgi?id=2261
> 
> Is it possible for you to make the experimental code that you tried
> available -- someone may pick it up then? Or did you not get to that stage?
> 
> 
> > I didn't get too far, and I don't think I saved it anywhere, sorry.
> 
> Bummer! Is it possible for you to to recall what part of the code we
> should look at? Is there developer documentation for the actual code
> somewhere?
> 

At least these:
obrender/gradient.c  <- draws pixels
obrender/render.c  <- measures pixels
obrender/theme.c  <- reads theme files
openbox/frame.c  <- lays out the frame
openbox/framerender.c  <- draws the frame (uses obrender)

There's comments throughout the code, you could generate doxygen
documentation out of it if that were helpful, but I suspect just reading
the comments inline is as good or better.


> 
> Many thanks!
> 
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20130924/95c5e9d0/attachment-0001.html>



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

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