On Sat, 04 Mar 2006 23:37:08 +0100
darekM [EMAIL PROTECTED] wrote:
Well, a theme bug... guess the theme author must go hide really well
now :)
And usually then it isn't a TGroupBox any more but a TAlertableFrame
that is derived from TGroupBox and has some extra style properties like
It's much simpler to implement one custom drawing function for a control,
then to map to various themed widgetsets. The LCL took the difficult and
more complex approach. Other people can contribute custom drawn controls. I
wonder, why there is not already a package providing some custom drawn
On Sat, 4 Mar 2006 08:34:26 +0100
Micha Nelissen [EMAIL PROTECTED] wrote:
On Sat, 4 Mar 2006 08:06:24 +0100
Micha Nelissen [EMAIL PROTECTED] wrote:
On Sat, 4 Mar 2006 02:06:46 +0100
Mattias Gaertner [EMAIL PROTECTED] wrote:
If 'red' buttons are needed that often, then we should add
Mattias Gaertner wrote:
On Fri, 03 Mar 2006 23:10:41 +0100
darekm [EMAIL PROTECTED] wrote:
[...]
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
On Sat, 04 Mar 2006 12:31:05 +0100
darekm [EMAIL PROTECTED] wrote:
[...]
I talk about tSpeedButton not tButton
A normal TSpeedButton should look like a normal button.
Only if you set some custom colors, then it can paint some non theme button.
I don't know, what windows can do with
Hi,
Am Freitag, den 03.03.2006, 23:10 +0100 schrieb darekm:
[...]
If I want (as programmer) to one of buttons will be red, user should'n
change it by change theme
I merely react to this grossly out of context (so please forgive me),
but I just can't resist...
Did you really mean what I
simple: when I set color:=clRed then not change color (like in others
controls)
The solution is simple: if colorclBtnFace then paint a custom button.
The question is only, how to implement it.
The easiest would be to extend TSpeedButton.Paint with a
if (ColorclBtnFace) or (...
On Sat, 04 Mar 2006 17:56:41 +0100
darekm [EMAIL PROTECTED] wrote:
simple: when I set color:=clRed then not change color (like in others
controls)
The solution is simple: if colorclBtnFace then paint a custom button.
The question is only, how to implement it.
The
Danny Milosavljevic wrote:
Hi,
Am Freitag, den 03.03.2006, 23:10 +0100 schrieb darekm:
[...]
If I want (as programmer) to one of buttons will be red, user should'n
change it by change theme
I merely react to this grossly out of context (so please forgive me),
but I just can't
gtk does the right thing by letting the programmer register style
properties for a widget class. These names can then be used in themes
and gtk will assign the theme color to the style property of the widgets
of that class on runtime.
I know that it usually depends on the target audience
Hi,
Am Samstag, den 04.03.2006, 02:06 +0100 schrieb Mattias Gaertner:
On Fri, 03 Mar 2006 23:10:41 +0100
darekm [EMAIL PROTECTED] wrote:
[...]
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
Hi,
Am Samstag, den 04.03.2006, 18:11 +0100 schrieb darekm:
Danny Milosavljevic wrote:
Hi,
Am Freitag, den 03.03.2006, 23:10 +0100 schrieb darekm:
[...]
If I want (as programmer) to one of buttons will be red, user should'n
change it by change theme
I merely react to
Hi,
Am Samstag, den 04.03.2006, 20:00 +0200 schrieb A.J. Venter:
gtk does the right thing by letting the programmer register style
properties for a widget class. These names can then be used in themes
and gtk will assign the theme color to the style property of the widgets
of that class
The default should always be to follow the theme, the programmer should
think five or six times before overriding it - but when he does, it must
be assumed that he had a good reason and his changes should be honoured.
Exactly.
Let me try to explain what I mean with an EXTREME example.
Hi,
Am Samstag, den 04.03.2006, 20:58 +0200 schrieb A.J. Venter:
The default should always be to follow the theme, the programmer should
think five or six times before overriding it - but when he does, it must
be assumed that he had a good reason and his changes should be honoured.
Well, a theme bug... guess the theme author must go hide really well
now :)
And usually then it isn't a TGroupBox any more but a TAlertableFrame
that is derived from TGroupBox and has some extra style properties like
overloaded-reactor-color ... :)
I feel like I'm still missing your point :(
Hi
with current CVS setColor for tSpeedButton don't work
DrawFrameControl can draw only rectangle with or without shadow, no
other possibilities
rest investigation under
now i prepare patch for
tSpeedButton
Why use Frame3D instead of
On Fri, 03 Mar 2006 23:10:41 +0100
darekm [EMAIL PROTECTED] wrote:
[...]
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.
On Sat, 4 Mar 2006 02:06:46 +0100
Mattias Gaertner [EMAIL PROTECTED] wrote:
If I want (as programmer) to one of buttons will be red, user should'n
change it by change theme
Correct. But if you want a 'red' button, then you want a custom drawn
button, not a TButton.
If 'red' buttons are
On Sat, 4 Mar 2006 08:06:24 +0100
Micha Nelissen [EMAIL PROTECTED] wrote:
On Sat, 4 Mar 2006 02:06:46 +0100
Mattias Gaertner [EMAIL PROTECTED] wrote:
If 'red' buttons are needed that often, then we should add a
TCustomDrawnButton (or whatever name fits) with properties like Color,
On Wed, 01 Mar 2006 11:35:48 +0100
darekm [EMAIL PROTECTED] wrote:
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:
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
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 ?
Micha
_
To unsubscribe: mail [EMAIL PROTECTED] with
On Tue, 28 Feb 2006 19:16:10 +0100
darekm [EMAIL PROTECTED] wrote:
Hi
I continue my investigation with widgets color
now i prepare patch for
tSpeedButton
tEdit
tListBox
all for GTK1
Darek
PS. For A.I. Vender
maybe now tEdit change the color.
If not I'll try, but
On Tue, 28 Feb 2006 19:16:10 +0100
darekm [EMAIL PROTECTED] wrote:
Hi
I continue my investigation with widgets color
now i prepare patch for
tSpeedButton
tEdit
tListBox
all for GTK1
Darek
PS. For A.I. Vender
maybe now tEdit change the color.
If not I'll try, but
Maybe there is a bug in the constants?
GTK_STYLE_TEXT = $81 - this flag bitmask bites GTK_STATE_ACTIVE
if GTK_STYLE_TEXT in mask then
Do you mean something like
GTK_STYLE_BASE = $40; // custom flag to change base styles
GTK_STYLE_TEXT = $80; // custom flag to change text styles
?
I
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
27 matches
Mail list logo