[JW Lua] Defaults for multi-measure rest creation

Jari Williamsson jari.williamsson at mailbox.swipnet.se
Tue Sep 22 12:23:38 CEST 2015


Jan,

FCTupletPrefs has "ChangeTuplet" and "CopyFromTuplet" methods. I'll 
implement the same approach in the FCMultiMeasureRestPrefs prefs class.

I'll see if I can do something in the data object classes as well.


Best regards,

Jari Williamsson


On 2015-09-03 16:09, Jan Angermüller wrote:
> Hi Jari,
>
> a nice to have feature for FCMultiMeasureRest would be, filling all
> properties automatically with the values from FCMultiMeasureRestPrefs
> when creating a new FCMultiMeasureRest object. Then creating new
> multi-measure rests would (probably) only require the start and end
> measure and calling the Save() function. Now it's a bit tedious with
> crawling through all the properties from FCMultiMeasureRestPrefs.
>
> I haven't checked how it's done in other classes that have properties
> that also have default values in a prefs-class. But maybe a method like
> "FillWithDefaults()" would be great for these cases if the
> initialization of the properties is not done directly in the class
> creation.
>
> All the best,
> Jan
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
>






More information about the JWLua mailing list