summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_body.cc
AgeCommit message (Collapse)Author
2020-01-11Scale the port matrix with the GUI/font-scaling setting.Carl Hetherington
2019-08-03Update GPL boilerplate and (C)Robin Gareus
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.
2018-11-01Consider size of port matrix column labels for size of row labelsJohannes Mueller
The column labels are drawn in an angle towards the edge where the row labels are. Therefore, if the column labels are much longer than the row labels it can happen that they go beyond the left edge. In that case we have to add an extra width to the row labels.
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2011-12-07Pass whole GdkEventButton into port matrix buttonCarl Hetherington
press/release handlers, rather than just selected highlights. Remove port in the port matrix on Keyboard is_delete_event (part of #4536). git-svn-id: svn://localhost/ardour2/branches/3.0@10920 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-13Stop bundles disappearing from the port matrix when theyCarl Hetherington
have no channels (#4209). Also fix the remove all channels menu option. git-svn-id: svn://localhost/ardour2/branches/3.0@9986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Delete trailing whitespaceDavid Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10Fix thinko in previous commit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8238 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-10Fix crash on mouseover.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8236 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-24Fix port matrix menu checkbox when the window is closed. Make the port ↵Carl Hetherington
matrix origin the bottom left when tabs are on left and bottom. Don't shrink the port matrix when auto-resizing it. git-svn-id: svn://localhost/ardour2/branches/3.0@7673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-01Allow port matrix to show both audio and midi ports at the same time, and ↵Carl Hetherington
use that facility for route IO selectors. git-svn-id: svn://localhost/ardour2/branches/3.0@7344 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-30Basic tweaks to make the bundles and the port matrix accept that MIDI tracks ↵Carl Hetherington
may have audio IO, and vice versa. Allows connection of instrument tracks using the global port matrix. git-svn-id: svn://localhost/ardour2/branches/3.0@7335 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-08Remove use of i18n macros in headers. Prevents our gettext.h being included ↵Carl Hetherington
before libintl.h, which causes failures when ENABLE_NLS is not defined (bug #3111) git-svn-id: svn://localhost/ardour2/branches/3.0@7081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30handle deletion of UI objects between the time that a callback is queued ↵Paul Davis
with the UI event loop and the execution of the callback (intrusive, big) git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-21fully implement and deploy explicit x-thread signal connection syntax ↵Paul Davis
(testing comes next) git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19use new syntax for connecting to backend signals that enforces explicit ↵Paul Davis
connection scope, plus a few other related matters git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-17switch to using boost::signals2 instead of sigc++, at least for libardour. ↵Paul Davis
not finished yet, but compiles, loads sessions, records and can close a session without a crash git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-07Redraw the matrix correctly when available ports change in the currently ↵Carl Hetherington
visible tab. git-svn-id: svn://localhost/ardour2/branches/3.0@6322 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-07Fix a couple of crashes with empty matrices. Some small optimisations.Carl Hetherington
Correctly handle descenders on text when plotting labels. Minor layout improvements. Add some drawings of what's going on in the port matrix so that I don't keep losing them. git-svn-id: svn://localhost/ardour2/branches/3.0@6319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-18Primary-modifier click on a node in the port matrix toggles association for ↵Carl Hetherington
everything in a diagonal line down and to the right of the clicked node. git-svn-id: svn://localhost/ardour2/branches/3.0@6122 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-18Fix dragging grid lines when you move the mouse outside of the grid during ↵Carl Hetherington
the drag. git-svn-id: svn://localhost/ardour2/branches/3.0@6120 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-18Rework port matrix to use Gtk notebook tabs to select visible groups.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6117 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-17The matrix used to highlight connections on click-hold on a row or column ↵Carl Hetherington
label; now this happens, without a click, on any mouseover. Also mouseover a bundle name highlights everything connected to that bundle. Some cleanups along the way. git-svn-id: svn://localhost/ardour2/branches/3.0@6102 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-15Tidy up a bit in the case where the port matrix has nothing to display.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-14Fix some uninitialised variables in the port matrix code.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6085 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-29Modify hacks associated with initial sizing of port matrices to try and make ↵Carl Hetherington
things work with both fluxbox and metacity. git-svn-id: svn://localhost/ardour2/branches/3.0@5604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-19Port matrix tweaks: scroll wheel support; use the correct verb for ↵Carl Hetherington
disassociation in the menu; fixes for gaps appearing when groups are hidden. git-svn-id: svn://localhost/ardour2/branches/3.0@5382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-18Various tweaks to the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-18Drag a line in the port matrix to connect a group of things together in one ↵Carl Hetherington
go. Probably futile attempt at some cleanup. git-svn-id: svn://localhost/ardour2/branches/3.0@5375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-17Various tweaks to the port matrix: open to full size; remove buttons and ↵Carl Hetherington
move their functionality into a context menu; set maximum size hint to stop port matrix windows being resized beyond their useful size; remove visibility checkbuttons - visibility now controlled through menu or by clicking on group names; port groups fold down to a small tab when hidden; don't swap the orientation of the matrix once it has been opened. git-svn-id: svn://localhost/ardour2/branches/3.0@5373 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-17Use dialog background colour for the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-17Use track colours in the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5367 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-11Add a widget giving an overview of the editor, as (what I think is being) ↵Carl Hetherington
suggested in #2714. Many caveats: most notably that it looks quite ugly and you can't (yet) turn it off. git-svn-id: svn://localhost/ardour2/branches/3.0@5162 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-03Support for the port matrix working at the bundle level and hiding details ↵Carl Hetherington
of ports. git-svn-id: svn://localhost/ardour2/branches/3.0@5029 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10Bit of a hack to make the port matrix for port inserts at least vaguely usable.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09Fixes to bundle manager to make it vaguely usable.Carl Hetherington
Rework signal handling for bundles so that all changes should now be noticed by port matrices. git-svn-id: svn://localhost/ardour2/branches/3.0@4501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-05Small fixes to port matrix rendering, mostly visible when using the bundle ↵Carl Hetherington
manager. git-svn-id: svn://localhost/ardour2/branches/3.0@4491 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-04Reduce header dependencies.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-04Fix minor visual glitch with mouseover when a label is partially out-of-sight.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4489 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-03Click and hold button 1 over a channel name in the port matrix highlightsCarl Hetherington
connected channels. git-svn-id: svn://localhost/ardour2/branches/3.0@4484 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02Fix up mouseover handling in the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30More port matrix re-working. Global matrix now has separate visibility buttonsCarl Hetherington
for ins and outs. The matrix will now be arranged so that more ports are labelled horizontally than vertically, to aid readability. git-svn-id: svn://localhost/ardour2/branches/3.0@4467 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-27First cut at mouseovers for the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4446 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-25Some refactoring. Add port group headers to the port matrix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4443 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-23Add global port matrix dialogs.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-22Some small-ish port matrix rendering improvements.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@4430 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21More logical arrangement of port matrix inputs and outputs, hopefully;Carl Hetherington
signal show notionally "flow" from left to bottom or from top to right. Some layout cleanups. git-svn-id: svn://localhost/ardour2/branches/3.0@4416 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-20New matrix-based editor for connections and bundles, based on thorwil's design.Carl Hetherington
Add Bundle Manager dialog. git-svn-id: svn://localhost/ardour2/branches/3.0@4415 d708f5d6-7413-0410-9779-e7cbd77b26cf