[gnome-devel-docs] Added gstreamer diagram, added sections for downloading source to some pages



commit b1029d80fcb9cb269a02b75361342c6e9156d462
Author: Phil Bull <philbull gmail com>
Date:   Sun Dec 5 23:15:43 2010 +0000

    Added gstreamer diagram, added sections for downloading source to some pages

 demos/C/audio-player.vala.page          |   19 +++
 demos/C/guitar-tuner.c.page             |    5 +
 demos/C/image-viewer.c.page             |   18 ++-
 demos/C/image-viewer.js.page            |   12 ++-
 demos/C/media/guitar-tuner-pipeline.png |  Bin 0 -> 11717 bytes
 demos/C/media/guitar-tuner-pipeline.svg |  239 +++++++++++++++++++++++++++++++
 6 files changed, 290 insertions(+), 3 deletions(-)
---
diff --git a/demos/C/audio-player.vala.page b/demos/C/audio-player.vala.page
index e69de29..363314e 100644
--- a/demos/C/audio-player.vala.page
+++ b/demos/C/audio-player.vala.page
@@ -0,0 +1,19 @@
+<page xmlns="http://projectmallard.org/1.0/";
+      type="topic"
+      id="audio-player.vala">
+
+  <info>
+    <link type="guide" xref="index#vala"/>
+  
+    <desc>XXXX</desc>
+    
+    <revision pkgversion="0.1" version="0.1" date="2010-12-05" status="stub"/>
+    <credit type="author">
+      <name>GNOME Documentation Project</name>
+      <email>gnome-doc-list gnome org</email>
+    </credit>
+  </info>
+
+<title>Audio Player</title>
+
+</page>
diff --git a/demos/C/guitar-tuner.c.page b/demos/C/guitar-tuner.c.page
index 3f3cb37..5a52045 100644
--- a/demos/C/guitar-tuner.c.page
+++ b/demos/C/guitar-tuner.c.page
@@ -247,6 +247,11 @@ void on_button_clicked (GtkButton* button,
 </section>
 
 <section>
+ <title>Reference Implementation</title>
+ <p>If you run into problems with the tutorial, compare your code with this <link href="guitar-tuner/guitar-tuner.c">reference code</link>.</p>
+</section>
+
+<section>
   <title>Next steps</title>
   <p>Here are some ideas for how you can extend this simple demonstration file:</p>
   <list>
diff --git a/demos/C/image-viewer.c.page b/demos/C/image-viewer.c.page
index b77b33b..c9c2c71 100644
--- a/demos/C/image-viewer.c.page
+++ b/demos/C/image-viewer.c.page
@@ -3,10 +3,9 @@
       id="image-viewer.c">
 
   <info>
-    
     <link type="guide" xref="index#c"/>
     
-    <desc>A bit more than a simple "Hello world" Gtk application written in C.</desc>
+    <desc>A little bit more than a simple "Hello world" Gtk application.</desc>
     
     <revision pkgversion="0.1" version="0.1" date="2010-12-03" status="stub"/>
     <credit type="author">
@@ -307,4 +306,19 @@ open_button.connect ("clicked", Lang.bind (this, this._openClicked));]]></code>
   <p>Download the full source code of this demo and starting improving it!</p>
 </section>
 
+<section>
+ <title>Reference Implementation</title>
+ <p>If you run into problems with the tutorial, compare your code with this <link href="image-viewer/image-viewer.c">reference code</link>.</p>
+</section>
+
+<section>
+  <title>Next steps</title>
+  <p>Here are some ideas for how you can extend this simple demonstration file:</p>
+  <list>
+   <item>
+   <p>XXX</p>
+   </item>
+  </list>
+</section>
+
 </page>
diff --git a/demos/C/image-viewer.js.page b/demos/C/image-viewer.js.page
index 540d992..12fa3ef 100644
--- a/demos/C/image-viewer.js.page
+++ b/demos/C/image-viewer.js.page
@@ -6,7 +6,7 @@
     
     <link type="guide" xref="index#js"/>
     
-    <desc>A bit more than a simple "Hello world" Gtk application using the Javascript language.</desc>
+    <desc>A little bit more than a simple "Hello world" Gtk application.</desc>
     
     <revision pkgversion="0.1" version="0.1" date="2010-12-03" status="stub"/>
     <credit type="author">
@@ -317,4 +317,14 @@ open_button.connect ("clicked", Lang.bind (this, this._openClicked));]]></code>
   <p><link href="image-viewer/image-viewer.js">Download the full source code</link> of this demo and starting improving it!</p>
 </section>
 
+<section>
+  <title>Next steps</title>
+  <p>Here are some ideas for how you can extend this simple demonstration file:</p>
+  <list>
+   <item>
+   <p>XXX</p>
+   </item>
+  </list>
+</section>
+
 </page>
diff --git a/demos/C/media/guitar-tuner-pipeline.png b/demos/C/media/guitar-tuner-pipeline.png
new file mode 100644
index 0000000..98125f1
Binary files /dev/null and b/demos/C/media/guitar-tuner-pipeline.png differ
diff --git a/demos/C/media/guitar-tuner-pipeline.svg b/demos/C/media/guitar-tuner-pipeline.svg
new file mode 100644
index 0000000..5b8dea8
--- /dev/null
+++ b/demos/C/media/guitar-tuner-pipeline.svg
@@ -0,0 +1,239 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="457.31638"
+   height="147.82884"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.48.0 r9654"
+   sodipodi:docname="guitar-tuner-pipeline.svg"
+   inkscape:export-filename="/home/phil/gnome-devel-docs/demos/C/media/guitar-tuner-pipeline.png"
+   inkscape:export-xdpi="90"
+   inkscape:export-ydpi="90">
+  <defs
+     id="defs4">
+    <marker
+       inkscape:stockid="Arrow2Send"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow2Send"
+       style="overflow:visible">
+      <path
+         id="path3998"
+         style="font-size:12px;fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
+         d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+         transform="matrix(-0.3,0,0,-0.3,0.69,0)"
+         inkscape:connector-curvature="0" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Mend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Mend"
+       style="overflow:visible">
+      <path
+         id="path3974"
+         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
+         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
+         transform="matrix(-0.4,0,0,-0.4,-4,0)"
+         inkscape:connector-curvature="0" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow1Lend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow1Lend"
+       style="overflow:visible">
+      <path
+         id="path3968"
+         d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
+         style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
+         transform="matrix(-0.8,0,0,-0.8,-10,0)"
+         inkscape:connector-curvature="0" />
+    </marker>
+    <marker
+       inkscape:stockid="Arrow2Mend"
+       orient="auto"
+       refY="0"
+       refX="0"
+       id="Arrow2Mend"
+       style="overflow:visible">
+      <path
+         id="path3992"
+         style="font-size:12px;fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
+         d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
+         transform="scale(-0.6,-0.6)"
+         inkscape:connector-curvature="0" />
+    </marker>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="1.4"
+     inkscape:cx="246.47784"
+     inkscape:cy="156.1594"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     fit-margin-left="10"
+     fit-margin-top="5"
+     fit-margin-right="10"
+     fit-margin-bottom="10"
+     inkscape:window-width="1308"
+     inkscape:window-height="744"
+     inkscape:window-x="58"
+     inkscape:window-y="-5"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-30.984684,-244.48723)">
+    <rect
+       style="fill:#ffffff;fill-opacity:1;stroke:#323232;stroke-width:3;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
+       id="rect3756-24-6"
+       width="434.31638"
+       height="129.82884"
+       x="42.484684"
+       y="252.98723" />
+    <text
+       xml:space="preserve"
+       style="font-size:28px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+       x="113.13709"
+       y="343.74017"
+       id="text3762"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan3764"
+         x="113.13709"
+         y="343.74017" /></text>
+    <g
+       id="g3938"
+       transform="translate(-8,10.091797)">
+      <rect
+         y="294.94971"
+         x="60.306026"
+         height="66.069878"
+         width="137.62717"
+         id="rect3756"
+         style="fill:#b9d3f7;fill-opacity:1;stroke:#07417f;stroke-width:3;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
+      <text
+         sodipodi:linespacing="125%"
+         id="text3758"
+         y="316.48636"
+         x="66.73098"
+         style="font-size:28px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+         xml:space="preserve"><tspan
+           style="font-size:20px"
+           y="316.48636"
+           x="66.73098"
+           id="tspan3760"
+           sodipodi:role="line">audiotestsrc</tspan></text>
+      <rect
+         y="325.11401"
+         x="152.93028"
+         height="25.072104"
+         width="44.926483"
+         id="rect3756-2"
+         style="fill:#cecece;fill-opacity:1;stroke:#07417f;stroke-width:3;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
+      <text
+         sodipodi:linespacing="125%"
+         id="text3784"
+         y="341.3631"
+         x="164.62877"
+         style="font-size:28px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+         xml:space="preserve"><tspan
+           style="font-size:14px"
+           y="341.3631"
+           x="164.62877"
+           id="tspan3786"
+           sodipodi:role="line">src</tspan></text>
+    </g>
+    <g
+       id="g3954"
+       transform="translate(0,2)">
+      <rect
+         y="303.0415"
+         x="311.19888"
+         height="66.069878"
+         width="155.62135"
+         id="rect3756-24"
+         style="fill:#b9d3f7;fill-opacity:1;stroke:#07417f;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
+      <text
+         sodipodi:linespacing="125%"
+         id="text3758-9"
+         y="324.57816"
+         x="317.6828"
+         style="font-size:28px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+         xml:space="preserve"><tspan
+           style="font-size:20px"
+           y="324.57816"
+           x="317.6828"
+           id="tspan3760-0"
+           sodipodi:role="line">autoaudiosink</tspan></text>
+      <rect
+         y="333.20581"
+         x="311.19888"
+         height="25.072104"
+         width="44.926483"
+         id="rect3756-2-1"
+         style="fill:#cecece;fill-opacity:1;stroke:#07417f;stroke-width:3;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
+      <text
+         sodipodi:linespacing="125%"
+         id="text3784-4"
+         y="350.16916"
+         x="319.5806"
+         style="font-size:28px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+         xml:space="preserve"><tspan
+           style="font-size:14px"
+           y="350.16916"
+           x="319.5806"
+           id="tspan3786-4"
+           sodipodi:role="line">sink</tspan></text>
+    </g>
+    <text
+       xml:space="preserve"
+       style="font-size:28px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans"
+       x="49.466797"
+       y="281.96109"
+       id="text3758-2"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan3760-4"
+         x="49.466797"
+         y="281.96109"
+         style="font-size:28px">pipeline</tspan></text>
+    <path
+       style="fill:none;stroke:#000000;stroke-width:3.92622638;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-mid:none;marker-end:url(#Arrow2Send)"
+       d="m 196.33908,346.50504 105.68458,0"
+       id="path3946"
+       inkscape:connector-curvature="0" />
+  </g>
+</svg>



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