trace: Merge the CSS into the XSL.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 7 Aug 2008 18:58:20 +0000 (19:58 +0100)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Thu, 7 Aug 2008 19:58:09 +0000 (20:58 +0100)
src/gallium/drivers/trace/trace.css [deleted file]
src/gallium/drivers/trace/trace.xsl

diff --git a/src/gallium/drivers/trace/trace.css b/src/gallium/drivers/trace/trace.css
deleted file mode 100644 (file)
index d92c433..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-/****************************************************************************
- *
- * Copyright 2008 Tungsten Graphics, Inc.
- *
- * This program is free software: you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program.  If not, see <http://www.gnu.org/licenses/>.
- *
- ****************************************************************************/
-
-body {
-       font-family: verdana, sans-serif;
-       font-size: 11px;
-       font-weight: normal;
-       text-align : left;
-}
-
-ul.calls {
-       list-style: none;
-       margin-left: 0px;
-       padding-left: 0px;
-}
-
-ul.args {
-       display:inline;
-       list-style: none;
-       margin-left: 0px;
-       padding-left: 0px;
-}
-
-ul.args li {
-       display:inline;
-}
-
-ul.elems {
-       list-style: none;
-       margin-left: 2em;
-       padding-left: 0px;
-}
-
-ul.elems li {
-       display:block;
-}
-
-.fun {
-       font-weight: bold;
-}
-
-.var {
-       font-style: italic;
-}
-
-.typ {
-       display: none;
-}
-
-.lit {
-       color: #0000ff;
-}
-
-.ptr {
-       color: #008000;
-}
index 3c84c4c35af8e6f6f6aa263fb551756c40facb4e..5a876e0f2160914b263867391196820b9cdd74e6 100644 (file)
@@ -29,8 +29,62 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                <html>
                        <head>
                                <title>Gallium Trace</title>
-                               <link rel="stylesheet" type="text/css" href="trace.css"/>
                        </head>
+                       <style>
+                               body {
+                                       font-family: verdana, sans-serif;
+                                       font-size: 11px;
+                                       font-weight: normal;
+                                       text-align : left;
+                               }
+
+                               ul.calls {
+                                       list-style: none;
+                                       margin-left: 0px;
+                                       padding-left: 0px;
+                               }
+
+                               ul.args {
+                                       display:inline;
+                                       list-style: none;
+                                       margin-left: 0px;
+                                       padding-left: 0px;
+                               }
+
+                               ul.args li {
+                                       display:inline;
+                               }
+
+                               ul.elems {
+                                       list-style: none;
+                                       margin-left: 2em;
+                                       padding-left: 0px;
+                               }
+
+                               ul.elems li {
+                                       display:block;
+                               }
+
+                               .fun {
+                                       font-weight: bold;
+                               }
+
+                               .var {
+                                       font-style: italic;
+                               }
+
+                               .typ {
+                                       display: none;
+                               }
+
+                               .lit {
+                                       color: #0000ff;
+                               }
+
+                               .ptr {
+                                       color: #008000;
+                               }
+                       </style>
                        <body>
                                <ul class="calls">
                                        <xsl:apply-templates/>
@@ -71,7 +125,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                <xsl:apply-templates />
        </xsl:template>
 
-       <xsl:template match="bool|int|uint|enum">
+       <xsl:template match="bool|int|uint|float|enum">
                <span class="lit">
                        <xsl:value-of select="text()"/>
                </span>