macro definitions for some standard properties



Attaching a patch for the new macros PROP_STDNAME_LINE_WIDTH and
PROP_STDTYPE_LINE_WIDTH ...

Also noticed two files that use the string "font_height":

./objects/ER/relationship.c:  data_add_real(new_attribute(obj_node,
"font_height"),
./objects/ER/relationship.c:  attr = object_find_attribute(obj_node,
"font_height");
./objects/ER/attribute.c:  data_add_real(new_attribute(obj_node, "font_height"),
./objects/ER/attribute.c:  attr = object_find_attribute (obj_node,
"font_height");
./objects/ER/entity.c:  data_add_real(new_attribute(obj_node, "font_height"),
./objects/ER/entity.c:  attr = object_find_attribute(obj_node, "font_height");

Is this supposed to mean "text_height"? Should this be changed to use
the new macros? The concerned usage calls "data_add_real" ... I wonder
if this has anything to do with the actual data saved in a dia file.
In that case, changing "font_height" to the standard name
"text_height" might break all existing files.

Sameer.
--
Research Scholar, KReSIT, IIT Bombay
http://www.it.iitb.ac.in/~sameerds/

Attachment: line_width.patch
Description: Text Data



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