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

Issue 108110045: use X-parents to align MMRNumbers, MMRTexts and PercentRepeatCounters (Closed)

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

Description

use X-parents to align MMRNumbers, MMRTexts and PercentRepeatCounters It makes more sense to use X-parents than Y-parents for horizontal alignment. To be able to do this, we have to ensure that X-parents of MultiMeasureRestNumber, MultiMeasureRestText and PercentRepeatCounter won't be overwritten by set_bound (these grobs are spanners). We can do this because parents of these grobs are spanners as well. Expected changes in output: none.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -13 lines) Patch
M lily/include/self-alignment-interface.hh View 1 chunk +0 lines, -1 line 0 comments Download
M lily/multi-measure-rest-engraver.cc View 1 chunk +1 line, -0 lines 0 comments Download
M lily/percent-repeat-engraver.cc View 1 chunk +1 line, -0 lines 0 comments Download
M lily/self-alignment-interface.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M lily/spanner.cc View 2 chunks +12 lines, -1 line 0 comments Download
M scm/define-grobs.scm View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 3
Keith
looks good, and logical.
9 years, 10 months ago (2014-06-24 05:42:36 UTC) #1
janek
On 2014/06/24 05:42:36, Keith wrote: > looks good, and logical. Yay! Thanks :)
9 years, 10 months ago (2014-06-24 06:32:58 UTC) #2
janek
9 years, 10 months ago (2014-06-29 07:53:06 UTC) #3
pushed as

commit f4d8c77fc2ebac49bbdb0d0e9bec636313508846
Author: Janek Warchoł <lemniskata.bernoullego@gmail.com>
Date:   Mon Apr 8 15:58:08 2013 +0200

    use X-parents to align MMRNumbers, MMRTexts and PercentRepeatCounters
    
    It makes more sense to use X-parents than Y-parents for horizontal
    alignment. To be able to do this, we have to ensure that X-parents of
    MultiMeasureRestNumber, MultiMeasureRestText and PercentRepeatCounter
    won't be overwritten by set_bound (these grobs are spanners).  We can
    do this because parents of these grobs are spanners as well.
    
    Expected changes in output: none.
Sign in to reply to this message.

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