Re: [gtk-list] [Patch] better 3D effect with buttons



On Tue, 7 Oct 1997 Stefan_Wille@public.uni-hamburg.de wrote:

> Hello gtk folks,
> 
> 
> I've written a patch that improves the 
> 3D effect of gtkbutton and gtktogglebutton.
> 
> 
> Here's the README:
> --
> This tar.gz includes two patch files one for gtkbutton.c and one for
> gtktogglebutton.c.
> 
> The patches let the child contained in the buttons move
> to the lower right corner when pressed in, thereby
> giving them a better 3D effect.
> 
> The patches are made against gtk+970925.

i'll quote peter here:

> Date: Thu, 12 Jun 1997 11:20:24 -0700
> From: Peter Mattis <petm@graft.xcf.berkeley.edu>
> Subject: [gtk-list] Re: Stupid feature requests

> The reason buttons don't move their child down and to the right when
> they are depressed is because I don't think that's what is happening
> visually. My view of buttons is that you are looking at them straight
> on. That is, the user interface lies in a plane and you're above it
> looking straight at it. When a button gets pressed it moves directly
> away from you. To be absolutely correct I guess the child should
> actually shrink a tiny amount. But I don't see why the child should
> shift down and to the left. Remember, the child is supposed to be
> attached to the buttons surface. Its not good for it to appear like
> the child is slipping on the surface of the button.
>
> On a more practical note, I did implement this at one point and
> determined it didn't look good and removed it.



---
ciaoTJ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]