[gimp-help] Transfer fog.xml filter and images from Render to Decor



commit eff754f49a33b5889717400133daf6b27344f7e9
Author: Julien Hardelin <jhardlin orange fr>
Date:   Mon Jan 28 11:44:51 2019 +0100

    Transfer fog.xml filter and images from Render to Decor

 docs/templates/filter_template.xml                      |   4 +++-
 images/C/filters/decor/fog-dialog.png                   | Bin 0 -> 17091 bytes
 images/C/filters/{render => decor}/fog.png              | Bin
 images/C/filters/examples/{render => decor}/taj-fog.jpg | Bin
 src/filters/decor.xml                                   |   5 ++---
 src/filters/{render => decor}/fog.xml                   |   7 +++++--
 src/filters/render.xml                                  |   1 -
 7 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/docs/templates/filter_template.xml b/docs/templates/filter_template.xml
index 5a0edac30..64b45546e 100644
--- a/docs/templates/filter_template.xml
+++ b/docs/templates/filter_template.xml
@@ -2,7 +2,9 @@
 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                 "http://www.docbook.org/xml/4.3/docbookx.dtd";>
 
-<sect2 id="plug-in-help-id">
+<sect2 xmlns:xi="http://www.w3.org/2001/XInclude"; id="gimp-filter-id"> <!--for 
+  GEGL filters using xi:include-->
+<!--<sect2 id="plug-in-help-id">-->
   <title><!-- filter name --></title>
 
 
diff --git a/images/C/filters/decor/fog-dialog.png b/images/C/filters/decor/fog-dialog.png
new file mode 100644
index 000000000..7c62448f3
Binary files /dev/null and b/images/C/filters/decor/fog-dialog.png differ
diff --git a/images/C/filters/render/fog.png b/images/C/filters/decor/fog.png
similarity index 100%
rename from images/C/filters/render/fog.png
rename to images/C/filters/decor/fog.png
diff --git a/images/C/filters/examples/render/taj-fog.jpg b/images/C/filters/examples/decor/taj-fog.jpg
similarity index 100%
rename from images/C/filters/examples/render/taj-fog.jpg
rename to images/C/filters/examples/decor/taj-fog.jpg
diff --git a/src/filters/decor.xml b/src/filters/decor.xml
index 20e465425..b96321b69 100644
--- a/src/filters/decor.xml
+++ b/src/filters/decor.xml
@@ -2,15 +2,13 @@
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                        "http://www.docbook.org/xml/4.3/docbookx.dtd";>
 <!-- section history:
-  2007-09-25 KoSt: added 'no'
+  2019-01-28 j.h: add fog.xml
   2007-09-17 ude: added carve-it.xml
   2007-09-10 ude: added slide.xml
   2007-09-03 ude: added round-corners.xml
-  2007-09-03 AntI: Added 'es'
   2007-08-31 ude: added old-photo.xml
   2007-08-29 ude: added coffee.xml
   2007-08-28 ude: added fuzzyborder.xml
-  2007-08-20 alex falappa: added some it translations
   2007-08-19 ude: added addborder.xml
   2007-08-16 ude: added add-bevel.xml
   2007-08-13 ude: created (as skeleton)
@@ -21,6 +19,7 @@
   <xi:include href="decor/add-bevel.xml"/>
   <xi:include href="decor/addborder.xml"/>
   <xi:include href="decor/coffee.xml"/>
+  <xi:include href="decor/fog.xml"/>
   <xi:include href="decor/fuzzyborder.xml"/>
   <xi:include href="decor/old-photo.xml"/>
   <xi:include href="decor/round-corners.xml"/>
diff --git a/src/filters/render/fog.xml b/src/filters/decor/fog.xml
similarity index 94%
rename from src/filters/render/fog.xml
rename to src/filters/decor/fog.xml
index 696314665..c6913630a 100644
--- a/src/filters/render/fog.xml
+++ b/src/filters/decor/fog.xml
@@ -1,6 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
                 "http://www.docbook.org/xml/4.3/docbookx.dtd";>
+<!-- section history:
+  2019-01-28 j.h: transfer from Render filters
+-->
 
 <sect2 id="python-fu-foggify">
   <title>Fog</title>
@@ -29,7 +32,7 @@
       <mediaobject>
         <imageobject>
           <imagedata format="JPG"
-            fileref="images/filters/examples/render/taj-fog.jpg" />
+            fileref="images/filters/examples/decor/taj-fog.jpg" />
         </imageobject>
         <caption>
           <para><quote>Fog</quote> applied</para>
@@ -65,7 +68,7 @@
       <mediaobject>
         <imageobject>
           <imagedata format="PNG"
-            fileref="images/filters/render/fog.png" />
+            fileref="images/filters/decor/fog-dialog.png" />
         </imageobject>
       </mediaobject>
     </figure>
diff --git a/src/filters/render.xml b/src/filters/render.xml
index c7436260c..103b2cfa2 100644
--- a/src/filters/render.xml
+++ b/src/filters/render.xml
@@ -8,7 +8,6 @@
   <xi:include href="render/introduction.xml"/>
   <!-- Clouds -->
   <xi:include href="render/difference-clouds.xml"/>
-  <xi:include href="render/fog.xml"/>
   <xi:include href="render/plasma.xml"/>
   <xi:include href="render/solid_noise.xml"/>
   <!-- Nature -->


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]