[gnomeweb-wml] libchamplain web page updates



commit 4a11ce715d06bcebc0c584111047a96e8868690e
Author: JiÅ?í Techet <techet gmail com>
Date:   Sat May 22 16:13:53 2010 +0200

    libchamplain web page updates
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 projects.gnome.org/libchamplain/Makefile.am        |    5 +-
 .../data/themes/libchamplain/document.screen.css   |   48 ++++++-
 projects.gnome.org/libchamplain/download.html      |   53 ++++---
 projects.gnome.org/libchamplain/features.html      |   90 +++++-------
 projects.gnome.org/libchamplain/index.html         |  146 ++++++--------------
 projects.gnome.org/libchamplain/reference.html     |  151 ++++++++++++++++++++
 6 files changed, 312 insertions(+), 181 deletions(-)
---
diff --git a/projects.gnome.org/libchamplain/Makefile.am b/projects.gnome.org/libchamplain/Makefile.am
index 0435530..427d162 100644
--- a/projects.gnome.org/libchamplain/Makefile.am
+++ b/projects.gnome.org/libchamplain/Makefile.am
@@ -7,8 +7,9 @@ mrproper:
 
 page_SCRIPTS= \
 	index.html \
-	download.html \
 	features.html \
+	download.html \
+	reference.html \
 	$(NULL)
 
 themedir=$(pagedir)/data/themes/libchamplain
@@ -38,6 +39,8 @@ screenshots_DATA = \
 	data/screenshots/map-source-cyclemap_t.png \
 	data/screenshots/map-source-osm.png \
 	data/screenshots/map-source-osm_t.png \
+	data/screenshots/map-source-osmt.png \
+	data/screenshots/map-source-osmt_t.png \
 	data/screenshots/map-source-oam.png \
 	data/screenshots/map-source-oam_t.png \
 	data/screenshots/map-source-mff.png \
diff --git a/projects.gnome.org/libchamplain/data/themes/libchamplain/document.screen.css b/projects.gnome.org/libchamplain/data/themes/libchamplain/document.screen.css
index e38d315..4555e50 100644
--- a/projects.gnome.org/libchamplain/data/themes/libchamplain/document.screen.css
+++ b/projects.gnome.org/libchamplain/data/themes/libchamplain/document.screen.css
@@ -145,15 +145,61 @@
   float:right;
 }
 
+#tothearchive
+{
+    text-decoration: none;
+    font-weight: bold;
+    color: blue;
+    vertical-align: middle;
+    text-align: center;
+    width: 100%;
+    clear: both;
+    margin-bottom: 5px;
+}
+
+#tothearchive a
+{
+    text-decoration: none;
+    color: blue;
+}
+
 div.screenshot
 {
   width:50%;
   float:left;
 }
 
+.S0 {
+        color: #808080;
+}
+.S1 {
+        color: #007F00;
+}
+.S4 {
+        color: #007F7F;
+}
+.S5 {
+        font-weight: bold;
+        color: #00007F;
+}
+.S6 {
+        color: #7F007F;
+}
+.S9 {
+        color: #7F7F00;
+}
+.S10 {
+        font-weight: bold;
+        color: #000000;
+}
+
+span {
+        color: #000000;
+}
+
 div.code
 {
-  background-color: #e0e0e0;
+  background-color: #f0f0f0;
   color: #000000;
   white-space: pre;
   font-family: monospace;
diff --git a/projects.gnome.org/libchamplain/download.html b/projects.gnome.org/libchamplain/download.html
index 980bc9b..86d0f65 100644
--- a/projects.gnome.org/libchamplain/download.html
+++ b/projects.gnome.org/libchamplain/download.html
@@ -11,17 +11,17 @@
   <body>
 
     <div id="header">
-      <h1>Download</h1>
+      <h1>Home</h1>
     </div>
     <div id="menu">
       <h2>Menu</h2>
       <ul>
-        <li><a href="http://www.gnome.org/projects";>Gnome Projects</a>
+        <li><a href="index.html">Home</a>
           <ul>
-            <li><a href="index.html">Home</a> </li>
             <li><a href="features.html">Features</a> </li>
-            <li><a href="http://live.gnome.org/libchamplain";>Wiki</a> </li>
             <li class="current"><a href="download.html">Download</a> </li>
+            <li><a href="reference.html">Reference</a> </li>
+            <li><a href="http://live.gnome.org/libchamplain";>Wiki</a> </li>
           </ul>
         </li>
       </ul>
@@ -36,14 +36,14 @@
             <h2>Stable</h2>
 
             <p>
-            Stable version is recommended for most of the users. There are more and more
-            chance that your Linux distribution includes libchamplain. Refer to
+            Stable version is recommended for most users. There is a good chance 
+            that your Linux distribution already includes libchamplain. Refer to
             your distribution's software installation instructions.
-
-            You can also install libchamplain from source code. Note that you then
-            need several development packages.
             </p>
-
+            <p>
+            You can also install libchamplain from source code. Note that in this case you
+            need several development packages listed on the libchamplain's home page.
+            </p>
 
             <div class="download">
               <a href="http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.4.tar.gz";
@@ -52,11 +52,15 @@
                 libchamplain 0.4.4
               </a>
               <p>
-              was released on Januray 28th 2010<br />
-              md5sums: 501495c19af887c70aa15ff200121232
+              released on Januray 28th 2010<br/>
+              sha256: 55e82972152842fd5e4de81614e88f53f7ba6a86b87999d233c038f909665616
               </p>
             </div>
 
+          <p>
+          Get the Perl bindings from <a href="http://search.cpan.org/dist/Champlain";>CPAN</a>.
+          </p>
+
         </div>
 
         <div id="right">
@@ -68,15 +72,19 @@
           likely to have bugs. Please help us to track them down.
           </p>
           <h3>From the bakery</h3>
-          <p>libchamplain sources can be found in
-          <a href="http://git.gnome.org";>git.gnome.org</a>,
-          in the <a href="http://git.gnome.org/cgit/libchamplain";>libchamplain</a> project. Also, you can
+          <p>libchamplain sources can be found in the <a href="http://git.gnome.org/cgit/libchamplain";>libchamplain repository</a> 
+          of git.gnome.org. Also, you can
           <a href="http://git.gnome.org/cgit/libchamplain/tree/";>browse the latest sources online</a>.
           To get them, just execute
           </p>
           <div class="code">
             git clone git://git.gnome.org/libchamplain
           </div>
+          <p>
+          We also use gitorious.org for tracking and merging patches from external contributors. 
+          See <a href="http://gitorious.org/libchamplain";>our project page at gitorious</a>.
+          Consider creating an account there if you want to contribute your code. 
+          </p>
 
           <h3>Already baked development packages</h3>
             <div class="download">
@@ -86,9 +94,8 @@
                 libchamplain 0.5.0
               </a>
               <p>
-              was released on January 24th 2010<br />
-              md5sums: 009f676e2c29c514ef115fb7993ada01 <br />
-              All bindings are broken at this stage
+              released on January 24th 2010<br />
+              sha256: 9e6e995802e817bf0df99d816fbefd2c7882a7181d7e42945443a6ec670902cb<br />
               </p>
             </div>
 
@@ -96,18 +103,18 @@
       </div><!-- bottom -->
     </div><!-- body -->
 
+    <div id="tothearchive">
+      <a href="http://download.gnome.org/sources/libchamplain";>All releases archive...</a>
+    </div>
+    
     <div id="copyright">
-      <p>Copyright &copy; 2010 JiÅ?í Techet
-      <br />
+      <p>
       GNOME and the foot logo are trademarks of the GNOME Foundation.
       <br />
       This website is based on <a href="http://projects.gnome.org/cheese/";>Cheese</a>'s website by <a href="http://home.cs.tum.edu/~siegel/";>Daniel G. Siegel</a>.
       <br />
       <a href="http://validator.w3.org/check/referer";>Optimized</a> for <a href="http://www.w3.org/";>standards</a>.
       <br />
-      <script type="text/javascript">
-        document.write("Last Updated: " + document.lastModified );
-      </script>
       </p>
     </div>
 
diff --git a/projects.gnome.org/libchamplain/features.html b/projects.gnome.org/libchamplain/features.html
index da84523..8acc0e8 100644
--- a/projects.gnome.org/libchamplain/features.html
+++ b/projects.gnome.org/libchamplain/features.html
@@ -25,17 +25,17 @@
   <body>
 
     <div id="header">
-      <h1>Features</h1>
+      <h1>Home</h1>
     </div>
     <div id="menu">
       <h2>Menu</h2>
       <ul>
-        <li><a href="http://www.gnome.org/projects";>Gnome Projects</a>
+        <li><a href="index.html">Home</a>
           <ul>
-            <li><a href="index.html">Home</a> </li>
             <li class="current"><a href="features.html">Features</a> </li>
-            <li><a href="http://live.gnome.org/libchamplain";>Wiki</a> </li>
             <li><a href="download.html">Download</a> </li>
+            <li><a href="reference.html">Reference</a> </li>
+            <li><a href="http://live.gnome.org/libchamplain";>Wiki</a> </li>
           </ul>
         </li>
       </ul>
@@ -49,9 +49,9 @@
         <div class="tour-item">
           <h2>libchamplain</h2>
           <p>
-          libchamplain is a map widget for your applications.  By default, it
+          libchamplain is a map widget for your applications.  By default it
           supports many open map sources.  You can build your own or add support
-          for other sources, if their licenses allow you to!
+          for other sources if their licenses allow you to.
           </p>
           <div class="imager">
             <a title="Maps for free - Relief" rel="shadowbox[tour]" href="data/screenshots/map-source-mff.png">
@@ -83,12 +83,12 @@
         <div class="tour-item">
           <h2>Intuitive</h2>
           <p>
-          To move around, drag the map!  To zoom in and out, you can use the
-          mouse wheel. By default, you can also double click on the map to zoom in but
+          To move around, drag the map.  To zoom in and out, use the
+          mouse wheel. By default, you can also double click the map to zoom in but
           this can be disabled by the application using libchamplain.
           </p>
           <p>
-         The map is updated as soon as you move it.
+         The map is updated as soon as you move it and the missing tiles get automatically downloaded in the background.
           </p>
         </div>
 
@@ -97,38 +97,38 @@
         <div class="tour-item">
           <h2>Eye Candy</h2>
           <p>
-          libchamplain takes advantages from Clutter: some actions are animated:
+          libchamplain takes advantage of Clutter. Many actions are animated:
           </p>
           <ul>
-            <li>The scrolling can be direct or kinetic (à la iPhone).</li>
+            <li>Scrolling can be direct or kinetic (à la iPhone).</li>
             <li>When you scroll past the edges of the map, the action is undone
            in an elastic way (à la iPhone).</li>
-            <li>Tiles are loaded from cache and if needed loaded from network.  When
+            <li>Tiles are loaded from the cache and if needed, from the network.  When
             the latter happens, they fade in on the map.</li>
-            <li>Optional smooth transition from a point to another</li>
-            <li>Optional falling-down-from-sky animation in and fade-out-to-sky animation out for markers.</li>
+            <li>Optional smooth transition from one point on the map to another.</li>
+            <li>Optional falling-down-from-the-sky animation and fade-out-to-the-sky animation for the markers.</li>
           </ul>
           <p>
-          In the next major release (0.6), more animations are planned such as zoom in/out.
+          In the future releases more eye candy stuff is planned.
           </p>
         </div>
 
         <div class="tour-item">
-          <h2>Mark your world</h2>
+          <h2>Mark Your World</h2>
           <p>
-          libchamplain offers a simple way to create rich markers.  Markers
-          exist to inform the user of information at a specific location.
-          libchamplain provides a standard default text label where you can
+          libchamplain offers a simple way to create rich markers.  Markers can be used to give more 
+          information about a specific location on the map.
+          libchamplain provides a standard text label where you can
           specify font and colors.
           </p>
           <p>
-          Thanks to Clutter, you can make also do what ever you want to markers,
-          make them transparent or even animate them! They are also fully
-          reactive: mouse press/release, mouse hovering, any event Clutter supports!
+          Thanks to Clutter, you can customize the markers according to your needs;
+          make them transparent or even animated! They are also fully
+          reactive: mouse press/release, mouse hover and all other Clutter events are supported.
           </p>
           <p>
-          Markers are grouped on Layers.  This proves to be useful if you want
-          to hide them all at once.
+          Markers are grouped in Layers.  This proves to be useful if you want
+          to display or hide them all at once.
           </p>
           <div class="imager">
             <a title="Animated Markers Demo" rel="shadowbox[tour]" href="data/screenshots/animated-marker.gif">
@@ -150,22 +150,18 @@
         <br class="clearboth">
 
         <div class="tour-item">
-          <h2>libchamplain speaks your language</h2>
+          <h2>libchamplain Speaks Your Language</h2>
           <p>
-          Starting with 0.4, the following bindings will be available (in addition to the native C api):
+          The following bindings are available in addition to the native C API:
           </p>
           <ul>
             <li>Python</li>
-          </ul>
-          Soon more bindings will be available:
-          <ul>
             <li>Perl</li>
-            <li>Managed (C#, mono, .net)</li>
             <li>Any other language that supports GObject introspection</li>
           </ul>
 
           <p>
-          You can then write your application in the language that suits you the best.
+          You can write your application in the language that suits you best.
           </p>
 
         </div>
@@ -173,25 +169,19 @@
         <div class="tour-item">
           <h2>The Future is Now</h2>
           <p>
-          Of course this list is incomplete, here is what you should be able
-         to do:
+          Of course the feature list is incomplete. Here are a few more things you can do:
           </p>
           <ul>
-            <li>Draw routes and shapes to highlight a territory</li>
-            <li>Implement your own map source, directly into your applications</li>
-            <li>Display a loading notification to your users when tiles are
-            being loaded</li>
-            <li>Limit the visible zoom levels: if your applications only matters country wide markers,
-           why let them wander in the streets?</li>
-          </ul>
-          There are also plans for new features:
-          <ul>
-            <li>Add information bubbles to markers, that would open when you
-           click them (à la Google Maps)</li>
-            <li>Limit the visible area: if your applications only matters for
-           Paris users, why let them wander in Berlin?</li>
+            <li>Draw routes and shapes to highlight a territory.</li>
+            <li>Display the scale.</li>
+            <li>Implement your own map sources.</li>
+            <li>Display a notification when tiles are being loaded.</li>
+            <li>...and many more.</li>
           </ul>
-
+          <p>
+          We have many ideas for new features and improvements - see our enhancemens list in the bugzilla. 
+          Feel free to suggest a feature you are missing. Or better, contribute the code and join the team now!
+          </p>
         </div>
 
         <br class="clearboth">
@@ -200,17 +190,13 @@
     </div><!-- body -->
 
     <div id="copyright">
-      <p>Copyright &copy; 2010 JiÅ?í Techet
-      <br />
+      <p>
       GNOME and the foot logo are trademarks of the GNOME Foundation.
       <br />
       This website is based on <a href="http://projects.gnome.org/cheese";>Cheese</a>'s website by <a href="http://home.cs.tum.edu/~siegel/";>Daniel G. Siegel</a>.
       <br />
       <a href="http://validator.w3.org/check/referer";>Optimized</a> for <a href="http://www.w3.org/";>standards</a>.
       <br />
-      <script type="text/javascript">
-        document.write("Last Updated: " + document.lastModified );
-      </script>
       </p>
     </div>
     
diff --git a/projects.gnome.org/libchamplain/index.html b/projects.gnome.org/libchamplain/index.html
index 0ee6e71..c1bf18e 100644
--- a/projects.gnome.org/libchamplain/index.html
+++ b/projects.gnome.org/libchamplain/index.html
@@ -16,12 +16,12 @@
     <div id="menu">
       <h2>Menu</h2>
       <ul>
-        <li><a href="http://www.gnome.org/projects";>Gnome Projects</a>
+        <li class="current"><a href="index.html">Home</a>
           <ul>
-            <li class="current"><a href="index.html">Home</a> </li>
             <li><a href="features.html">Features</a> </li>
-            <li><a href="http://live.gnome.org/libchamplain";>Wiki</a> </li>
             <li><a href="download.html">Download</a> </li>
+            <li><a href="reference.html">Reference</a> </li>
+            <li><a href="http://live.gnome.org/libchamplain";>Wiki</a> </li>
           </ul>
         </li>
       </ul>
@@ -44,22 +44,21 @@
             <p>
             Libchamplain is a C library providing a ClutterActor to
             display maps.  It also provides a Gtk+ widget to display maps in
-            Gtk+ applications.  Mono, Python and Perl bindings are
+            Gtk+ applications.  Python and Perl bindings are also
             available.
             </p>
             <p>
             It supports numerous free map sources such as
             <a href="http://www.openstreetmap.org/";>OpenStreetMap</a>,
             <a href="http://www.opencyclemap.org/";>OpenCycleMap</a>,
-            <a href="http://www.öpnvkarte.org/";>�pnvkarte</a>,
             <a href="http://www.openaerialmap.org/";>OpenAerialMap</a> and
             <a href="http://www.maps-for-free.com/";>Maps for free</a>.
             </p>
             <p>
             Libchamplain is named after <a href="http://en.wikipedia.org/wiki/Samuel_de_Champlain";>Samuel de Champlain</a>, famous French 
             navigator, explorer and cartographer.  He is the
-            â??father of New-Franceâ?? and founder of <a href="http://en.wikipedia.org/wiki/Quebec_City";>Québec City</a>, which is the 
-            400th anniversary in 2008, the year that this library was first created.
+            â??father of New-Franceâ?? and founder of <a href="http://en.wikipedia.org/wiki/Quebec_City";>Québec City</a>, which was the 
+            400th anniversary in 2008, the year this library was created.
             </p>
             <a href="http://www.novopia.com";><img src="http://www.novopia.com/img/logo-200x50.png";></a>
             <h2>Licence</h2>
@@ -75,17 +74,21 @@
             <img src="data/images/application-x-executable.png" alt="icon" />
             </div>
             <ul>
-              <li><a href="http://www.clutter-project.org/";>Clutter</a> 1.0</li>
-              <li><a href="http://www.cairographics.org/";>Cairo</a> 1.4</li>
-              <li><a href="http://live.gnome.org/LibSoup";>libsoup</a> or <a href="http://live.gnome.org/LibSoup";>libsoup GNOME</a> 2.4</li>
-              <li><a href="http://www.gtk.org/";>Glib</a> 2.16</li>
-              <li><a href="http://www.gtk.org/";>Gdk</a> 2.10</li>
+              <li><a href="http://www.clutter-project.org/";>clutter</a> 1.0</li>
+              <li><a href="http://www.cairographics.org/";>cairo</a> 1.4</li>
+              <li><a href="http://live.gnome.org/LibSoup";>libsoup</a> (or libsoup-gnome) 2.4</li>
+              <li><a href="http://www.gtk.org/";>glib</a> 2.16</li>
+              <li><a href="http://www.gtk.org/";>gdk</a> 2.10</li>
               <li><a href="http://www.sqlite.org/";>sqlite</a> 3.0</li>
             </ul>
-            <p>Optional dependencies for Gtk+ widget:
+            <p>Optional dependencies for the Gtk+ widget:
             <ul>
-              <li><a href="http://www.clutter-project.org/";>Clutter Gtk</a> 0.10</li>
-              <li><a href="http://www.gtk.org/";>Gtk+</a> 2.10</li>
+              <li><a href="http://www.clutter-project.org/";>clutter-gtk</a> 0.10</li>
+              <li><a href="http://www.gtk.org/";>gtk+</a> 2.10</li>
+            </ul>
+            <p>If you plan to experiment with local rendering, you'll also need:
+            <ul>
+              <li><a href="https://trac.openstreetmap.ch/trac/memphis/wiki/LibMemphis";>libmemphis</a> 0.2.1</li>
             </ul>
 
             <h2>Bugs</h2>
@@ -93,14 +96,16 @@
             <img src="data/images/applications-development.png" alt="icon" />
             </div>
             <p>
-            Even thought we do our best to get rid of them, they might slip in.
-            Be helpful and report them to the
-            <a href="http://bugzilla.gnome.org/";>GNOME Bug Tracking System.</a>
+            Even though we do our best to get rid of them, they might slip in.
+            Be helpful and report them to the GNOME Bug Tracking System
             by <a href="http://bugzilla.gnome.org/enter_bug.cgi?product=libchamplain";>filing your bug here</a>.
-            <br/>
-            Make sure the problem hasn't already been reported and try it
-            against the latest version, just in case your problem had
-            already been fixed!
+            <p/>
+            <p></p>
+            Make sure the problem hasn't already been reported by 
+            <a href="https://bugzilla.gnome.org/browse.cgi?product=libchamplain";>browsing the bug tracker</a> 
+            and try it
+            against the latest version just in case your problem had
+            already been fixed.
             </p>
 
             <h2>Keep in touch</h2>
@@ -111,7 +116,7 @@
             Want to keep in touch with the development? Have a question on how
             to use libchamplain? Subscribe to our
             <a href="http://mail.gnome.org/mailman/listinfo/libchamplain-list";>mailing list</a>
-            (You have to join the list to send mails to it)
+            (you have to join the list to send mails to it).
             </p>
             <p>
             We also have a dedicated IRC channel on
@@ -127,119 +132,55 @@
 
         <div id="bottomRight">
           <h2>News</h2>
+          
+          <h3>May 18th 2010</h3>
+          <p>
+          <b>Development</b> version 0.5.2 was released!
+          </p>
+          <a href="http://mail.gnome.org/archives/libchamplain-list/2010-May/msg00007.html";>Release Notes</a>
+          
           <h3>April 21st 2010</h3>
           <p>
           Libchamplain as a new maintainer!
-
           </p>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2010-April/msg00005.html";>full release notes</a>)
-          <a href="download">Read the details</a>
+          <a href="http://mail.gnome.org/archives/libchamplain-list/2010-April/msg00005.html";>Read the details</a>
 
           <h3>January 28th 2010</h3>
           <p>
           <b>Stable</b> version 0.4.4 was released!
           </p>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2010-January/msg00054.html";>full release notes</a>)
-          <a href="download">Download it</a>
+          <a href="http://mail.gnome.org/archives/libchamplain-list/2010-January/msg00054.html";>Release Notes</a>
 
           <h3>January 24th 2010</h3>
           <p>
           <b>Development</b> version 0.5.0 was released!
           </p>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2010-January/msg00047.html";>full release notes</a>)
-          <a href="download">Download it</a>
+          <a href="http://mail.gnome.org/archives/libchamplain-list/2010-January/msg00047.html";>Release Notes</a>
 
           <h3>January 9th 2010</h3>
           <p>
           <b>Stable</b> version 0.4.3 was released!
           </p>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2010-January/msg00013.html";>full release notes</a>)
-          <a href="download">Download it</a>
+          <a href="http://mail.gnome.org/archives/libchamplain-list/2010-January/msg00013.html";>Release Notes</a>
 
           <h3>October 26th 2009</h3>
           <p>
           <b>Stable</b> version 0.4.2 was released!
           </p>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2009-October/msg00019.html";>full release notes</a>)
-          <a href="download">Download it</a>
+          <a href="http://mail.gnome.org/archives/libchamplain-list/2009-October/msg00019.html";>Release Notes</a>
 
           <h3>October 18th 2009</h3>
           <p>
           <b>Stable</b> version 0.4.1 was released!
           </p>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2009-October/msg00018.html";>full release notes</a>)
-          <a href="download">Download it</a>
-
-          <h3>September 3rd 2009</h3>
-          <p>
-          <b>Development</b> version 0.3.92 was released!
-          </p>
-          <a href="download">Download it</a>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2009-September/msg00000.html";>full release notes</a>)
-
-          <h3>August 24th 2009</h3>
-          <p>
-          <b>Development</b> version 0.3.91 was released!
-          </p>
-          <a href="download">Download it</a>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2009-August/msg00011.html";>full release notes</a>)
-
-          <h3>August 10th 2009</h3>
-          <p>
-          <b>Development</b> version 0.3.90 was released!
-          </p>
-          <a href="download">Download it</a>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2009-August/msg00008.html";>full release notes</a>)
-
-          <h3>August 3rd 2009</h3>
-          <p>
-          <b>Development</b> version 0.3.6 was released!
-          </p>
-          <a href="download">Download it</a>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2009-August/msg00005.html";>full release notes</a>)
-
-          <h3>August 1st 2009</h3>
-          <p>
-          <b>Development</b> version 0.3.5 was released!
-          </p>
-          <a href="download">Download it</a>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2009-August/msg00000.html";>full release notes</a>)
-
-          <h3>July 31st 2009</h3>
-          <p>
-          <b>Development</b> version 0.3.4 was released!
-          </p>
-          <a href="download">Download it</a>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2009-July/msg00011.html";>full release notes</a>)
-
-          <h3>June 15th 2009</h3>
-          <p>
-          <b>Development</b> version 0.3.3 was released!
-          </p>
-          <a href="download">Download it</a>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2009-June/msg00008.html";>full release notes</a>)
-
-          <h3>May 4th 2009</h3>
-          <p>
-          <b>Development</b> version 0.3.0 was released!
-          </p>
-          <a href="download">Download it</a>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2009-May/msg00015.html";>full release notes</a>)
-
-          <h3>April 2nd 2009</h3>
-          <p>
-          <b>Stable</b> version 0.2.10 was released!
-          </p>
-          <a href="download">Download it</a>
-          (<a href="http://mail.gnome.org/archives/libchamplain-list/2009-February/msg00005.html";>full release notes</a>)
+          <a href="http://mail.gnome.org/archives/libchamplain-list/2009-October/msg00018.html";>Release Notes</a>
 
         </div>
       </div><!-- bottom -->
     </div><!-- body -->
 
     <div id="copyright">
-      <p>Copyright &copy; 2010 JiÅ?í Techet
-      <br />
+      <p>
       GNOME and the foot logo are trademarks of the GNOME Foundation.
       <br />
       This website is based on <a href="http://projects.gnome.org/cheese/";>Cheese</a>'s website by <a href="http://home.cs.tum.edu/~siegel/";>Daniel G. Siegel</a>.
@@ -258,9 +199,6 @@ piwikTracker.enableLinkTracking();
 } catch( err ) {}
 </script><noscript><p><img src="http://webstats.gnome.org/piwik.php?idsite=4"; style="border:0" alt=""/></p></noscript>
 <!-- End Piwik Tag --> 
-      <script type="text/javascript">
-        document.write("Last Updated: " + document.lastModified );
-      </script>
       </p>
     </div>
 
diff --git a/projects.gnome.org/libchamplain/reference.html b/projects.gnome.org/libchamplain/reference.html
new file mode 100644
index 0000000..35706d5
--- /dev/null
+++ b/projects.gnome.org/libchamplain/reference.html
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
+  <head>
+    <title>libchamplain</title>
+    <link rel="stylesheet" media="all" href="data/themes/libchamplain/document.all.css" title="Gnome"/>
+    <link rel="stylesheet" media="screen" href="data/themes/libchamplain/document.screen.css" title="Gnome"/>
+
+    <meta name="description" content="libchamplain" />
+  </head>
+  <body>
+
+    <div id="header">
+      <h1>Home</h1>
+    </div>
+    <div id="menu">
+      <h2>Menu</h2>
+      <ul>
+        <li><a href="index.html">Home</a>
+          <ul>
+            <li><a href="features.html">Features</a> </li>
+            <li><a href="download.html">Download</a> </li>
+            <li class="current"><a href="reference.html">Reference</a> </li>
+            <li><a href="http://live.gnome.org/libchamplain";>Wiki</a> </li>
+          </ul>
+        </li>
+      </ul>
+    </div>
+
+    <div id="body">
+
+      <div id="bottom">
+        <div id="bottomLeft">
+
+            <h2>Is it Hard to Use?</h2>
+            <p>
+            Not really. Look at the following example. With this code you get a fully functional
+            application with the map widget covering the whole window. You can zoom in and out
+            with your mouse wheel and scroll the view by dragging it. The tiles are downloaded
+            automatically from the network and cached on your disk so they will be available
+            next time even if you are offline. 
+            </p>
+            <p>
+            Notice that only three lines of the code below are specific to libchamplain - the two include headers 
+            and then the call of the constructor of the widget - the rest is just the ordinary 
+            boilerplate code you would write for any clutter-based application.
+            </p>
+            <div class="code">
+<span class="S9">#include &lt;gtk/gtk.h&gt;</span>
+
+<span class="S1">/* include the necessary headers */</span>
+<span class="S9">#include &lt;champlain/champlain.h&gt;</span>
+<span class="S9">#include &lt;champlain-gtk/champlain-gtk.h&gt;</span>
+
+<span class="S9">#include &lt;clutter-gtk/clutter-gtk.h&gt;</span>
+
+<span class="S5">int</span>
+main<span class="S0"> </span><span class="S10">(</span><span class="S5">int</span><span class="S0"> </span>argc<span class="S10">,</span><span class="S0"> </span><span class="S5">char</span><span class="S0"> </span><span class="S10">*</span>argv<span class="S10">[])</span>
+<span class="S10">{</span>
+<span class="S0">  </span>GtkWidget<span class="S0"> </span><span class="S10">*</span>window<span class="S10">,</span><span class="S0"> </span><span class="S10">*</span>widget<span class="S10">,</span><span class="S0"> </span><span class="S10">*</span>vbox<span class="S10">;</span>
+
+<span class="S0">  </span><span class="S1">/* initialize threads and clutter */</span>
+<span class="S0">  </span>g_thread_init<span class="S0"> </span><span class="S10">(</span>NULL<span class="S10">);</span>
+<span class="S0">  </span>gtk_clutter_init<span class="S0"> </span><span class="S10">(&amp;</span>argc<span class="S10">,</span><span class="S0"> </span><span class="S10">&amp;</span>argv<span class="S10">);</span>
+
+<span class="S0">  </span><span class="S1">/* create the top-level window and quit the main loop when it's closed */</span>
+<span class="S0">  </span>window<span class="S0"> </span><span class="S10">=</span><span class="S0"> </span>gtk_window_new<span class="S0"> </span><span class="S10">(</span>GTK_WINDOW_TOPLEVEL<span class="S10">);</span>
+<span class="S0">  </span>g_signal_connect<span class="S0"> </span><span class="S10">(</span>G_OBJECT<span class="S0"> </span><span class="S10">(</span>window<span class="S10">),</span><span class="S0"> </span><span class="S6">"destroy"</span><span class="S10">,</span><span class="S0"> </span>G_CALLBACK<span class="S0"> </span><span class="S10">(</span>gtk_main_quit<span class="S10">),</span>
+<span class="S0">      </span>NULL<span class="S10">);</span>
+
+<span class="S0">  </span><span class="S1">/* create the libchamplain widget and set its size */</span>
+<span class="S0">  </span>widget<span class="S0"> </span><span class="S10">=</span><span class="S0"> </span>gtk_champlain_embed_new<span class="S0"> </span><span class="S10">();</span>
+<span class="S0">  </span>gtk_widget_set_size_request<span class="S0"> </span><span class="S10">(</span>widget<span class="S10">,</span><span class="S0"> </span><span class="S4">640</span><span class="S10">,</span><span class="S0"> </span><span class="S4">480</span><span class="S10">);</span>
+
+<span class="S0">  </span><span class="S1">/* insert it into the widget you wish */</span>
+<span class="S0">  </span>vbox<span class="S0"> </span><span class="S10">=</span><span class="S0"> </span>gtk_vbox_new<span class="S10">(</span>FALSE<span class="S10">,</span><span class="S0"> </span><span class="S4">0</span><span class="S10">);</span>
+<span class="S0">  </span>gtk_box_pack_start<span class="S0"> </span><span class="S10">(</span>GTK_BOX<span class="S0"> </span><span class="S10">(</span>vbox<span class="S10">),</span><span class="S0"> </span>widget<span class="S10">,</span><span class="S0"> </span>TRUE<span class="S10">,</span><span class="S0"> </span>TRUE<span class="S10">,</span><span class="S0"> </span><span class="S4">0</span><span class="S10">);</span>
+<span class="S0">  </span>gtk_container_add<span class="S0"> </span><span class="S10">(</span>GTK_CONTAINER<span class="S0"> </span><span class="S10">(</span>window<span class="S10">),</span><span class="S0"> </span>vbox<span class="S10">);</span>
+
+<span class="S0">  </span><span class="S1">/* show everything */</span>
+<span class="S0">  </span>gtk_widget_show_all<span class="S0"> </span><span class="S10">(</span>window<span class="S10">);</span>
+
+<span class="S0">  </span><span class="S1">/* start the main loop */</span>
+<span class="S0">  </span>gtk_main<span class="S0"> </span><span class="S10">();</span>
+
+<span class="S0">  </span><span class="S5">return</span><span class="S0"> </span><span class="S4">0</span><span class="S10">;</span>
+<span class="S10">}</span>          
+            </div>
+            <p>
+            If you save the above code to a file, say champlain.c, you can compile the application
+            (after installing libchamplain first of course) by running:
+            </p>
+            <div class="code">
+            gcc -o champlain champlain.c `pkg-config --cflags --libs champlain-gtk-0.6`
+            </div>
+            <p>
+            Now you probably want to do some more advanced things and customize the widget to your
+            needs. Check the demos in the demos directory of the source distribution
+            and read the reference manual to explore the full capabilities of the widget.
+            </p>
+
+        </div>
+
+        <div id="bottomRight">
+          <h2>Read the Manual Online</h2>
+          
+          <h3>Latest Stable Release</h3>
+          <p>
+          <a href="http://library.gnome.org/devel/libchamplain/unstable";>libchamplain</a>
+          </p>
+          <p>
+          <a href="http://library.gnome.org/devel/libchamplain-gtk/unstable";>libchamplain-gtk</a>
+          </p>
+          
+          <h3>Older Releases</h3>
+          <p>
+          <a href="http://library.gnome.org/devel/libchamplain";>libchamplain</a>
+          </p>
+          <p>
+          <a href="http://library.gnome.org/devel/libchamplain-gtk";>libchamplain-gtk</a>
+          </p>
+          
+        </div>
+      </div><!-- bottom -->
+    </div><!-- body -->
+
+    <div id="copyright">
+      <p>
+      GNOME and the foot logo are trademarks of the GNOME Foundation.
+      <br />
+      This website is based on <a href="http://projects.gnome.org/cheese/";>Cheese</a>'s website by <a href="http://home.cs.tum.edu/~siegel/";>Daniel G. Siegel</a>.
+      <br />
+      <a href="http://validator.w3.org/check/referer";>Optimized</a> for <a href="http://www.w3.org/";>standards</a>.
+      <br />
+<!-- Piwik -->
+<script type="text/javascript">
+var pkBaseURL = (("https:" == document.location.protocol) ? "https://webstats.gnome.org/"; : "http://webstats.gnome.org/";);
+document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript">
+try {
+var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 4);
+piwikTracker.trackPageView();
+piwikTracker.enableLinkTracking();
+} catch( err ) {}
+</script><noscript><p><img src="http://webstats.gnome.org/piwik.php?idsite=4"; style="border:0" alt=""/></p></noscript>
+<!-- End Piwik Tag --> 
+      </p>
+    </div>
+
+  </body>
+</html>



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