mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Light mono button up when it is active, and make it bindable. Fixes #3665.
git-svn-id: svn://localhost/ardour2/branches/3.0@8442 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
92b787ffba
commit
24f03e4444
2 changed files with 12 additions and 8 deletions
|
|
@ -418,8 +418,11 @@ style "solo_button_active" = "small_button"
|
||||||
fg[PRELIGHT] = { 0, 0, 0 }
|
fg[PRELIGHT] = { 0, 0, 0 }
|
||||||
}
|
}
|
||||||
|
|
||||||
style "mixer_invert_button" = "small_button"
|
style "mixer_toggle_button" = "small_button"
|
||||||
{
|
{
|
||||||
|
font_name = "@FONT_SMALLER@"
|
||||||
|
ythickness = 0
|
||||||
|
xthickness = 0
|
||||||
bg[ACTIVE] = { 1.0, 0.749, 0.247 }
|
bg[ACTIVE] = { 1.0, 0.749, 0.247 }
|
||||||
fg[ACTIVE] = { 0, 0, 0 }
|
fg[ACTIVE] = { 0, 0, 0 }
|
||||||
}
|
}
|
||||||
|
|
@ -1550,8 +1553,8 @@ widget "*MixerSoloButton-active" style:highest "mixer_solo_button_active"
|
||||||
widget "*TrackLoopButton*" style:highest "track_loop_button"
|
widget "*TrackLoopButton*" style:highest "track_loop_button"
|
||||||
widget "*PanAutomationLineSelector*" style:highest "multiline_combo"
|
widget "*PanAutomationLineSelector*" style:highest "multiline_combo"
|
||||||
widget "*EditorTimeButton*" style:highest "time_button"
|
widget "*EditorTimeButton*" style:highest "time_button"
|
||||||
widget "*MixerInvertButton*" style:highest "mixer_invert_button"
|
widget "*MixerInvertButton*" style:highest "mixer_toggle_button"
|
||||||
widget "*MixerInvertButton.*" style:highest "mixer_invert_button"
|
widget "*MixerInvertButton.*" style:highest "mixer_toggle_button"
|
||||||
widget "*MixerAutomationRecordingButton*" style:highest "very_small_button"
|
widget "*MixerAutomationRecordingButton*" style:highest "very_small_button"
|
||||||
widget "*MixerAutomationRecordingButton.*" style:highest "very_small_button"
|
widget "*MixerAutomationRecordingButton.*" style:highest "very_small_button"
|
||||||
widget "*MixerAutomationModeButton*" style:highest "very_small_button"
|
widget "*MixerAutomationModeButton*" style:highest "very_small_button"
|
||||||
|
|
@ -1564,7 +1567,7 @@ widget "*MixerGroupButton" style:highest "very_small_button"
|
||||||
widget "*MixerGroupButtonLabel" style:highest "very_small_button"
|
widget "*MixerGroupButtonLabel" style:highest "very_small_button"
|
||||||
widget "*MixerCommentButton" style:highest "very_small_button"
|
widget "*MixerCommentButton" style:highest "very_small_button"
|
||||||
widget "*MixerCommentButton*" style:highest "very_small_button"
|
widget "*MixerCommentButton*" style:highest "very_small_button"
|
||||||
widget "*MixerMonoButton*" style:highest "very_small_button"
|
widget "*MixerMonoButton*" style:highest "mixer_toggle_button"
|
||||||
widget "*EditGroupButton" style:highest "very_small_button"
|
widget "*EditGroupButton" style:highest "very_small_button"
|
||||||
widget "*EditGroupButtonLabel" style:highest "very_small_button"
|
widget "*EditGroupButtonLabel" style:highest "very_small_button"
|
||||||
widget "*TransportButton" style:highest "transport_button"
|
widget "*TransportButton" style:highest "transport_button"
|
||||||
|
|
|
||||||
|
|
@ -34,9 +34,10 @@
|
||||||
#include <gtkmm/textview.h>
|
#include <gtkmm/textview.h>
|
||||||
#include <gtkmm/adjustment.h>
|
#include <gtkmm/adjustment.h>
|
||||||
|
|
||||||
#include <gtkmm2ext/auto_spin.h>
|
#include "gtkmm2ext/auto_spin.h"
|
||||||
#include <gtkmm2ext/click_box.h>
|
#include "gtkmm2ext/click_box.h"
|
||||||
#include <gtkmm2ext/slider_controller.h>
|
#include "gtkmm2ext/slider_controller.h"
|
||||||
|
#include "gtkmm2ext/bindable_button.h"
|
||||||
|
|
||||||
#include "pbd/stateful.h"
|
#include "pbd/stateful.h"
|
||||||
|
|
||||||
|
|
@ -160,7 +161,7 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
|
||||||
ProcessorBox processor_box;
|
ProcessorBox processor_box;
|
||||||
GainMeter gpm;
|
GainMeter gpm;
|
||||||
PannerUI panners;
|
PannerUI panners;
|
||||||
Gtk::ToggleButton _mono_button;
|
BindableToggleButton _mono_button;
|
||||||
|
|
||||||
Gtk::Table button_table;
|
Gtk::Table button_table;
|
||||||
Gtk::Table solo_led_table;
|
Gtk::Table solo_led_table;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue