summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.cc
AgeCommit message (Collapse)Author
2020-01-18rename DoTheRightThing to RollIfAppropriatePaul Davis
2020-01-18Session::request_locate() takes a tri-valued second argument for ↵Paul Davis
"roll-after-locate" This allows callers to defer logic about auto-play/current rolling state and more to TransportFSM where it can be cnentralized and is less ambiguous
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.
2019-04-13NO-OP: whitespaceRobin Gareus
This fixes mostly <tab> after <space> and similar <tab> not used for indenting as well as some related code alignment issues.
2019-03-20ActionManager::get_all_actions() no longer includes <Actions> in the paths ↵Paul Davis
it returns, part 3 (GUI)
2019-03-08Reduce #includes - avoid ardour_ui.hRobin Gareus
2019-03-07Fix some Gtk::Menu memory leaksRobin Gareus
A Gtk::manage()d widget will be deleted when its parent container is destroyed. Top-level context menus are not inside a container and hence need to be manually deallocated. The solution here is to use a shared Gtk::Menu pointer that is centrally de/re-allocated. This works because the GUI is single-threaded and at most one context menu is visible at a time.
2019-02-12Summary View should use the playhead color from config.Ben Loftis
2018-07-14Aborted attempt to further optimize the editor-summary. Commented for ↵Ben Loftis
future generations.
2018-02-24NO-OP: whitespaceRobin Gareus
- remove trailing whitespace - remove space after opening brackets and before closing brackets - add space around operators - do not use '//' for multi-line comments, do not use "//" on line-start to comment-out code breaking indenting (-Wmisleading-indent) - do add a single space after comment-start /*{SPACE}... or //{SPACE}... - reserve duplicate whitespace " " for alignment, remove other duplicate whitespace - use established "TODO" and "XXX" (highlighted keywords) - remove equal-sign series "====" (those indicate merge conflicts)
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
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-08-26Editor zooming: right-click on summary -> context menu -> reset to session ↵Ben Loftis
extents.
2017-08-26Editor zooming: Tweak the Summary to stop at right edge, use ↵Ben Loftis
session_gui_extents().
2017-07-30Remove an unused variableRobin Gareus
2017-07-20Editor Summary: Don't require user to re-click to scroll + zoom.Ben Loftis
* Use conventions similar to those used in CursorDrag.
2017-07-19Editor Summary: thinko in initial valueBen Loftis
2017-07-19Editor Summary: likely fix for crash-on-quitBen Loftis
2017-07-19Editor Summary: TweaksBen Loftis
* Only draw track bg lines if they will actually be recognizable. * limit zoom-in capability of the summary box until it works correctly.
2017-07-19Editor Summary: fix yet another thinko in zoom direction.Ben Loftis
2017-07-19Editor Summary: The view rectangle should never exceed the bounds of the ↵Ben Loftis
scroll area.
2017-07-19Editor Summary: fix thinko in mouse cursors (trim cursor).Ben Loftis
2017-07-19Editor Summary: implement summary_zoom_step() to lessen redundant code.Ben Loftis
2017-07-19Editor Summary: fix direction of scroll zoom to match other conventionsBen Loftis
2017-07-18Editor Summary: Changes to behaviorBen Loftis
* Remove up/down buttons. * Allow the summary to shrink smaller. * Vertical drag results in zoom. * Scroll-wheel results in zoom. * Tweak mouse cursor to better indicate behaviors. * ToDo: refactor the zooming code.
2017-07-14Turn Summary into a horizontal scrollbar (drop y-axis sensitivity)Robin Gareus
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2017-03-20Towards a consistent render() API.Robin Gareus
This fixes an -Woverloaded-virtual ambiguity introduced in b5e613d45 void render (cairo_t*, cairo_rectagle*) void render (Cairo::RefPtr<Cairo::Context> const&, cairo_rectangle_t*) ArdourCanvas prefers cairomm and CairoWidget itself uses Cairo::Context, this improves overall API consistency.
2017-03-20Use NSGLView for EditorSummaryRobin Gareus
2016-07-10Minimise duplicate calls to CairoWidget::set_dirty() in the editor summary.nick_m
- many regions may be changed by one operation.
2016-06-05use PresentationInfo color to set route colors. GUI appears to respond as ↵Paul Davis
expected
2016-06-05Stripable signals moved to PresentationInfoPaul Davis
2016-05-31first vaguely working version using PresentationInfoPaul Davis
remote control ID and "order keys" have been removed.
2016-01-21Change scrolling in the Editor track canvas summary areaTim Mayberry
Keep scroll distance consistent when scrolling up and down with horizontal modifier as when scrolling left to right. Scroll horizonally by half a page so that no sections of the canvas are skipped when scrolling. Scroll by half a page rather than a step like when scrolling in the track canvas area as it is a summary area so larger steps seem acceptable and having it use the same scroll distance as when scrolling in the track canvas seems pointless as you would then just scroll in the track canvas area.
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-03-19update track-height scaling:Robin Gareus
“number of visible tracks”: count automation lanes as tracks. Distribute equally. “Summary View”: the visual lane represents both track + automation. Set the total height. Left to do: recursive “Shrink” and “Expand” tools if there is no explicit selection.
2015-03-15prevent single-axis drags in the editor summary from affecting the other axis.Paul Davis
In theory, the EditorSummary::get_editor()/set_editor() calls should be no-ops if the values are just passed between them, but this turns out to be not precisely the case. Rather than figure out exactly how ensure that this is true, mark the new rect boundaries for the non-moving axis with -1 so that we know to leave it alone
2015-01-07Improve contrast of summary.David Robillard
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-10-29redraw summary when theme preference changes & consolidate code.Robin Gareus
2014-10-29fix summary display (offset on-canvas rulers)Robin Gareus
2014-10-29fix summary re-sizeRobin Gareus
w/USE_CAIRO_IMAGE_SURFACE
2014-10-11amend 5d0303b - fix editor summary leakRobin Gareus
2014-10-10fix memory leak in editor summary.Robin Gareus
2014-09-11initialize uninitialzed varRobin Gareus
2014-06-19Summary changes :nick_m
* Use correct image format for background image * Construct thr ImageSurface as per cairo docs * Place start/end markers in background image Tempo bars : * adjust beats display threshold to (hopefully) coincide with BBT ruler better.
2014-06-17Render tracks and regions to a background image in the editor summary.nick_m
Connect to editor's SelectionChanged signal to display corresponding region colour change.
2014-03-20change the meters into CairoWidget, add expose_area to CairoWidget::render()Robin Gareus
2013-06-25Merge branch 'master' into cairocanvasPaul Davis