Commit graph

10248 commits

Author SHA1 Message Date
nick_m
93c24e4433 Paste uses exact beats. rework _start_beats calculation in copy-with-offset ctor. 2016-07-10 02:18:36 +10:00
nick_m
94e0a15325 Exact beat - provide audio->music mapping for region split.
- for those not in the know, this series provides a way to
	  remove the temporal distortion introduced when using an
	  audio frame-based gui for music-locked objects.

	  In short, the gui uses an audio frame representation to move
	  objects. It displays the object using frame_at_beat(), quantizing
	  the time value to audio frames. This is fine until the user selects
	  that frame but expects it to be interpreted as a beat.
	  Thus beat_at_frame() would not produce the user-expected beat
	  (temporal quantization error of up to 0.5 audio samples).
	  This is one method of mapping audio time to music time accurately.
2016-07-10 02:18:36 +10:00
nick_m
2d5238d875 Make some musical operations on music-locked regions operate in beats.
- use exact beats to determine frame position.
	- see comments in tempo.cc for more.
	- this hasn't been done for split yet, but dragging and
	  trimming are supported.
2016-07-10 02:18:36 +10:00
Paul Davis
bda5a4a4e6 fix incorrect behaviour of mixer strip [X] (hide) buttons 2016-07-08 14:42:54 -04:00
Robin Gareus
b382ad8b22 towards a generic plugin grid layout 2016-07-08 18:19:31 +02:00
Robin Gareus
77e50f56f9 first step to separate generic-gui layout 2016-07-08 18:19:31 +02:00
Paul Davis
da0bd3d8a5 fix region action sensitivity issues.
Desensitize all region actions initially, and toggle that state
appropriately when region selection changes
2016-07-08 08:44:21 -04:00
Paul Davis
d7caa89b96 implement LeatusPenguin's excellent idea for the plugin manager window (#6916) 2016-07-06 18:25:57 -04:00
Paul Davis
6e469ffb5e merge MixerActor API (back) into Mixer_UI; make solo/mute/recenable actions there do the right thing 2016-07-06 15:20:42 -04:00
Paul Davis
da7d7f9502 many changes associated with rationalizing selection flow 2016-07-06 13:39:10 -04:00
Robin Gareus
9ff94edd6e some comments 2016-07-05 23:49:58 +02:00
Robin Gareus
2f71967be2 fix crash when loading a saved visual state 2016-07-05 23:49:50 +02:00
Robin Gareus
412fcafda0 Plugin GUI activate/enable update (prefer enable) 2016-07-05 23:30:21 +02:00
Robin Gareus
97ef89357a remove useless binding (fixes broken windows build) 2016-07-05 02:38:02 +02:00
Robin Gareus
4f7d3069ab highlight area below automation lanes 2016-07-05 00:39:43 +02:00
Paul Davis
906f7e1edd GUI doesn't need to listen to old ControlProtocol signals for stripable selection 2016-07-04 12:45:53 -04:00
Paul Davis
11f8e3adc4 stop-and-forget-capture should not toggle transport state, only stop it 2016-07-04 09:41:21 -04:00
Paul Davis
bca1be28e3 avoid unnecessary multiple calls to RouteUI::update_monitoring_state() 2016-07-04 09:27:33 -04:00
Paul Davis
d233b33707 operate directly on realtime controls, not via Session 2016-07-04 09:27:33 -04:00
Robin Gareus
d6338e6dfe unbind pangomm 1.30 API for compat. 2016-07-04 10:36:11 +02:00
Len Ovens
a373e4cfc8 UI: Add editor_mixer route pointer to session so all UIs can know the same current_strip even in a selected group. 2016-07-03 18:22:09 -07:00
Robin Gareus
b68d537ded Prepare to use knobs in Generic Plugin UI 2016-07-04 00:20:11 +02:00
Robin Gareus
ff50b3780a Replace Gtk::ToggleButton with ArdourButton in Generic Plugin GUI 2016-07-04 00:20:11 +02:00
Robin Gareus
1f2d1b586e allow AutomatoinContoller to render as Knob instead of Slider. 2016-07-04 00:20:11 +02:00
Robin Gareus
1343f33706 add an ArdourButton/SpinButton Widget
alternative to ArdourDisplay (dropdown) to provide numeric entry with
ArdourKnob.
2016-07-04 00:20:11 +02:00
Robin Gareus
602b1597a4 fix background of ArdourButtons with no Body 2016-07-04 00:20:11 +02:00
Robin Gareus
f49d0a1b1d add PangoCairo lua bindings 2016-07-04 00:20:11 +02:00
Robin Gareus
d027ce8006 add Lua bindings for reference counted Cairo::ImageSurface 2016-07-02 23:36:34 +02:00
Robin Gareus
b47d7aec2d fix Preference checkbox sensitivity for inline displays 2016-07-02 23:36:34 +02:00
Robin Gareus
08d7485e85 fix inline display when cairo_surface_has_snapshots 2016-07-02 23:36:34 +02:00
Paul Davis
8b142a2fd6 make Selection catch up with session/libardour-side selection status at session load 2016-07-02 16:09:19 -04:00
Paul Davis
36d7e3c61b fix use of removed Session::get_nth_stripable() 2016-07-02 16:08:58 -04:00
Paul Davis
13ce731fc7 more hacks to gkt rc file to get text entries to behave 2016-07-02 13:54:16 -04:00
Paul Davis
e88e9a278a no need for a widget name here 2016-07-02 13:53:30 -04:00
Paul Davis
7565e21341 partially revert incorrect changes to gain meter text entries/displays 2016-07-02 13:53:18 -04:00
Paul Davis
ba0aa577b0 fix missing logic for RouteGroupMenu 2016-07-02 11:05:02 -04:00
Paul Davis
e19646c3b1 remove commented code 2016-07-01 18:03:48 -04:00
Paul Davis
176660fff4 fix logic of RouteUI::set_color_from_route() 2016-07-01 18:03:29 -04:00
Paul Davis
1208c3472f remove gtk_entry_* colors from themes except for cursor color 2016-07-01 17:48:46 -04:00
Paul Davis
fe9ee90b9a MotionFeedback vanished long ago 2016-07-01 17:47:05 -04:00
Paul Davis
791c6d4d1f drop use of gtk_entry_* colors (except cursor); use original base/text choices but avoid using selected for entire bg 2016-07-01 17:47:05 -04:00
Paul Davis
47144ee7f4 minor no-op hacks (unneeded or suboptimal code) 2016-07-01 17:47:05 -04:00
Paul Davis
dd79aadb94 add (essentially random) color defs for text entries to other 3rd party themes 2016-06-30 17:42:48 -04:00
Paul Davis
fcef47c4bb NO-OP: remove trailing whitespace 2016-06-30 17:41:11 -04:00
Paul Davis
85cddf30ee assign appropriate styles for text entry and spinbuttons
SpinButtons do odd things to draw the two arrow buttons. So for now, leave them with the default theme,
even though this makes their text entry component different from the other text entry widgets
2016-06-30 17:41:11 -04:00
Paul Davis
21eb660d9b remove non-zero xthickness from "small_entry" widgets (gain display, peak display in mixer strip).
Unnecessary and wrong once you can see the border in a different color from the base
2016-06-30 17:41:11 -04:00
Paul Davis
5c12c421e7 new style for Gtk::Entry widgets
More legibility and easier to figure out what colors are used for what
2016-06-30 17:41:11 -04:00
Paul Davis
190c18aa5c use a more appropriate @color name for the cursor color in a text entry 2016-06-30 17:41:11 -04:00
Paul Davis
d243731c72 add text entry cursor color to dark theme 2016-06-30 17:41:11 -04:00
Paul Davis
a8a06104c1 add new colors to dark theme 2016-06-30 17:41:11 -04:00