Page 2 of 2

Posted: Mon May 07, 2007 18:04
by Rackle
The WindowsLook does not have properties specify an image:

Code: Select all

<WidgetLook name="WindowsLook/Button">
    <PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
    <PropertyDefinition name="HoverTextColour" initialValue="FF000000" redrawOnWrite="true" />
    <PropertyDefinition name="PushedTextColour" initialValue="FF000000" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledTextColour" initialValue="FF888888" redrawOnWrite="true" />


The TaharezLook has these:

Code: Select all

<WidgetLook name="TaharezLook/Button">
    <PropertyDefinition name="NormalTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="HoverTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="PushedTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledTextColour" initialValue="FF7F7F7F" redrawOnWrite="true" />
    <PropertyDefinition name="VertLabelFormatting" initialValue="CentreAligned" />
    <PropertyDefinition name="HorzLabelFormatting" initialValue="CentreAligned" />
    <PropertyDefinition name="NormalImage" initialValue="" redrawOnWrite="true" />
    <PropertyDefinition name="HoverImage" initialValue="" redrawOnWrite="true" />
    <PropertyDefinition name="PushedImage" initialValue="" redrawOnWrite="true" />
    <PropertyDefinition name="DisabledImage" initialValue="" redrawOnWrite="true" />
    <PropertyDefinition name="VertImageFormatting" initialValue="Stretched" redrawOnWrite="true" />
    <PropertyDefinition name="HorzImageFormatting" initialValue="Stretched" redrawOnWrite="true" />


I dislike that these are not consistent; it makes it difficult to switch from one skin to another.

I can't research this but I'm guessing there's a way to access the imagery of a scheme/widget and specify a different image.

P.S. Create an application out of Property Finder to obtain a list of the properties for any .scheme.

Posted: Mon May 07, 2007 21:38
by Levia
Rackle wrote:P.S. Create an application out of Property Finder to obtain a list of the properties for any .scheme.

Wasnt that what the property finder was for?? and it already did that didnt it?

Posted: Mon May 07, 2007 23:26
by Rackle
Property Finder was used to generate the contents of Set Property. Very useful to figure out which properties are supported by a scheme. As well as which properties are not supported, such as all the images for a button.

Posted: Tue May 08, 2007 06:30
by Levia
Yes...

So..It already did the following then?
Rackle wrote:P.S. Create an application out of Property Finder to obtain a list of the properties for any .scheme.

Posted: Tue May 08, 2007 09:40
by Rackle
Every Wiki I've posted has contained a main.cpp, which can be used to generate an executable.

Posted: Tue May 08, 2007 11:36
by Levia
..Nevermind, we don't understand eachother but I do understand that its already done ;)