Re: Dia Shapes
- From: Alan Horkan <horkana tcd ie>
- To: dia-list gnome org
- Subject: Re: Dia Shapes
- Date: Wed, 11 Dec 2002 17:10:58 +0000 (GMT)
On Tue, 10 Dec 2002, Alan Horkan wrote:
On 10 Dec 2002, Lars Clausen wrote:
<!-- psuedo shape descrition ...
something like
foregroudn=red
background=green
rect color=foreground
circle color=background
-->
which would create a shape that was red and green.
the toolbox, but if you specify a color, it cannot be changed at all,
exactly my problem, i want to set colours but allow users to change them.
Here is how i figure the above example would/could work:
we accept that shapes have default properties,
(such as how rounded the corners of a rectangle should be)
we inlcude a default foreground and background colour as part of the
default properties of every shape.
If you dont set/change the default colours they would match/inherit from
the ones shown in the colour box (ie black 'n' white).
If the currently selected shape has custom foreground and background
colours the palette would change to show them, but if you switched to
another shape they would change back.
I am not sure i am making this entirely clear, so please allow me to take
another context.
Try coloured text in a(n Abi)Word Processor or Mozilla Composer for
example.
in a sentence that has black and red text the font colour chooser will
show the colour as black but if you put the cursor in the middle of a red
word it will change to show that the text is red.
Hope i am making this clear.
Depending on the place, that may leave you with most of the day to hack!
Here's hoping.
I will probably be able to hang about for most of January and tell each
employer that i am waiting to hear back from the others :)
Later
Alan
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.lysator.liu.se/~alla/dia/faq.html
Main page at http://www.lysator.liu.se/~alla/dia
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]