Help
- From: raghu singh <irritating_rabbit yahoo com>
- To: dia-list gnome org
- Subject: Help
- Date: Wed, 31 May 2006 00:52:51 -0700 (PDT)
Hi,
I am using dia 0.94.
While i draw the attributes(in the diagram) for a particular entity. I want the dia to give me an option to specify the datatype also or the attribute like it presently gives option for weak ,key, multivalued etc.
I tried on my own and went through this file attribute.c
In this file i found the following code(part of whole code) :
------------------------------------------------------------------------------------------------------
static PropDescription attribute_props[] = {
ELEMENT_COMMON_PROPERTIES,
{ "name", PROP_TYPE_STRING, PROP_FLAG_VISIBLE,
N_("Name:"), NULL, NULL },
{ "key", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE,
N_("Key:"), NULL, NULL },
{ "weakkey", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE,
N_("Weak key:"), NULL, NULL },
{ "derived", PROP_TYPE_BOOL,
PROP_FLAG_VISIBLE,
N_("Derived:"), NULL, NULL },
{ "multivalue", PROP_TYPE_BOOL, PROP_FLAG_VISIBLE,
N_("Multivalue:"), NULL, NULL },
PROP_STD_LINE_WIDTH,
PROP_STD_LINE_COLOUR,
PROP_STD_FILL_COLOUR,
PROP_STD_TEXT_FONT,
PROP_STD_TEXT_HEIGHT,
PROP_DESC_END
};
--------------------------------------------------------------------------------------------------------------------
Does making a change in this code would reflect it and i get what i am looking for???
Please tell me.
Thanks and regards,
Raghu
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]