Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11622)

Issue 8726045: Add callback factory grob::inherit-parent-property (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by dak
Modified:
10 years, 9 months ago
Reviewers:
MikeSol, mike7
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Add callback factory grob::inherit-parent-property "@var{grob} callback generator for inheriting a @var{property} from an @var{axis} parent, defaulting to @var{default} if there is no parent or the parent has no setting."

Patch Set 1 #

Patch Set 2 : Replace a few trivial callbacks with grob::inherit-parent-property and remove dead code #

Patch Set 3 : Remove goofy quoting of X. Embarrassing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -18 lines) Patch
M scm/define-grobs.scm View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M scm/output-lib.scm View 1 3 chunks +12 lines, -15 lines 0 comments Download

Messages

Total messages: 6
MikeSol
Hey, I hadn't seen this. I just finished writing an equivalent patch. Yours is better, ...
11 years ago (2013-04-17 18:27:05 UTC) #1
dak
On 2013/04/17 18:27:05, MikeSol wrote: > Hey, I hadn't seen this. I just finished writing ...
11 years ago (2013-04-17 18:45:01 UTC) #2
mike7
On 17 avr. 2013, at 21:45, dak@gnu.org wrote: > Reviewers: MikeSol, > > Message: > ...
11 years ago (2013-04-17 18:59:04 UTC) #3
dak
Replace a few trivial callbacks with grob::inherit-parent-property and remove dead code
11 years ago (2013-04-18 15:52:30 UTC) #4
dak
Remove goofy quoting of X. Embarrassing.
11 years ago (2013-04-18 16:33:58 UTC) #5
dak
11 years ago (2013-04-18 17:49:07 UTC) #6
On 2013/04/17 18:27:05, MikeSol wrote:
> Hey, I hadn't seen this. I just finished writing an equivalent patch.  Yours
is
> better, so keep it.  You can use this for the inherit-X-parent-visibility and
> eliminate the inherit-Y-parent-visibility callback, which is cruft and can be
> replaced with the X one.

Would it make sense to rename grob::calc-property-by-copy to
grob::inherit-event-property?  That meshes better with
grob::inherit-parent-property and is more descriptive.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b