lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cleanup: infinity, get property (issue 6310043)


From: janek . lilypond
Subject: Re: cleanup: infinity, get property (issue 6310043)
Date: Fri, 15 Jun 2012 17:41:12 +0000

On Fri, Jun 15, 2012 at 6:48 PM, David Kastrup <address@hidden> wrote:
Janek Warchoł <address@hidden> writes:
indeed, i'm more silly than i thought.
Is the inheritance correct now?
I still get an error, though...
Btw, why doesn't Flag inherit from Item?

Good question.  Looking through this and stem, it would seem that this
does not work via inheritance but rather callbacks.  So disregard what
I
said previously.

Should Lyric_text inherit from Item, then?  Or is it totally irrelevant?

You likely want to use a grob property, in which case you would write
me->get_property (...).

Done - works without any problem :)
Should i also change lyricMelismaAlignment to be a grob property?

Using a context property does not make sense
here since the lifetime of a grob is not synchronized to the lifetime
of
context properties.

You mean that a context property may be changed during the lifetime of
one grob?

thanks for help!
Janek


http://codereview.appspot.com/6310043/diff/2008/scm/define-grobs.scm
File scm/define-grobs.scm (right):

http://codereview.appspot.com/6310043/diff/2008/scm/define-grobs.scm#newcode1282
scm/define-grobs.scm:1282: (default-alignment . 0)
should i name it 'default-alignment-X'?

http://codereview.appspot.com/6310043/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]