mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Attempt to make some function's names more explicit
This commit is contained in:
parent
928a6ef4be
commit
7c6c8ac270
2 changed files with 6 additions and 6 deletions
|
|
@ -260,7 +260,7 @@ LaunchControlXL::fader_name_by_id (FaderID id)
|
||||||
}
|
}
|
||||||
|
|
||||||
LaunchControlXL::TrackButton*
|
LaunchControlXL::TrackButton*
|
||||||
LaunchControlXL::track_button_by_number(uint8_t n, uint8_t first, uint8_t middle)
|
LaunchControlXL::track_button_by_range(uint8_t n, uint8_t first, uint8_t middle)
|
||||||
{
|
{
|
||||||
NNNoteButtonMap::iterator b;
|
NNNoteButtonMap::iterator b;
|
||||||
if ( n < 4) {
|
if ( n < 4) {
|
||||||
|
|
@ -282,7 +282,7 @@ LaunchControlXL::track_button_by_number(uint8_t n, uint8_t first, uint8_t middle
|
||||||
void
|
void
|
||||||
LaunchControlXL::button_track_focus(uint8_t n)
|
LaunchControlXL::button_track_focus(uint8_t n)
|
||||||
{
|
{
|
||||||
TrackButton* b = focus_button_by_number(n);
|
TrackButton* b = focus_button_by_collumn(n);
|
||||||
|
|
||||||
if (!b) {
|
if (!b) {
|
||||||
return;
|
return;
|
||||||
|
|
@ -328,7 +328,7 @@ LaunchControlXL::get_ac_by_state(uint8_t n) {
|
||||||
void
|
void
|
||||||
LaunchControlXL::update_track_control_led(uint8_t n)
|
LaunchControlXL::update_track_control_led(uint8_t n)
|
||||||
{
|
{
|
||||||
TrackButton* b = control_button_by_number(n);
|
TrackButton* b = control_button_by_collumn(n);
|
||||||
|
|
||||||
if (!b) {
|
if (!b) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -449,9 +449,9 @@ private:
|
||||||
|
|
||||||
/* Button methods */
|
/* Button methods */
|
||||||
|
|
||||||
TrackButton* track_button_by_number(uint8_t n, uint8_t first, uint8_t middle);
|
TrackButton* track_button_by_range(uint8_t n, uint8_t first, uint8_t middle);
|
||||||
TrackButton* focus_button_by_number(uint8_t n) { return track_button_by_number(n, 41, 57) ; }
|
TrackButton* focus_button_by_collumn(uint8_t col) { return track_button_by_range(col, 41, 57) ; }
|
||||||
TrackButton* control_button_by_number(uint8_t n) { return track_button_by_number(n, 73, 89) ; }
|
TrackButton* control_button_by_collumn(uint8_t col) { return track_button_by_range(col, 73, 89) ; }
|
||||||
|
|
||||||
|
|
||||||
void button_device();
|
void button_device();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue