itmuckel
63f94d2946
Remove unused includes
2022-08-19 09:27:19 -06:00
Paul Davis
9ea1e5bdee
move color utility functions from ARDOUR_UI_UTILS to Gtkmm2ext namespace (GUI)
2022-08-10 21:11:52 -06:00
Paul Davis
64c8607ffd
midi streamview: fix crash when switching playlists
...
We need to delete all existing region views before we redisplay the track. This
was removed as part of an "experimental performance optimization" in 4f7a4cd233
but playlist switching is a rare and non-performance limited operation
2022-06-18 08:28:31 -06:00
Paul Davis
d586956636
NOOP: some minor whitespace fixes
2022-04-05 20:52:09 -06:00
Paul Davis
ae8c043fe1
regionviews: use integer counter instead of boolean to control redisplay of contents
2022-04-05 20:52:09 -06:00
Hector Martin
a33261df3d
Allow track views to be more than 1000 pixels tall
...
People have 4K displays these days; having a single maximized track is
not unusual.
2021-09-07 04:32:22 +02:00
Paul Davis
b6f290add2
timeline type changes for new ripple code and post-conflict-resolution fixups
2021-08-13 12:51:36 -06:00
Paul Davis
18d64f0402
change all Region::nt_*() methods to names without the nt_ prefix (GUI version)
2021-08-13 12:51:30 -06:00
Paul Davis
04e8dbb342
another day of slow timeline type conversion
2021-08-13 12:51:29 -06:00
Paul Davis
12b536d8f2
add API to fetch all regionviews after a given position
2021-08-13 12:51:28 -06:00
Robin Gareus
d42b09f1d3
Remove cruft, there are no more diskstreams
2021-01-29 03:23:57 +01:00
Paul Davis
05018164df
fix computation of recording rect/layer when recording in stacked view
...
Code was using Region::start() which is an offset into the source, but should use
Region::position() which is the position on the timeline
2020-10-02 12:13:53 -06:00
Paul Davis
a4d7b45fe0
remove destructive/tape mode tracks
2020-03-17 16:31:49 -06:00
Robin Gareus
4050ca5633
Update GPL boilerplate and (C)
...
Copyright-holder and year information is extracted from git log.
git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Paul Davis
81dbb977c5
fixups for rebase of show-region-name option
2019-05-29 17:37:48 -06:00
Paul Davis
098ff7a07e
remove debug output
2019-05-29 15:24:40 -06:00
Paul Davis
8463fb728f
add option to show/hide region names
2019-05-29 15:24:40 -06:00
Robin Gareus
a0b032efe2
Revert more "frame/sample" replacements
...
- Coverage concerns rectangles (frames, not sample)
- frame-handles are rectangles
- layout container boxes are frames
- inline display boxes are display_frame
2019-04-08 22:42:47 +02:00
Paul Davis
30b087ab3d
globally change all use of "frame" to refer to audio into "sample".
...
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Paul Davis
a4a87f56e9
mega-commit to save state of first "it compilesand links" state for separated disk i/o changes.
...
THIS WILL NOT RUN. THIS REQUIRES MANY CHANGES
2017-09-18 11:40:52 -04:00
Paul Davis
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
nick_m
0e2ed90cfc
Revert incorrect 'optimisation' from 4f7a4cd233.
...
- fixes regression in stacked layering display.
2016-07-10 02:18:38 +10:00
Paul Davis
8125ea5909
tweak API of Selectable
2016-06-05 20:50:57 -04:00
Paul Davis
653ae4acd6
universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
...
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
2016-05-31 15:30:40 -04:00
nick_m
4f7a4cd233
Crapola - this is an experimental performance hack that must be reverted.
2016-05-27 23:38:14 +10:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
Tim Mayberry
6b019a4953
Move UIConfiguration Singleton into UIConfiguration header
...
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
Tim Mayberry
fc1e7dbb55
Move DPIReset and ColorsChanged signals into UIConfiguration
2015-09-16 16:55:17 -04:00
Paul Davis
11cfdd4c6d
remove use of TimeRectangle
2015-02-11 21:59:38 -05:00
Ben Loftis
9e0cd98ad4
fix select-all-regions-within (it used to select everything overlapped)
2015-01-09 12:21:10 -06:00
David Robillard
e705e93376
Don't select regions with an internal tool.
2015-01-07 20:04:39 -05:00
Tim Mayberry
b5c9a92a58
Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers
2015-01-01 19:04:14 +07:00
David Robillard
5fef655380
Remove internal edit mode and add "content" tool.
2014-12-18 20:21:01 -05:00
David Robillard
6e912a0aa3
Fix display of MIDI notes/regions while recording.
...
Make record rect transparency configurable.
Factor out some copy-paste streamview code.
2014-12-17 18:41:23 -05:00
Robin Gareus
6b3a8915f3
add abort() to non-reached code
...
This cleans up a lot of false-positives in static analysis
and also helps compilers to optimize code paths in general.
(tagging the fatal stingstream operator as ‘noreturn’ is
far less trivial)
2014-11-14 11:30:08 +01:00
Paul Davis
91c29b0ce5
simplify removal of outline from streamview base rect
2014-11-07 12:58:56 -05:00
Paul Davis
9da7a15c60
streamview no longer outlines any part of its canvas rect (we leave that to time axis view separators)
...
Also remove commented "- 1.0" adjustments that were already commented
2014-11-05 19:45:23 -05:00
Robin Gareus
795451a697
Trick 17: share separator + border:
...
This effectively adds a line after the last track.
2014-09-04 18:08:45 +02:00
Robin Gareus
cb05e3a21d
dedicated TAV separator line
2014-09-04 17:01:28 +02:00
Robin Gareus
70358639de
Revert "cont'd work on automation-track headers (amend ba53af1c5)"
...
This reverts commit beb5e3e777 .
2014-09-04 16:14:01 +02:00
Robin Gareus
beb5e3e777
cont'd work on automation-track headers (amend ba53af1c5)
...
now that the separator line is at the top,
offset region-contents y0 by 1px.
2014-09-03 20:48:20 +02:00
Robin Gareus
a3c378cf62
move utility functions into a dedicated namespace
2014-06-25 21:47:54 +02:00
Paul Davis
6a5d805b38
more canvas refactoring.
...
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it
could theoretically be used by any derived type.
2014-06-22 11:41:05 -04:00
Paul Davis
0796ccfb65
use newly factored canvas in gtk2_ardour
2014-06-21 11:44:22 -04:00
Paul Davis
ce08ec0de0
substantial changes in color management, involving a reduction in the use of Gdk::Color and more consistent logic for region coloring.
...
Group tabs now also get the text drawn in an appropriately contrast-y color
2014-06-09 23:29:00 -04:00
Paul Davis
8ad27cc777
prevent a compiler warning
2014-01-20 10:52:59 -05:00
Paul Davis
5154f58caa
fix thinko related to streamview construction that caused bad placement/display of MIDI automation/CC tracks
2014-01-10 12:08:17 -05:00
Paul Davis
14e5d4c26c
remove unnecessary initialization of fill color for streamview rect
2013-10-24 17:11:29 -04:00
Paul Davis
6f664c1f67
many pervasive changes primarily related to waveform drawing, particular content-dragging, colors, and more
2013-04-24 15:42:14 -04:00
Paul Davis
7e19053b88
Fix dragging objects on the canvas and remove redundant canvas groups
...
Delivery of fake motion events to the editor needed the event coordinates to be
in canvas space, as they are with "real" events. Editor and other objects had
many redundant groups from timbyr's work on gnomecanvas to scroll by moving
groups. We don't need this anymore with cairo-canvas (though possibly a
stationay background group for the canvas might be useful again one day as in
the SAE logo. Its implementation would be fairly different though, since we
would have to explicitly move the group on every scroll, since nothing else
ever moves on scroll).
Also tweaks to text item placement, and switch TimeAxisViewItem from
name_pixbuf to name_text, since ArdourCanvas::Text is already "pixbuf optimized".
2013-04-15 13:50:05 -04:00