summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_axis_view.cc
AgeCommit message (Collapse)Author
2017-11-23Fix size-request callRobin Gareus
use Requisition Gtk::Widget::size_request () const; and not deprecated void Gtk::Widget::size_request (const Requisition&); Found by PVS-Studio - https://www.viva64.com/en/b/0540/
2017-10-26switch from std::auto_ptr<> (deprecated) to boost::scoped_ptr<>Paul Davis
2017-09-18manually fix up various cases where Gtk:Frame foo_frame had been changed to ↵Paul Davis
foo_sample
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-07-28Allow to rename VCAs in the editorRobin Gareus
2017-07-21Properly propagate TAV TimeSelectionRobin Gareus
2017-07-19Const'ness where const'ness is dueRobin Gareus
2017-07-17Clean up library inheritance (colors.h, utils.h)Robin Gareus
make libwidget independent of libcanvas. Confine basics to pbd and gtkmm2ext.
2017-07-17Remove <gtkmm.h> include from header files.Robin Gareus
2017-07-17Remove unused sources & includesRobin Gareus
2017-07-17Move Gtkmm2ext widgets into libwidgetRobin Gareus
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-07-07Fix VCA Automation Lane selectionRobin Gareus
This moves child-selection API up into TAV (Superclass of StripableTAV which actually owns the children)
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2017-05-05use CoreSelection for track selectionPaul Davis
2017-04-19Use AxisView::get_gui_property API in TimeAxisView classTim Mayberry
2017-04-19Let AxisView::set_gui_property perform type conversion in ↵Tim Mayberry
TimeAxisView::set_height
2017-03-24Revert "consistent use of context-menu popups"Robin Gareus
This reverts commit b3722f7063699fafd0421d504e05a7300c70e0ec. In some cases ardour shows context-menu on right-mouse-button release. In this case selecting a menu-entry should happen with the left-mouse button (or any button?!) Using ev->button is only correct if the menu is temporary and only visible while the button is held, button release then activates the menu-item. This needs further work, in some cases allowing any button (0) to work makes sense and overall consistency needs to be improved. Different places use different strategies for context-menus which don't always match the button used in the event-handler. This is a hotfix (to make TAV context menus work again with left-click)
2017-03-16consistent use of context-menu popupsRobin Gareus
2017-01-25This turns out to have been a band-aid over a deeper issue in libcanvas, fixedPaul Davis
in commit 49422aa89 Revert "fix an issue with selection rects not being redrawn correctly" This reverts commit fa1a7ae9b91d0321b71b3de4f720a393d827cd9c.
2017-01-25fix an issue with selection rects not being redrawn correctlyPaul Davis
2016-12-23only update GhostEvents on visible trackviews.nick_m
- this requires that MidiGhostRegion::update_contents_height() also controls visibility.
2016-09-27TimeAxisView::set_selected() needs to call AxisView::set_selected()Paul Davis
2016-08-18don't show empty time axis view context menusPaul Davis
2016-07-25the endless quest to plug memory leaks -- episode 379Robin Gareus
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-06many changes associated with rationalizing selection flowPaul Davis
2016-06-05use, or mostly use PresentationInfo for selection status of Routes.Paul Davis
Needs extension to Surfaces, replacing GuiSelectionChanged signal concept
2016-06-05RouteUI is now also derived from SessionHandlePtr but NOT AxisView. Fix ↵Paul Davis
initialization. Only "most derived" classes can initialize virtual base classes (SessionHandlePtr)
2016-06-03NO-OP: add blank line to make comments clearerPaul Davis
2016-06-01remove un-used name_hbox widget from TimeAxisViewPaul Davis
2016-06-01remove unneeded widget style definitionPaul Davis
2016-05-31stop playing silly games with widget packing when editing a route name in ↵Paul Davis
the edito Use a FloatingTextEntry instead. All clever functionality from previous implementation has been retained.
2016-05-31do not accidentally try to select VCA time axis views for context clicks or ↵Paul Davis
other conditional ops
2016-05-31make selectability of a TimeAxisView be overridablePaul Davis
2016-05-31no-op: move comment to make scope more clearPaul Davis
2016-05-31fix wierd TimeAxisView initial attachment for the name hboxPaul Davis
2016-05-31pre-size TimeAxisView controls_table to something more like the correct rows ↵Paul Davis
x cols
2016-05-31universal change in the design of the way Route/Track controls are designed ↵Paul Davis
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-03mark initial TAV as hidden to speed up initial display.Robin Gareus
This prevents an extra call to "redisplay" from TAV::hide() which triggers handle_gui_changes. Visible TAVs are positioned using show_at() which unsets _hidden.
2016-02-13Fix 6609: Right-click in active track name box crashesJulien ROGER
When right-clicking in the text entry, popup menu grabs focus. Consequently, the "focus out" handler is called, destroys the text entry and replaces it by the label name of the track. When menu pops up, it tries to access to a widget no longer available.
2015-10-22Remove GhostRegion::CatchDeletion signal to reduce session close timesTim Mayberry
Currently when a GhostRegion is deleted by its "parent" RegionView it emits the static GhostRegion::CatchDeletion signal which is connected to the RegionView::remove_ghost method of every RegionView instance. With a static GhostRegion::CatchDeletion signal a particular test session causes 31 Million calls of RegionView::remove_ghost on Session deletion and the session takes 70 seconds to close with a debug build. The lifetime of a ghost region is tied to both the TimeAxisView(TAV) and RegionView(RV) in that when a RegionView is deleted all GhostRegion instances associated with the RegionView should be deleted or when a TimeAxisView is deleted all ghost regions that are contained in the view should be deleted. This means that there needs to be notification between GhostRegion and both classes. Instead of using a signal for this as we know there are only two listeners and GhostRegion already holds a reference to the TimeAxisView, also take a reference to the parent RegionView in the GhostRegion constructor and use it to notify the RegionView when GhostRegion destructor is called so it can drop any references it holds. Using a direct function call in the GhostRegion destructor to notify the TimeAxisView and RegionView "parents" brings the unload/close time down for the test session from 70 seconds to 4.5 seconds. The GhostRegion also references canvas items that are added to the TimeAxisView canvas group or at least a canvas group that it manages. So when the TimeAxisView is destroyed and the canvas group that is the parent of those items is destroyed, the GhostRegion's canvas items will also be deleted/destroyed by the parent canvas item/group. This means the GhostRegions must be destroyed when the TimeAxisView they are contained in is destroyed or there will be dangling references to canvas items that have already been deleted and trying to delete them again will be bad.
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-16Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tipTim Mayberry
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16Move ARDOUR_UI::ui_scale into UIConfiguration classTim Mayberry
2015-09-16Move DPIReset and ColorsChanged signals into UIConfigurationTim Mayberry
2015-05-27prevent crash when using WM close button on "new route name contains bad ↵Paul Davis
chars" dialog. The dialog would be created twice, once because the user hit enter etc. to indicate they were done editing, and once because focus left the name text entry, also indicate the end of editing. We now note that we're already processing the end of a name edit, and do nothing in that case
2015-04-22clean up GUI scalingRobin Gareus