denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] Example: Positioning of text and icons for displaying Den


From: Richard Shann
Subject: [Denemo-devel] Example: Positioning of text and icons for displaying Denemo Directives.
Date: Fri, 06 Feb 2009 15:33:16 +0000

I have checked in code for positioning the icons that display Denemo
Directives. There is an example in 

menus/ObjectMenu/Instruments->Guitar->Fingering->StringNum

which inserts a string number indication (you follow the command with
the number desired), which is shown as the number surrounded by a
circle. 

This circle graphic is stored in the directory actions/bitmaps which
will need to be installed (Jeremiah, can you check/ensure this happens?)
The format of the data is 1 byte for width, 1 byte for height followed
by an array of chars, as in xbm data.

I attach an example showing this in action, and the script that
generates the String Numbers can be read using Get Script option.

This script uses the old LilyPondAttach functions to generate the
DenemoDirective, but these functions are now deprecated. (I just cloned
the old scripts for now). There are new DenemoDirective creation
functions, with simpler syntax and easier semantics.

Richard



Attachment: StringNumExample.denemo
Description: GNU Zip compressed data


reply via email to

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