[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sponsorship option gone?
From: |
Han-Wen Nienhuys |
Subject: |
Re: sponsorship option gone? |
Date: |
Sun, 1 Apr 2007 17:06:31 -0300 |
2007/4/1, Arvid Grøtting <address@hidden>:
> Look at how rests are offset rest.cc, y_offset_callback. You have to
> override/revert these settings.
Or, actually, call that method again after setting direction to 0.
no, better not. Callbacks aren´t expected to work properly if you call
them twice. You have to look at the input value for the callback, and
change those.
> > - this callback doesn't seem to be called by multi-measure rests. Any
> > ideas on how to merge those?
>
> unset staff-position for mm rest.
Yes, but is there a similar callback/hook where I can check for
redundant multi-measure rests?
no, not that I know. MM rests just have a hard coded vertical position.
Code for merging ordinary rests is attached.
Your code could be improved much if it destillled all the info
necessary for a single rest in a list, and then did (equal? list1
list2)
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen