Derrell Lipman wrote:
On Fri, Aug 22, 2008 at 2:50 PM, Chris Banford <[EMAIL PROTECTED]> wrote:
Hi list,
The second little project I'm working on to try and get a bit of a
feel
for how 0.8 works is to sub class and redesign a qooxdoo window.
To make
this work I need to "Redecorate" both the window's pane and
caption-bar.
At the moment I have zero idea where to start on this -- are there any
docs online that might give me an idea of how to override the default
l&f of the Window?
I'm guessing that there should be a way to either modify a Theme or
change the way things look (a custom button graphic might be a good
starting point too).
Just looking for a few pointers in the right direction. :-)
Hi Chris, here's a pointer in the right direction.
The documentation for what you're looking for is here:
http://qooxdoo.org/documentation/0.7/theme_support
The significant difference between that 0.7 docs and what you'd get
for 0.8 is that border and widget themes no longer exist, so just
ignore mention of them.
Note that you can extend an existing theme. For example, you can
extend qx.theme.Modern which is the meta theme defined like this:
qx.Theme.define("qx.theme.Modern",
{
title : "Modern",
meta :
{
color : qx.theme.modern.Color,
decoration : qx.theme.modern.Decoration,
font : qx.theme.modern.Font,
appearance : qx.theme.modern.Appearance,
icon : qx.theme.icon.Tango
}
});
You might like to create your own theme with all of the above except
change the appearance: entry to an appearance theme in your own name
space. Your appearance theme would probably have the line extend:
qx.theme.modern.Appearance but, in true OO fashion, overrides certain
aspects of that theme.
Review the docs and then look at
framework/source/class/qx/theme.Modern.js and at
framework/source/class/qx/theme/modern/*
Hope that helps.
Derrell
Yes -- that's a great help. Nice to know where to start off from,
especially with the docs in such a state of flux.
Thanks Derrell :-) .
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel