Robin Gareus
1314987f8b
Towards theme-able, scale-able step-entry
...
* use UTF-8 music symbols for both
- note length
- dynamics (velocity)
This allows for both color theming as well as scaling. Previously
fixed size, black icons were used.
* directly rely on ActionManager actions for radio actions
This simplifies code and removes ambiguities.
* hide Bank/Patch buttons. Those actions are not implemented
2022-11-20 02:01:12 +01:00
Robin Gareus
c0c1fd8b60
Rename PianoKeyboard class, avoid ambiguities
...
A C++ class "PianoKeyboard" in the global namespace may cause
issues with some plugins that export and use an identically
named symbol.
2019-10-25 21:24:25 +02:00
Robin Gareus
3f2f517291
Rough-in gtk-pianokeyboard C -> C++
2019-10-24 19:59:22 +02: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
933b2b1a9c
add explanatory comments
2018-12-22 15:11:52 -05:00
Paul Davis
126def9e1a
make StepEntry into a singleton.
...
More work to follow to clean up the details, and more comments to
explain the relationship between StepEntry and StepEditor.
2018-12-22 14:45:44 -05:00
Paul Davis
ff51744671
make StepEntry actions be static.
...
Unfinished, because bindings are problematic.
2018-12-19 17:19:51 -05:00
Paul Davis
fc83d044f8
use ActionManager namespace, rather than ActionMap objects, and remove all per-context action maps
2018-12-10 08:34:01 -05:00
Paul Davis
4423945643
start using ActionMap in preference to ActionManager
2018-12-05 17:33:06 -05:00
Paul Davis
7db12f6b12
convert codebase to use Temporal for various time types
2017-09-24 12:03:54 -04:00
Nil Geisweiller
4c66e36b91
Fix indentation 8 whitespaces to tab
2016-12-21 23:09:40 +01:00
Paul Davis
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
David Robillard
2a251b4570
MusicalTime => Beats.
2015-01-07 00:12:07 -05:00
David Robillard
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
David Robillard
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
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
Paul Davis
46eaff772d
endless further tweaks to step editor; stop stealing the "r" key inside MidiRegionView key handling
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7537 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-04 17:04:20 +00:00
Paul Davis
b1f5a6a68d
a bunch of tweaks for the step entry process (computer keyboard input now works, for example)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7532 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-03 19:22:57 +00:00
Paul Davis
64f9fac9a8
make step entry chord & triplet buttons do their thing, or something close to it
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7530 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-03 04:13:05 +00:00
Paul Davis
e0edca5a2a
first, incomplete pass at step entry dialog, along with various SVG and PNG files for notes and dynamics notation
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7529 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-02 21:52:21 +00:00