mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
set up core stuff for velocity display option
This commit is contained in:
parent
b6711383f3
commit
20328f2929
2 changed files with 3 additions and 1 deletions
|
|
@ -1489,6 +1489,8 @@ Editor::parameter_changed (std::string p)
|
|||
tact->set_active (s);
|
||||
}
|
||||
}
|
||||
} else if (p == "velocity-display") {
|
||||
_track_canvas->request_redraw (_track_canvas->visible_area());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ UI_CONFIG_VARIABLE (bool, prefer_inline_over_gui, "prefer-inline-over-gui", true
|
|||
UI_CONFIG_VARIABLE (uint32_t, action_table_columns, "action-table-columns", 0)
|
||||
UI_CONFIG_VARIABLE (bool, use_wm_visibility, "use-wm-visibility", true)
|
||||
UI_CONFIG_VARIABLE (std::string, stripable_color_palette, "stripable-color-palette", "#AA3939:#FFAAAA:#D46A6A:#801515:#550000:#AA8E39:#FFEAAA:#D4BA6A:#806515:#554000:#343477:#8080B3:#565695:#1A1A59:#09093B:#2D882D:#88CC88:#55AA55:#116611:#004400") /* Gtk::ColorSelection::palette_to_string */
|
||||
|
||||
UI_CONFIG_VARIABLE (ARDOUR::VelocityDisplayOption, velocity_display, "velocity-display", ARDOUR::NoteBars)
|
||||
UI_CONFIG_VARIABLE (bool, show_snapped_cursor, "show-snapped-cursor", true)
|
||||
UI_CONFIG_VARIABLE (uint32_t, snap_threshold, "snap-threshold", 25)
|
||||
UI_CONFIG_VARIABLE (bool, snap_to_marks, "snap-to-marks", true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue