![]() |
Lomse library. API documentation
0.30.0
|
#include <lomse_command.h>
A command for changing the number of dots in the selected notes and rests.
See constructor for details.
Public Member Functions | |
| CmdChangeDots (int dots, const std::string &name="Change dots") | |
| int | get_cursor_update_policy () override |
| int | get_undo_policy () override |
| int | get_selection_update_policy () override |
Public Member Functions inherited from DocCmdSimple | |
| virtual | ~DocCmdSimple () |
| bool | is_composite () override |
Public Member Functions inherited from DocCommand | |
| virtual | ~DocCommand () |
| std::string | get_name () |
| bool | is_reversible () |
| bool | is_recordable () |
| std::string | get_error () |
Additional Inherited Members | |
Public Types inherited from DocCommand | |
| enum | ECmdCursorPolicy |
| enum | ECmdUndoPolicy |
| enum | ECmdSelectionPolicy |
| CmdChangeDots::CmdChangeDots | ( | int | dots, |
| const std::string & | name = "Change dots" |
||
| ) |
This command changes the number of dots in the selected notes and rests.
| dots | The new number of dots (0..n) to put in the notes and rests+. |
| name | The displayable name for the command. If not specified will default to "Change dots". |
Remarks
Example
|
inlineoverridevirtual |
Returns a value from ECmdCursorPolicy that indicates the update policy followed by this command.
Implements DocCommand.
|
inlineoverridevirtual |
Returns a value from ECmdSelectionPolicy that indicates the undo policy followed by this command.
Implements DocCommand.
|
inlineoverridevirtual |
Returns a value from ECmdUndoPolicy that indicates the undo policy followed by this command.
Implements DocCommand.