<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to HowToCustomButtons</title><link>https://sourceforge.net/p/dvdstyler/wiki/HowToCustomButtons/</link><description>Recent changes to HowToCustomButtons</description><atom:link href="https://sourceforge.net/p/dvdstyler/wiki/HowToCustomButtons/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 03 Jul 2017 18:55:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dvdstyler/wiki/HowToCustomButtons/feed" rel="self" type="application/rss+xml"/><item><title>HowToCustomButtons modified by Alex Thuering</title><link>https://sourceforge.net/p/dvdstyler/wiki/HowToCustomButtons/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -48,7 +48,7 @@
         &amp;lt;selected&amp;gt;#ffffff&amp;lt;/selected&amp;gt;
       &amp;lt;/default-value&amp;gt;
     &amp;lt;/parameter&amp;gt;
-  &amp;lt;parameters&amp;gt;
+  &amp;lt;/parameters&amp;gt;
 ~~~
 Replace "id_of_the_element" with id of the svg element, the color of which you want to be changeable.
 You can also use more than one id separated by comma.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Thuering</dc:creator><pubDate>Mon, 03 Jul 2017 18:55:21 -0000</pubDate><guid>https://sourceforge.net43f97889df8acd5d6cecf2d97316552afc70e798</guid></item><item><title>HowToCustomButtons modified by Alex Thuering</title><link>https://sourceforge.net/p/dvdstyler/wiki/HowToCustomButtons/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Thuering</dc:creator><pubDate>Sun, 02 Jul 2017 15:28:34 -0000</pubDate><guid>https://sourceforge.net7035b53ff63b4893a9b7a3b3add8ff28ad8f4d2e</guid></item><item><title>How to create new buttons modified by Alex Thuering</title><link>https://sourceforge.net/p/dvdstyler/wiki/How%2520to%2520create%2520new%2520buttons/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Thuering</dc:creator><pubDate>Sun, 02 Jul 2017 15:27:10 -0000</pubDate><guid>https://sourceforge.net6537c9b362b04cff724a141569ad89a8497558d6</guid></item><item><title>How to create new buttons modified by Alex Thuering</title><link>https://sourceforge.net/p/dvdstyler/wiki/How%2520to%2520create%2520new%2520buttons/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,5 +1,8 @@
-To create a new button you need to draw it using e.g. [Inskape](http://inkscape.org/) and save as SVG.
-Then follow the instruction below.
+How to create new buttons 
+-
+
+To create a new button you need to draw it using e.g. [Inskape](http://inkscape.org/) and save as SVG file.
+Then please follow the instruction below.

 1. change extension from .svg to .xml and save in subfolder buttons in DVDStyler program folder

@@ -30,7 +33,7 @@

 Now you can test your button in dvdstyler. But it hasn't any parameter (in property dialog).

-To define a parameter you need to add folowing lines to your file before last line (&amp;lt;/button&amp;gt;)
+To define a parameter you need to add folowing lines to your file before last line (`&amp;lt;/button&amp;gt;`)
 ~~~
   &amp;lt;parameters&amp;gt;
     &amp;lt;parameter&amp;gt;
@@ -52,7 +55,7 @@

 An Example
---
+-
 So if you have a following svg-file:

 ~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Thuering</dc:creator><pubDate>Sun, 02 Jul 2017 14:55:32 -0000</pubDate><guid>https://sourceforge.nete23381de2aa648048c2ae570e60be268a5e597d8</guid></item><item><title>How to create new buttons modified by Alex Thuering</title><link>https://sourceforge.net/p/dvdstyler/wiki/How%2520to%2520create%2520new%2520buttons/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;To create a new button you need to draw it using e.g. &lt;a class="" href="http://inkscape.org/" rel="nofollow"&gt;Inskape&lt;/a&gt; and save as SVG.&lt;br/&gt;
Then follow the instruction below.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;change extension from .svg to .xml and save in subfolder buttons in DVDStyler program folder&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;add following lines at the begin of file (after &lt;code&gt;&amp;lt;?xml ...&amp;gt;&lt;/code&gt;, but before &lt;code&gt;&amp;lt;svg ...&amp;gt;&lt;/code&gt;):&lt;br/&gt;
&lt;code&gt;&amp;lt;button&amp;gt;
  &amp;lt;title&amp;gt;My Button&amp;lt;/title&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;add following line at the end of file&lt;br/&gt;
&lt;code&gt;&amp;lt;/button&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;find first svg tag, f.e.:&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;   &amp;lt;svg
      ...
      width="100"
      height="150"
      ...
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;and add attribute viewBox attribute to it, if it doesn't exist yet&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;   &amp;lt;svg
      ...
      width="100"
      height="150"
      viewBox="0 0 100 150"
      ...
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Now you can test your button in dvdstyler. But it hasn't any parameter (in property dialog).&lt;/p&gt;
&lt;p&gt;To define a parameter you need to add folowing lines to your file before last line (&amp;lt;/button&amp;gt;)&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;  &lt;span class="nt"&gt;&amp;lt;parameters&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;parameter&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Button color&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;name&amp;gt;&lt;/span&gt;color&lt;span class="nt"&gt;&amp;lt;/name&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;type&amp;gt;&lt;/span&gt;colour&lt;span class="nt"&gt;&amp;lt;/type&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;element&amp;gt;&lt;/span&gt;id_of_the_element&lt;span class="nt"&gt;&amp;lt;/element&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;attribute&amp;gt;&lt;/span&gt;fill&lt;span class="nt"&gt;&amp;lt;/attribute&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;changeable/&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;default-value&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;highlighted&amp;gt;&lt;/span&gt;#ffffff&lt;span class="nt"&gt;&amp;lt;/highlighted&amp;gt;&lt;/span&gt;
        &lt;span class="nt"&gt;&amp;lt;selected&amp;gt;&lt;/span&gt;#ffffff&lt;span class="nt"&gt;&amp;lt;/selected&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/default-value&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/parameter&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;parameters&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Replace "id_of_the_element" with id of the svg element, the color of which you want to be changeable.&lt;br/&gt;
You can also use more than one id separated by comma.&lt;/p&gt;
&lt;h2 id="an-example"&gt;An Example&lt;/h2&gt;
&lt;p&gt;So if you have a following svg-file:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cp"&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/span&gt;
&lt;span class="c"&gt;&amp;lt;!-- Created with Inkscape  --&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;svg&lt;/span&gt; &lt;span class="na"&gt;width=&lt;/span&gt;&lt;span class="s"&gt;"100"&lt;/span&gt; &lt;span class="na"&gt;height=&lt;/span&gt;&lt;span class="s"&gt;"50"&lt;/span&gt; &lt;span class="na"&gt;xmlns:svg=&lt;/span&gt;&lt;span class="s"&gt;"http://www.w3.org/2000/svg"&lt;/span&gt; &lt;span class="na"&gt;xmlns=&lt;/span&gt;&lt;span class="s"&gt;"http://www.w3.org/2000/svg"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;path&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"arrow"&lt;/span&gt;
      &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"stroke:#ffffff;stroke-width:3;stroke-linejoin:round;fill:#8080F0;"&lt;/span&gt;
      &lt;span class="na"&gt;d=&lt;/span&gt;&lt;span class="s"&gt;"M65,18 h-60 v14 h60 l-10,15 l40,-22 l-40,-22 z"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/svg&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Then dvdstyler button file can look as:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="cp"&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;button&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Arrow&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;svg&lt;/span&gt; &lt;span class="na"&gt;width=&lt;/span&gt;&lt;span class="s"&gt;"100"&lt;/span&gt; &lt;span class="na"&gt;height=&lt;/span&gt;&lt;span class="s"&gt;"50"&lt;/span&gt; &lt;span class="na"&gt;viewBox=&lt;/span&gt;&lt;span class="s"&gt;"0 0 100 50"&lt;/span&gt; &lt;span class="na"&gt;xmlns:svg=&lt;/span&gt;&lt;span class="s"&gt;"http://www.w3.org/2000/svg"&lt;/span&gt; &lt;span class="na"&gt;xmlns=&lt;/span&gt;&lt;span class="s"&gt;"http://www.w3.org/2000/svg"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;path&lt;/span&gt;
      &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"arrow"&lt;/span&gt;
      &lt;span class="na"&gt;style=&lt;/span&gt;&lt;span class="s"&gt;"stroke:#ffffff;stroke-width:3;stroke-linejoin:round;fill:#8080F0;"&lt;/span&gt;
      &lt;span class="na"&gt;d=&lt;/span&gt;&lt;span class="s"&gt;"M65,18 h-60 v14 h60 l-10,15 l40,-22 l-40,-22 z"&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/svg&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;parameters&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;parameter&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;title&amp;gt;&lt;/span&gt;Colour of the arrow&lt;span class="nt"&gt;&amp;lt;/title&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;name&amp;gt;&lt;/span&gt;arrow&lt;span class="nt"&gt;&amp;lt;/name&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;type&amp;gt;&lt;/span&gt;colour&lt;span class="nt"&gt;&amp;lt;/type&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;element&amp;gt;&lt;/span&gt;arrow&lt;span class="nt"&gt;&amp;lt;/element&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;attribute&amp;gt;&lt;/span&gt;fill&lt;span class="nt"&gt;&amp;lt;/attribute&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;changeable/&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;default-value&amp;gt;&lt;/span&gt;
         &lt;span class="nt"&gt;&amp;lt;highlighted&amp;gt;&lt;/span&gt;#0000FF&lt;span class="nt"&gt;&amp;lt;/highlighted&amp;gt;&lt;/span&gt;
         &lt;span class="nt"&gt;&amp;lt;selected&amp;gt;&lt;/span&gt;#FF0000&lt;span class="nt"&gt;&amp;lt;/selected&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;/default-value&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/parameter&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/parameters&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/button&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;h2 id="third-party-guides"&gt;Third-Party Guides&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="" href="http://mikesgeneralblog.blogspot.de/2006/08/creating-new-buttons-for-dvdstyler_04.html" rel="nofollow"&gt;Tutorial&lt;/a&gt; from Mike's Blog&lt;/li&gt;
&lt;li&gt;Phantom Gadgeteer's &lt;a class="" href="http://home.earthlink.net/~litefrozen/downloads/DVDStyler_Custom_Frame_Button_Tutorial_ver%201.0.pdf" rel="nofollow"&gt;guide&lt;/a&gt; and &lt;a class="" href="http://home.earthlink.net/~litefrozen/downloads/tutorialexample.zip" rel="nofollow"&gt;example button&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Thuering</dc:creator><pubDate>Sun, 02 Jul 2017 14:53:41 -0000</pubDate><guid>https://sourceforge.net22f7a529a01b6fb50a08f11ee2f40e57e35e3ec6</guid></item></channel></rss>