mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
add a cursor (prototype) to audio clocks for editing, fix negative value display, and more
git-svn-id: svn://localhost/ardour2/branches/3.0@10692 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5770f26bc9
commit
b4646bb4c0
2 changed files with 119 additions and 28 deletions
|
|
@ -135,11 +135,18 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr
|
|||
|
||||
Field index_to_field (int index) const;
|
||||
|
||||
/* this maps the number of input characters/digits when editing
|
||||
to a cursor position. insert_map[N] = index of character/digit
|
||||
where the cursor should be after N chars/digits. it is
|
||||
mode specific and so it is filled during set_mode().
|
||||
*/
|
||||
|
||||
std::vector<int> insert_map;
|
||||
|
||||
bool editing;
|
||||
std::string edit_string;
|
||||
std::string pre_edit_string;
|
||||
std::string input_string;
|
||||
std::string::size_type insert_max;
|
||||
|
||||
framepos_t bbt_reference_time;
|
||||
framepos_t last_when;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue