mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
new ArdourButton class, to start to provide more control over how our buttons work and appear; use ArdourButtons for monitor, solo isolate and solo safe buttons, and in the processor box; don't save UI config file (canvas colors) to the user's home dir unless one or more parameters were modified by the user
git-svn-id: svn://localhost/ardour2/branches/3.0@10311 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ae3eb6e3f4
commit
51ab5ccabf
25 changed files with 885 additions and 355 deletions
|
|
@ -53,6 +53,7 @@
|
|||
#include "send_ui.h"
|
||||
#include "enums.h"
|
||||
#include "window_proxy.h"
|
||||
#include "ardour_button.h"
|
||||
|
||||
class MotionController;
|
||||
class PluginSelector;
|
||||
|
|
@ -123,24 +124,18 @@ public:
|
|||
virtual void hide_things () {}
|
||||
|
||||
protected:
|
||||
|
||||
virtual void setup_visuals ();
|
||||
|
||||
ArdourButton _button;
|
||||
Gtk::VBox _vbox;
|
||||
Position _position;
|
||||
|
||||
private:
|
||||
virtual void setup_visuals ();
|
||||
|
||||
void active_toggled ();
|
||||
private:
|
||||
void led_clicked();
|
||||
void processor_active_changed ();
|
||||
void processor_property_changed (const PBD::PropertyChange&);
|
||||
std::string name () const;
|
||||
|
||||
Gtk::Frame _frame;
|
||||
Gtk::EventBox _event_box;
|
||||
Gtk::Label _name;
|
||||
Gtk::HBox _hbox;
|
||||
Gtk::CheckButton _active;
|
||||
boost::shared_ptr<ARDOUR::Processor> _processor;
|
||||
Width _width;
|
||||
Gtk::StateType _visual_state;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue