Mattias Gaertner wrote:
On Wed, 01 Mar 2006 08:41:57 +0100
darekM <[EMAIL PROTECTED]> wrote:
Mattias Gaertner napisa?(a):
On Tue, 28 Feb 2006 20:37:14 +0100
darekm <[EMAIL PROTECTED]> wrote:
Micha Nelissen wrote:
On Tue, 28 Feb 2006 19:16:10 +0100
darekm <[EMAIL PROTECTED]> wrote:
now i prepare patch for
tSpeedButton
Why use Frame3D instead of DrawFrameControl ?
SpeedButton is draw near all without widget,
Frame3D should be faster and identical on all platforms
The buttons look should follow the users theme. They should not look the
same on all platforms.
With Frame3D we loose the theme background of buttons. I commented this
out and kept the old DrawFrameControl.
Under tSpeedButton is no background (as I know), all is painting
I have similar problem with tPanel and tHeader, but i will investigate
in next time
A button under gtk1 is an area, not just the frame. Some themes define a
simple darkened area when presses, some some define whole images (e.g.
round buttons). Maybe gtk2 has more possibilities for TSpeedButton.
I don't know exactly, but DrawFrameControl can't draw round frame, thats
not issue,
we have own paint function with caption and glyph, only frame left from
widgets
for tButton all depend from widgets, but for me in tSpeedButton all
should be independent. (GTK has't two widgets)
it's only my suggestion
Darek
I applied the rest. gtk2 seems to work better now.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives