gtk-css-engine r15 - in bzr-playground: . libccd/ccd themes/gtk-css-test/gtk-2.0
- From: robsta svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-css-engine r15 - in bzr-playground: . libccd/ccd themes/gtk-css-test/gtk-2.0
- Date: Mon, 18 Aug 2008 13:50:55 +0000 (UTC)
Author: robsta
Date: Mon Aug 18 13:50:54 2008
New Revision: 15
URL: http://svn.gnome.org/viewvc/gtk-css-engine?rev=15&view=rev
Log:
Fix colour parsing, color value is 16 bit, not 8.
Modified:
bzr-playground/ (props changed)
bzr-playground/libccd/ccd/ccd-color.c
bzr-playground/themes/gtk-css-test/gtk-2.0/styles.css
Modified: bzr-playground/libccd/ccd/ccd-color.c
==============================================================================
--- bzr-playground/libccd/ccd/ccd-color.c (original)
+++ bzr-playground/libccd/ccd/ccd-color.c Mon Aug 18 13:50:54 2008
@@ -244,9 +244,9 @@
b |= (b >> bits);
bits *= 2;
}
- color->red = r / 255.;
- color->green = g / 255.;
- color->blue = b / 255.;
+ color->red = r / 65535.;
+ color->green = g / 65535.;
+ color->blue = b / 65535.;
}
return true;
Modified: bzr-playground/themes/gtk-css-test/gtk-2.0/styles.css
==============================================================================
--- bzr-playground/themes/gtk-css-test/gtk-2.0/styles.css (original)
+++ bzr-playground/themes/gtk-css-test/gtk-2.0/styles.css Mon Aug 18 13:50:54 2008
@@ -140,6 +140,10 @@
border: 1px dotted black;
}
+extension {
+ background-color: darkkhaki;
+}
+
GtkMenuBar {
border-bottom: none;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]