mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 23:46:20 +01:00
Allow to configure number of mixer scene buttons
For Mixbus increase mixer-scene buttons to 12 (same as Function buttons)
This commit is contained in:
parent
42b32fbd7c
commit
17cd211d06
1 changed files with 9 additions and 1 deletions
|
|
@ -100,6 +100,14 @@
|
|||
|
||||
#define PX_SCALE(px) std::max ((float)px, rintf ((float)px* UIConfiguration::instance ().get_ui_scale ()))
|
||||
|
||||
#ifndef N_MIXER_SCENE_BTNS
|
||||
# ifdef MIXBUS
|
||||
# define N_MIXER_SCENE_BTNS 12
|
||||
# else
|
||||
# define N_MIXER_SCENE_BTNS 8
|
||||
# endif
|
||||
#endif
|
||||
|
||||
using namespace ARDOUR;
|
||||
using namespace ArdourWidgets;
|
||||
using namespace ARDOUR_UI_UTILS;
|
||||
|
|
@ -315,7 +323,7 @@ Mixer_UI::Mixer_UI ()
|
|||
_mixer_scene_table.set_homogeneous(false);
|
||||
|
||||
for (int column = 0; column < 1; ++column) {
|
||||
for (int row = 0; row < 8; ++row) {
|
||||
for (int row = 0; row < N_MIXER_SCENE_BTNS; ++row) {
|
||||
int col = column * 2;
|
||||
int scn_index = col * 2 + row;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue