.THM Themes

Topics: Developer Forum
Dec 4, 2006 at 6:16 PM
Where can I get more .THM themes?
Coordinator
Dec 9, 2006 at 9:11 PM
The short answer: there aren't any more...

The longer answer: there are a few, but they were created when ThemeKit had less controls, and as such they do not define styles for all controls and therefore do not render correctly when those controls are in use. I can upload them somewhere if you want them.

If you are desperate for themes, you could create your own. If you open the .thm files with a zip archiver (or rename them to .zip and open them with windows explorer), you will find a file named theme.xml, which contains the definition of the theme. The format is fairly simple to understand. The other files in the .thm (zip) archive are images which are referenced by file name in the theme.xml file.
Dec 10, 2006 at 2:00 PM
Hi! i found this excellent program and i'm testing it and found i think a problem in it, if i alter the thm(xml file) file a number of times and then use it again in the project, adding it again to the form, after some time the changes that i make in the xml file doesn't appear to reflect in the form. Are all the tags in the xml file the ones that exist or there are more (where can i found information about all the tags), i've downloaded the source and found that you have a theme editor project, is this editor be available also or not.
Thanks for taking the time to answer my question and for the excellent program.
Coordinator
Dec 11, 2006 at 7:43 PM
I'm afraid there is no list of tags, however if you take a look at the ExBrush.cs file (particularly the load method), you will be able to see what tags are read by ThemeKit.

As for your problem with loading themes after modifications, I haven't seen it myself so I don't know what could be the cause... Is there any chance you could narrow down the cause of the problem a little?
Dec 11, 2006 at 8:43 PM
Thanks for the reply, i can give you an example of the problem that i'm having: The see diferent types os skins i use the wlm.thm file which is complete, if the change this code:
<Form>
<WLM>
<Brushes>
<NormalBackground1 Type="Fill" Color="255236243246"> <!-- This property (Color) more than once and then update the thm file with winrar, i can't say for sure how many times i do this until the problem appears, and then add it to the form in visual studio 2005, after some time the style ain't uploaded to the form it just stays the same, by the way what's the meaning of 255 236 243 246 i know that the last three parts are the RGB but what about the first one, hope that this help understanding the problem.-->
<Path Type="RoundedRectangle" Size="5"/>
<!--rectangulo do form principal-->
</NormalBackground1>
<NormalBackground2 Type="Fill">
<Location Top="-30"/>
<Size Height="150"/>
<Colors>
<Color Position="0">255023057116</Color>
<Color Position="0.5">255119172186</Color>
<Color Position="0.8">255236243246</Color>
<Color Position="1">255236243246</Color>
</Colors>
</NormalBackground2>
<NormalBackground3 Type="Fill" Image="Decoration.png">
<Location Left="W-283" Top="-30"/>
<Size Width="286" Height="113"/>
</NormalBackground3>

<!--<ActiveBorder1 Type="Fill" Color="255236243246">
<Path Type="RoundedRectangle" Size="10"/>
</ActiveBorder1>
<ActiveBorder2 Type="Fill">
<Size Height="150"/>
<Colors>
<Color Position="0">255023057116</Color>
<Color Position="0.5">255119172186</Color>
<Color Position="0.8">255236243246</Color>
<Color Position="1">255236243246</Color>
</Colors>
</ActiveBorder2>
<ActiveBorder3 Type="Fill" Image="Decoration.png">
<Location Left="W-286"/>
<Size Width="286" Height="113"/>
</ActiveBorder3>
<ActiveBorder4 Type="Outline" Color="100020055115" Size="4">
<Path Type="RoundedRectangle" Size="10"/>
</ActiveBorder4>
<ActiveBorder5 Type="Outline" Color="200020055115">
<Path Type="RoundedRectangle" Size="10"/>
</ActiveBorder5>-->

<NormalTitleText Type="Fill" Color="White">
<Halo Size="4" Color="010255255255"/>
</NormalTitleText>
</Brushes>
<Settings>
<LeftBorderSize>4</LeftBorderSize>
<RightBorderSize>4</RightBorderSize>
<TopBorderSize>30</TopBorderSize>
<BottomBorderSize>4</BottomBorderSize>

<ShowIcon>1</ShowIcon>
<IconLeft>3</IconLeft>
<IconTop>3</IconTop>
<IconWidth>24</IconWidth>
<IconHeight>24</IconHeight>

<ShowTitle>1</ShowTitle>
<TitleLeft>30</TitleLeft>
<TitleTop>5</TitleTop>
<TitleWidth>W-50</TitleWidth>
<TitleHeight>20</TitleHeight>
<TitleFont>Arial</TitleFont>
<TitleSize>8</TitleSize>
<TitleStyle>0</TitleStyle>

<CloseButton>1</CloseButton>
<CloseButtonX>-10</CloseButtonX>
<CloseButtonY>9</CloseButtonY>
<CloseButtonW>8</CloseButtonW>
<CloseButtonH>8</CloseButtonH>

<MaximizeButton>1</MaximizeButton>
<MaximizeButtonX>-25</MaximizeButtonX>
<MaximizeButtonY>7</MaximizeButtonY>
<MaximizeButtonW>10</MaximizeButtonW>
<MaximizeButtonH>10</MaximizeButtonH>

<MinimizeButton>1</MinimizeButton>
<MinimizeButtonX>-40</MinimizeButtonX>
<MinimizeButtonY>8</MinimizeButtonY>
<MinimizeButtonW>8</MinimizeButtonW>
<MinimizeButtonH>8</MinimizeButtonH>
</Settings>
</WLM>
</Form>
Coordinator
Dec 12, 2006 at 5:29 PM
I'll take a look over the weekend if I get time and see if I can track down the problem...

The format of the colors is AAARRRGGGBBB (Alpha, Red, Green, Blue)