Rekative snap - add comments
This commit is contained in:
parent
119c644dc0
commit
9a55bcb04f
|
@ -242,6 +242,9 @@ ArdourKeyboard::set_state (const XMLNode& node, int version)
|
|||
return Keyboard::set_state (node, version);
|
||||
}
|
||||
|
||||
/* Snap and snap delta modifiers may contain each other, so we use the
|
||||
* following two methods to sort that out:
|
||||
*/
|
||||
bool
|
||||
ArdourKeyboard::indicates_snap (guint state)
|
||||
{
|
||||
|
|
|
@ -41,7 +41,14 @@ class ArdourKeyboard : public Gtkmm2ext::Keyboard
|
|||
|
||||
ARDOUR_UI& ui;
|
||||
|
||||
/** @param state The button state from a GdkEvent.
|
||||
* @return true if the modifier state indicates snap modifier
|
||||
*/
|
||||
static bool indicates_snap (guint state);
|
||||
|
||||
/** @param state The button state from a GdkEvent.
|
||||
* @return true if the modifier state indicates snap delta
|
||||
*/
|
||||
static bool indicates_snap_delta (guint state);
|
||||
|
||||
static void set_constraint_modifier (guint);
|
||||
|
|
Loading…
Reference in New Issue