denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] Apply to selection functions and guideline/directive for


From: Nils
Subject: [Denemo-devel] Apply to selection functions and guideline/directive for scripters and developers
Date: Wed, 7 Oct 2009 21:01:17 +0200

With all those selections-improvements one thing is in my mind again:

I think its a good thing to define once and for all how scripts and the more 
basic elemtents work on selections and how.

However it is achieved from a user perspective it should work with the same 
command. If you have a menu item "change notehead to cross" it should work on 
single notes and if you have a selection it works on the complete selection.

Seperate commands for Single Items and Selections are not userfriendly at all 
and should be avoided at all cost.

And what is the cost?
-Denemos C code handels selections and does the loop and iteration itself?

-Or the scripter has to create an if-switch for any script where it makes sense 
(Change notehead makes sense, but "go to next bookmark" not).

-Or we work towards that there is no difference for Denemo internally if its a 
selection or not, single objects (with the cursor on it) are just selections of 
one in that case.

-else?

Nils




reply via email to

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