[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Adding property to "line"
- From: Sven Vermeulen <sven vermeulen ugent be>
- To: dia-list gnome org
- Subject: Adding property to "line"
- Date: Thu, 7 Aug 2003 17:29:41 +0200
Hi,
If I were to add a property to the "line" object, how would I proceed? I
was thinking of the following:
- Add a variable "gboolean isdouble" to the Line structure in
objects/standard/line.c.
- Add a toggle_button to dia_line_style_selector_init in lib/widgets.c, bind
a function that switches the "isdouble" variable
and then find in what function the line-rendering is achieved, and in that
function check the value of isdouble, and depending on that value, render one
or two lines.
I know the rendering is achieved using several functions (each one more
general than the other). What function should I be looking for?
By checking out the other properties, I guess I'll also have to define a
(e.g.) PROP_STD_LINE_DOUBLE and add it to the LineProperties.
Wkr,
Sven Vermeulen
--
Save some animals, eat a vegetarian.
PGP signature
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Mail converted by Mofo Magic and the Flying D
All trademarks and copyrights are the property of
their respective owners.
Related Sites:
eBay Registration |
Bakie Directory |
Directory Owners Forum |
eLoan |
Cash Advance |
OPEN |
OPEN |
OPEN |
FreeCreditReport.com |
Powered by: vBulletin Version 3.5.3,
Copyright ©2000 - 2003, Jelsoft Enterprises Limited.
GuideSMACK