diff options
author | lecoanet | 2006-08-16 14:43:48 +0000 |
---|---|---|
committer | lecoanet | 2006-08-16 14:43:48 +0000 |
commit | db23d996a7c6b481435f56c679c255a9b48b455a (patch) | |
tree | 02f815d2afbf59f818a20867c4725d4bcecbacad /generic/Track.h | |
parent | 40fe61391822c1d25f9c4bda13230719a8bd1d9e (diff) | |
download | tkzinc-db23d996a7c6b481435f56c679c255a9b48b455a.zip tkzinc-db23d996a7c6b481435f56c679c255a9b48b455a.tar.gz tkzinc-db23d996a7c6b481435f56c679c255a9b48b455a.tar.bz2 tkzinc-db23d996a7c6b481435f56c679c255a9b48b455a.tar.xz |
* Added a compilation selectable attribute -omtechstuff to ease debugging
anti-overlapping algorithms. It is intended to report decision making data
from the algorithm. It can be compiled by defining OM_TECH.
* Fixed a bad reported position in return from ZnQueryLabelPosition.
Now the same algorithm is used by the widget for its internal use and
for reporting purposes.
Diffstat (limited to 'generic/Track.h')
-rw-r--r-- | generic/Track.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/Track.h b/generic/Track.h index d96a7a6..98bc4c5 100644 --- a/generic/Track.h +++ b/generic/Track.h @@ -38,7 +38,11 @@ void *ZnSendTrackToOm(void *ptr, void *item, int *x, int *y, int *label_width, int *label_height,*/ int *rho, int *theta, int *visibility, int *locked, int *preferred_angle, int *convergence_style); -void ZnSetLabelAngleFromOm(void *ptr, void *item, int rho, int theta); +void ZnSetLabelAngleFromOm(void *ptr, void *item, int rho, int theta +#ifdef OM_TECH + , char *reason /* Technical data explaining algorithm processing */ +#endif + ); void ZnQueryLabelPosition(void *ptr, void *item, int theta, int *x, int *y, int *w, int *h); void ZnSetHistoryVisibility(ZnItem item, int index, ZnBool visibility); |