I've updated the patch to have a better darkening algorithm based on
hsv color coordinates.  I'd still appreciate if anyone has any
pointers on how to achieve this effect in MacVim.

Thanks!

-- Jason

On Sep 10, 3:31 am, Jason Moiron <jlmoi...@gmail.com> wrote:
> Sure.
>
> The patch is here:  (I should really set up an hg mirror, I'm thinking
> more and more I want to make this a bit less ugly than some compile-
> time always-on hack)
>
> http://dev.jmoiron.net/vim-shadow.patch
>
> Here are some assorted screenshots:
>
> http://jmoiron.net/~jmoiron/ss/vim-shadow.pnghttp://jmoiron.net/~jmoiron/ss/vim-shadow2.pnghttp://jmoiron.net/~jmoiron/ss/vim-shad-dark.pnghttp://jmoiron.net/~jmoiron/ss/vim-shad-light.png
>
> It doesn't look all that hot on light backgrounds;  I think either my
> darkening algorithm is a little too severe.  I worked in a catch for
> fairly bright colors, but it's got all sorts of caveats (anything very
> red will be considered "bright").  Still, once rendering the effect is
> possible, determining the right shadow color is probably a less
> difficult issue.
>
> -- Jason
>
> On Sep 9, 5:22 pm, Janusz Bossy <janusz.bo...@gmail.com> wrote:
>
>
>
>
>
>
>
> > On Fri, Sep 9, 2011 at 10:48 PM, Jason Moiron <jlmoi...@gmail.com> wrote:
> > > I've recently written a hacky little patch for vim gtk+x11 which will
> > > draw faux shadows under text.  I quite like the look of this, and
> > > wanted to get this going on my OSX laptop as well.
>
> > Hi Jason,
>
> > unfortunately I can't help you with your problem but I just wanted to
> > see how the effect looks on your linux machine. Can you point me to
> > the patch or just upload a couple of screenshots?
>
> > Thanks,
> > Janusz

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to