Re: Re: creating custom shapes for visual storytelling (dave boyle)



I see the xml in the *.shape files and the ext_attributes lines and have played with them. Where can I find a list of all the different types and their properties? Thanks!


dia-list-request gnome org wrote:
Send Dia-list mailing list submissions to
	dia-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
	http://mail.gnome.org/mailman/listinfo/dia-list
or, via email, send a message with subject or body 'help' to
	dia-list-request gnome org

You can reach the person managing the list at
	dia-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Dia-list digest..."


Today's Topics:

   1. creating custom shapes for visual storytelling (dave boyle)
   2. Re: creating custom shapes for visual storytelling (Lars Clausen)
   3. Re: Now look what you made me do (Sameer Sahasrabuddhe)
   4. Re: Now look what you made me do (Lars Clausen)
   5. Re: Now look what you made me do (Lars Clausen)
   6. Re: Now look what you made me do (Sameer Sahasrabuddhe)
   7. Re: Now look what you made me do (Sameer Sahasrabuddhe)
   8. dia svg export: how do adjust size? (Zhang Weiwu)


----------------------------------------------------------------------

Message: 1
Date: Mon, 01 Oct 2007 22:08:40 -0400
From: dave boyle <twoten istop com>
Subject: creating custom shapes for visual storytelling
To: dia-list gnome org
Message-ID: <4701A828 6000408 istop com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I want to use Dia to write a screenplay. I need to create a sheet of 
custom shapes with names like character, location, prop, costume, 
interaction, etc. Each shape will need custom dialog boxes that appear 
when Properties is clicked. These dialogs will allow the inputting of 
the necessary data that goes along with each story element-shape.

I've looked at the dialog box associated with the UML class shape which 
makes me think it might be possible, but is it? Can I create my own data 
objects and assign them to new shapes? Or is it just the UML class shape 
that has the ability to store extra information? With XML as the back 
end, what does it care about what I put in or where? As long as I 
conform to my DTD ...

I'm an experienced object oriented programmer with no experience in Dia. 
I'd like to know if what I want to do is even possible before making an 
investment on the learning curve. Thank you for your assistance!


------------------------------

Message: 2
Date: Tue, 02 Oct 2007 08:21:51 +0200
From: Lars Clausen <lars raeder dk>
Subject: Re: creating custom shapes for visual storytelling
To: discussions about usage and development of dia
	<dia-list gnome org>
Message-ID: <1191306111 5347 4 camel static>
Content-Type: text/plain


On Mon, 2007-10-01 at 22:08 -0400, dave boyle wrote:
  
I want to use Dia to write a screenplay. I need to create a sheet of 
custom shapes with names like character, location, prop, costume, 
interaction, etc. Each shape will need custom dialog boxes that appear 
when Properties is clicked. These dialogs will allow the inputting of 
the necessary data that goes along with each story element-shape.

I've looked at the dialog box associated with the UML class shape which 
makes me think it might be possible, but is it? Can I create my own data 
objects and assign them to new shapes? Or is it just the UML class shape 
that has the ability to store extra information? With XML as the back 
end, what does it care about what I put in or where? As long as I 
conform to my DTD ...

I'm an experienced object oriented programmer with no experience in Dia. 
I'd like to know if what I want to do is even possible before making an 
investment on the learning curve. Thank you for your assistance!
    

It is decidedly possible, but the UML objects are not the place to
start, they are by far the most complex objects we have.  It is possible
that you can make do with shapes, i.e. XML-defined objects, take a look
at shapes/Circuit/hresistor.shape for how to add your own data --
simple, fixed-count data only, though.  If those are not enough, look to
objects/standard for how to make new objects, and look at
http://faemalia.org/wiki/view/Technical/ProgrammedObject. Please ask if
you have more questions.

-Lars



------------------------------

Message: 3
Date: Tue, 2 Oct 2007 11:57:08 +0530
From: "Sameer Sahasrabuddhe" <sameerds gmail com>
Subject: Re: Now look what you made me do
To: "discussions about usage and development of dia"
	<dia-list gnome org>
Message-ID:
	<4cc31ad30710012327n34e2b1bdqa2c45e61f270838a mail gmail com>
Content-Type: text/plain; charset=ISO-8859-1

On 9/30/07, Lars Clausen <lars raeder dk> wrote:
  
So all this talk about delete key make me think more about how edit mode
would happen, and eventually I sat down and did the first essentials.
The current SVN uses edit mode, entering it automatically when an object
with text is created or on Enter or F2, and exiting on deselecting the
object or Escape.  It doesn't fix the menus or anything, but I'm piling
up remaining tasks on
<URL:http://live.gnome.org/Dia/CurrentDevelopment>.
    

It seems when typing in edit mode, every letter creates a new undo
change object. The undo stack gets filled very fast if you type a lot.
Suggestion:
1) Edit mode should create its own local undo stack that is always
initially empty.
2) Exiting the edit mode should destroy the local undo stack and
insert a single change in the global stack.

Sameer.
  



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