gtk-css-engine r170 - trunk



Author: robsta
Date: Mon Oct 20 15:44:02 2008
New Revision: 170
URL: http://svn.gnome.org/viewvc/gtk-css-engine?rev=170&view=rev

Log:
* TODO: update with information about widget theming.

Modified:
   trunk/ChangeLog
   trunk/TODO

Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Mon Oct 20 15:44:02 2008
@@ -6,31 +6,22 @@
 --------------
 
 ### Features ###
-* Improve gtkrc export.
-* Set up a map of "main primitives" per widget with prefix matching, so widget styles are applied correctly (see libccss TODO).
+* Widget theming support. Ideally we'd like to have an extra stylesheet with widget theming information and match this against the theme CSS, like:
+    GtkComboBox > GtkToggleButton { 
+      gtk: import("GtkComboBox { border-top: import; border-right: import; border-bottom: import;}");
+    }
+* Improve gtkrc export, use `:selected` and match it to base for now.
 * Add a fixup stage when the stylesheet is loaded, handle things like 
   single `background-size: <length>;` there.
 * Store type-name, type-id and selector-group in the GtkStyle and use that
   information if no widget is passed.
 * Border images, c.f. [border-image in Firefox](http://ejohn.org/blog/border-image-in-firefox/).
 * [Box-shadow](http://www.w3.org/TR/css3-background/#box-shadow).
-* Multiple background images.
 * Additional border features, e.g. `collapsed`, `none`.
-* Implement `inherit' as per CSS spec. Do we need our own set of attributed 
-  inherited by default?
 * Support per-object style attributes in libccss (and maybe also the engine, but how?).
   The node-class interface would have to be extended to support a `get_style()`
   method.
-* Application-specific theming, someting like ` import "gimp.css" gimp;`, 
-  maybe support wildcards like `gimp*` to match things like `gimp-1.2`.
-* Match properties against properties, including namespaces:
-  e.g. `GtkVScrollbar[adjustment:value=attribute(adjustment:lower)]`.
-  Can be used to implement custom inactive scrollbars, c.f. 
-  [Link](http://mail.gnome.org/archives/usability/2008-August/msg00037.html).
-* Animated images APNG, MNG, animated GIF, whatever gdk-pixbuf supports.
-* [CSS Transitions](http://webkit.org/specs/CSSVisualEffects/CSSTransitions.html)
-* Implement class selectors like http://doc.trolltech.com/4.5/stylesheet-syntax.html#selector-types .
-* Subcontrol selectors like QT? (requires patching libcroco).
+* Subcontrol selectors like QT? (requires patching libcroco). We'll probably go with widget roles, c.f. http://mail.gnome.org/archives/gtk-devel-list/2008-October/msg00107.html
 
 #### Done:
 * Support system gtk system colors, e.g. `color: gtk-color(bg_color);`.
@@ -54,6 +45,11 @@
 0.4 "Correctness"
 -----------------
 
+* Application-specific theming, someting like ` import "gimp.css" gimp;`, 
+  maybe support wildcards like `gimp*` to match things like `gimp-1.2`.
+* Implement `inherit' as per CSS spec. Do we need our own set of attributed 
+  inherited by default?
+* Multiple background images.
 * Unit tests.
 * Test using the theme torturer.
 * Test using valgrind.
@@ -66,6 +62,11 @@
 0.5 "Performance"
 -----------------
 
+* Match properties against properties, including namespaces:
+  e.g. `GtkVScrollbar[adjustment:value="gtk:attribute(adjustment:lower)"]`.
+  Can be used to implement custom inactive scrollbars, c.f. 
+  [Link](http://mail.gnome.org/archives/usability/2008-August/msg00037.html).
+  The `gtk:` prefix would trigger the property to be parsed instead of string-matched, actual prefix should of course be set by libccss consumer.
 * Profile using the theme torturer.
 * Can selectors and blocks be merged at theme load time?
 * Can computed styles be attached to widgets using g_object_set_data()?
@@ -76,6 +77,7 @@
 0.6 "Compliance"
 ----------------
 
+* Animated images APNG, MNG, animated GIF, whatever gdk-pixbuf supports.
 * Support widget mimicking by creating Gtk[Rc]Style style information and
   feeding it back into gtk, e.g. using `gtk_rc_parse()`. Maybe we would end up
   with two drawing modes, the `normal` one and the `GtkStyle` based one. In any
@@ -84,6 +86,12 @@
 
 More 0. releases go here if needed ...
 
+0.8 "Moving pictures"
+---------------------
+
+* [CSS Transitions](http://webkit.org/specs/CSSVisualEffects/CSSTransitions.html)
+
+
 1.0 "Rejoicing"
 ---------------
 



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