[cairo-commit] cairo-demo/cairo_snippets ChangeLog, 1.13, 1.14 cairo_snippets.css, 1.1, 1.2 cairo_snippets_html.c, 1.5, 1.6 header.html_template, 1.2, 1.3

OEyvind Kolaas commit at pdx.freedesktop.org
Fri May 21 15:37:58 PDT 2004


Committed by: pippin

Update of /cvs/cairo/cairo-demo/cairo_snippets
In directory pdx:/tmp/cvs-serv26415

Modified Files:
	ChangeLog cairo_snippets.css cairo_snippets_html.c 
	header.html_template 
Log Message:
finalized the changes to the snippets part of the website


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** a/ChangeLog	20 May 2004 14:33:23 -0000	1.13
--- b/ChangeLog	21 May 2004 22:37:56 -0000	1.14
***************
*** 1,7 ****
  2004-05-20  OEyvind Kolaas <pippin at freedesktop.org>
  
! 	* cairo_snippets_html.c : added seperate pages for each snippet
  	* renamed header.html->header.html_template
  	* renamed footer.html->footer.html_template
  	* .cvsignore: added *.html
  	* Makefile: added *.html to clean
--- 1,8 ----
  2004-05-20  OEyvind Kolaas <pippin at freedesktop.org>
  
! 	* index.html_template: main page for the snippet pages
  	* renamed header.html->header.html_template
  	* renamed footer.html->footer.html_template
+ 	* cairo_snippets_html.c : added seperate pages for each snippet
  	* .cvsignore: added *.html
  	* Makefile: added *.html to clean

Index: cairo_snippets.css
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/cairo_snippets.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** a/cairo_snippets.css	21 May 2004 16:09:41 -0000	1.1
--- b/cairo_snippets.css	21 May 2004 22:37:56 -0000	1.2
***************
*** 6,9 ****
--- 6,14 ----
  #snippet_image  { top: 10pt; float:right; padding-right:10pt;}
  
+ 
+ #snippet_page_title :link { text-decoration:none}
+ #snippet_page_title :visited { text-decoration:none}
+ #snippet_page_title  { position:relative; }
+ 
  #snippet_title  { position:relative; left: 40pt; font-size: 20pt; }
  #snippet_source { position:relative; left: 40pt; top: 8pt; font-size: 10pt;}

Index: cairo_snippets_html.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/cairo_snippets_html.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** a/cairo_snippets_html.c	21 May 2004 16:09:41 -0000	1.5
--- b/cairo_snippets_html.c	21 May 2004 22:37:56 -0000	1.6
***************
*** 59,62 ****
--- 59,63 ----
      embed_file (file, "header.html_template");
      index (file, -2);
+     embed_file (file, "index.html_template");
      embed_file (file, "footer.html_template");
      fclose (file);
***************
*** 70,75 ****
  
      embed_file (file, "header.html_template");
      fprintf (file, "<table>\n");
- 
      fprintf (file, "<div id='snippets'>");
      for (i=0;i<snippet_count;i++) {
--- 71,76 ----
  
      embed_file (file, "header.html_template");
+     fprintf (file, "<p>Renderings done using the cairo api, and their corresponding drawing instructions.</p>\n");
      fprintf (file, "<table>\n");
      fprintf (file, "<div id='snippets'>");
      for (i=0;i<snippet_count;i++) {

Index: header.html_template
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/header.html_template,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** a/header.html_template	21 May 2004 16:09:41 -0000	1.2
--- b/header.html_template	21 May 2004 22:37:56 -0000	1.3
***************
*** 10,28 ****
        <div id='logo'><a href='http://cairographics.org/'><img border='0' src='http://cairographics.org/cairo/cairo_banner.png' alt='cairographics.org'/></a></div>
  
!       <h1>cairo samples</h1>
!    
!       <p>This page contains cairo code snippets and the corresponding rendered output.
!          The <em>user space</em> is the unit square ( (0,0) - (1, 1) ).
!          The snippets are meant to be short, and easy to understand
!       </p>
!       
!       <p>cairo_snippets is available as part of the <a
!               href='http://cvs.cairographics.org/cairo-demo/cairo_snippets/'
!               >cairo-demo module in cairo CVS</a>
!       </p>
!       
!       <p>The snippet enviroment, and the original snippets were originally 
!       created by &Oslash;yvind Kol&aring;s for a paper submitted to <a href='http://2004.guadec.org/'>GUADEC 2004</a>.
!       </p>
! 
!       <p>In addition to the standard browsing interface a page with <a href='snippets.html'>all snippets</a> is available</p>
--- 10,12 ----
        <div id='logo'><a href='http://cairographics.org/'><img border='0' src='http://cairographics.org/cairo/cairo_banner.png' alt='cairographics.org'/></a></div>
  
!       <div id='snippet_page_title'><h1><a href='index.html'>cairo samples</a></h1></div>





More information about the cairo-commit mailing list