Commit Graph

57 Commits

Author SHA1 Message Date
Nil Geisweiller
4c66e36b91 Fix indentation 8 whitespaces to tab 2016-12-21 23:09:40 +01:00
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
c07bca3a62 fix capitalization of sections of key editor 2016-03-15 21:25:07 -04:00
bc487bb4b0 replicate the remove-all-trailing whitespace commit(s) in master 2016-02-22 15:31:24 -05:00
ec65e351ac ensure that all callers of ARDOUR_UI_UTILS::relay_key_press() provide a window 2016-02-22 15:31:24 -05:00
09f9020897 action maps now have names 2016-02-22 15:31:24 -05:00
949163f806 more changes to Bindings, Keyboard APIs 2016-02-22 15:31:24 -05:00
67e19c177f radically change Keyboard/Binding API design to disconnect Gtk::Action lookup from binding definition
We need this because we need binding information/objects before all
Actions have been defined.
2016-02-22 15:31:24 -05:00
4d5cf08bb7 add step entry bindings pointer to step entry window so that bindings will be used 2016-02-22 15:31:23 -05:00
a13a8da8ac switch all action registration/binding code over to new API.
This removes the ability to change bindings via menus.

Still to come: saving modified bindings, and reworking the key editor
2016-02-22 15:31:23 -05:00
9010262bed first compilable version of tabbable design.
I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile
2016-02-22 15:31:21 -05:00
1d42ed077e Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting
tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16 16:55:17 -04:00
2a251b4570 MusicalTime => Beats. 2015-01-07 00:12:07 -05:00
57c1b6e261 Fix quantization and other time-related ops. 2014-11-22 21:49:42 -05:00
c1cfa12d6e Wrap MusicalTime in a class.
This lets us get a more explicit handle on time conversions, and is the main
step towards using actual beat:tick time and getting away from floating point
precision problems.
2014-11-22 04:05:42 -05:00
44f71ce599 Text tweaks and typo fixes 2014-10-02 18:03:19 +01:00
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
cd12698b9c Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.
2014-06-25 12:40:10 -04:00
40944574c6 the big rework of window management. probably not complete at thsi point, but this is mostly functional 2013-05-04 22:02:05 -04:00
cd0d68a591 mark the step entry dialog as a dialog even though it is an ArdourWindow, to help with WM layering issues 2013-04-05 18:00:59 -04:00
ecbd517892 remove type hint DIALOG from step entry "dialog"
git-svn-id: svn://localhost/ardour2/branches/3.0@13803 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-07 20:41:13 +00:00
778835bfbc amend 13373: don't force Step entry window on top
git-svn-id: svn://localhost/ardour2/branches/3.0@13379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-05 11:26:25 +00:00
2ca63da5a6 make the Step-Entry piano a dialog window (no maximize, on-top)
git-svn-id: svn://localhost/ardour2/branches/3.0@13373 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-02 11:33:37 +00:00
1f440fbfec Remove unused or unnecessary header includes
git-svn-id: svn://localhost/ardour2/branches/3.0@12905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:09:51 +00:00
105caf23da Use std::string instead of PBD::sys::path in pbd/search_path.h, pbd/file_utils.h and ardour/session_dir.h
git-svn-id: svn://localhost/ardour2/branches/3.0@12829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23 05:06:54 +00:00
813c5f0af9 major rationalization of use of search paths. ardour now has just 4 functions used to define how external resources are located: ardour_config_search_path() (for system or user specific configuration data), ardour_data_search_path() (for machine, user and system independent data), ardour_dll_directory() (base directory where shared libraries are found) and user_config_directory(). These are now used throughout the code. the config, data and dll paths/directories can be overridden by environment variables. the user config dir is added as the first element of the first two search paths, and use selectively when searching for a few other things.
This commit re-enabes ./waf install, and it is believed that it works fully at this point (more testing likely required)

git-svn-id: svn://localhost/ardour2/branches/3.0@12326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-18 17:24:06 +00:00
05283a6339 Only use ArdourDialog (and thus Gtk::Dialog) for actual dialogs.
Fixes #4364.

I havn't fully tested every single dialog and window (heck, I don't even know
how to get at half of them), and there may be some packing niggles, but this is
the bulk of the work.  The Gnome 3 kiddies can close their dialogs now, anyway
:)


git-svn-id: svn://localhost/ardour2/branches/3.0@10699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-19 00:56:35 +00:00
ed626628b5 Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01 17:00:29 +00:00
Carl Hetherington
c437fe0f30 Fix step editor note lengths and default to crotchet / mf in the dialogue (#3963).
git-svn-id: svn://localhost/ardour2/branches/3.0@9358 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-16 13:55:06 +00:00
7874dd2b07 two small fixes from melvin ray herr for the step editor
git-svn-id: svn://localhost/ardour2/branches/3.0@9171 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-21 15:07:37 +00:00
d08e3b94c5 basic adoption of new mouse binding facility
git-svn-id: svn://localhost/ardour2/branches/3.0@9063 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-04 03:10:48 +00:00
5d22b482dc melvin herr's "reversion" fix for step editing so that everything is zero-based again
git-svn-id: svn://localhost/ardour2/branches/3.0@8766 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-08 02:46:44 +00:00
3e5d477989 step editing patches from melvin herr
git-svn-id: svn://localhost/ardour2/branches/3.0@8722 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-05 16:40:54 +00:00
954a3ddca1 small change to step edit bindings, plus make the spin button/adjustment able to reach the first octave (value=0)
git-svn-id: svn://localhost/ardour2/branches/3.0@8632 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-31 17:58:56 +00:00
98d994f29c fix a variety of unused argument errors noted by gcc 4.3.2 on x86
git-svn-id: svn://localhost/ardour2/branches/3.0@7733 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-02 17:01:36 +00:00
faca3e5f5d split out the logic behind step editing from MidiTimeAxisView as much as possible
git-svn-id: svn://localhost/ardour2/branches/3.0@7633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-15 16:39:51 +00:00
d6166084b1 step editor: add double, triple dotted note support + back + resync-to-ep buttons
git-svn-id: svn://localhost/ardour2/branches/3.0@7623 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-13 21:48:31 +00:00
aac46a38fb add step editing sustain support
git-svn-id: svn://localhost/ardour2/branches/3.0@7615 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-13 14:11:01 +00:00
9196535878 lotsa keybindings for nearly everything in the step editor
git-svn-id: svn://localhost/ardour2/branches/3.0@7610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-12 21:02:01 +00:00
afd5b2002a vari-size rect as step-edit cursor
git-svn-id: svn://localhost/ardour2/branches/3.0@7599 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-11 19:11:14 +00:00
5182f0770c add a first hack at a step edit cursor (to be changed); add program+bank stubs (non-functional for the foreseeable future); fix up step edit changes propagating across all MIDI tracks; make program change "flags" change height along with track
git-svn-id: svn://localhost/ardour2/branches/3.0@7598 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-11 18:21:37 +00:00
33e58df92c label various spinners in the step editor
git-svn-id: svn://localhost/ardour2/branches/3.0@7591 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-10 23:23:47 +00:00
bbdc31768a neo was told there was no spoon, i'm telling you there is no bsharp
git-svn-id: svn://localhost/ardour2/branches/3.0@7589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-10 22:02:06 +00:00
a448f2827c the OMG-make-radio-buttons-and-actions-work-properly commit for the step editor
git-svn-id: svn://localhost/ardour2/branches/3.0@7587 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-10 21:27:04 +00:00
c333b19422 start using new keybinding stuff in step editor dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@7555 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06 19:02:21 +00:00
93603ab24f fix initialization of channel adjustment step sizes
git-svn-id: svn://localhost/ardour2/branches/3.0@7552 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06 13:18:11 +00:00
fdef792afa unused new actions code for step entry
git-svn-id: svn://localhost/ardour2/branches/3.0@7547 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-05 19:38:46 +00:00
355c079f10 make bar-resync button in step editor work (move insertion point to next bar boundary)
git-svn-id: svn://localhost/ardour2/branches/3.0@7543 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-04 23:45:01 +00:00
1018368aef Fix spacey tabs...
http://ardour.org/development/styleguide


git-svn-id: svn://localhost/ardour2/branches/3.0@7542 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-04 21:50:57 +00:00
38f2336b45 add beat-resync button to step editor (move insertion point to next whole beat from region start)
git-svn-id: svn://localhost/ardour2/branches/3.0@7541 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-04 20:28:10 +00:00