Paul Davis
c06c2c29db
add new CairoWidget-derived class that does nothing but shown an ArdourIcon.
...
Somewhat necessary by placement of ArdourButton class in directory heirarchy. But these are also
much simpler
2016-02-22 15:31:22 -05:00
Paul Davis
434ef34229
add tab-closing buttons to tabs.
...
Images are non-scalable, too big and ugly. Next commit ...
2016-02-22 15:31:22 -05:00
Paul Davis
347ba94bcd
add ::make_visible() to Tabbable class
2016-02-22 15:31:22 -05:00
Paul Davis
436706c8d4
remove debug output
2016-02-22 15:31:22 -05:00
Paul Davis
e46b518319
classes derived from WindowProxy are responsible for their own window creation in ::set_state().
...
Fixes a crash reported by A.Prokoudine when opening a session with visible plugin GUIs
2016-02-22 15:31:22 -05:00
Paul Davis
37fce09a18
widespread changes to get the new (oldArdour binding scheme to be used for keyboard accelerators
2016-02-22 15:31:22 -05:00
Paul Davis
d84f655495
add suggestive tooltips for tabs; remove position argument for Tabbable since it isn't really usable
2016-02-22 15:31:21 -05:00
Paul Davis
552e995297
save/restore tabbable state
2016-02-22 15:31:21 -05:00
Paul Davis
9f0ea99fac
better way to switch to a tab
2016-02-22 15:31:21 -05:00
Paul Davis
03b354a99e
make tabs reorderable
2016-02-22 15:31:21 -05:00
Paul Davis
a5150d500d
when tearing off a tab, make the window be the same size as the allocation of the tab
2016-02-22 15:31:21 -05:00
Paul Davis
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
Paul Davis
85eee3b09d
compilable version of WindowProxy
2016-02-22 15:31:21 -05:00
Paul Davis
a29f76c1c4
initial versions of Tabbable object
2016-02-22 15:31:21 -05:00
Paul Davis
df05e97288
first version of Gtkmm2ext::WindowProxy
2016-02-22 15:31:21 -05:00
André Nusser
1afbdaff58
Fix compilation warnings. (libs part)
2016-02-22 15:11:02 -05:00
Paul Davis
86d27a736c
better system for managing kbd focus after cmd-w closing a dialog.
...
Key, Button and Focus In events in the editor+mixer windows cause the respective window to be noted
as the window to which focus should return after a dialog is closed with cmd/ctrl-w
2016-02-22 14:03:55 -05:00
Paul Davis
60c4b30b7e
manually revert most of previous commit related to dialog/main window focus management
2016-02-22 13:55:31 -05:00
Paul Davis
3a08ac5e1f
os x: an initial attempt at fixing loss of keyboard focus after cmd-w to close dialog
2016-02-22 11:49:17 -05:00
Paul Davis
344cf05540
OS X: fix the handling of SUPER,HYPER,META (see code comment for more)
2016-02-21 10:48:35 -05:00
Paul Davis
c92e822332
remove HYPER,SUPER,META modifier masks from Keyboard::RelevantModifierMask so that modifier_state_equals() works on OS X
...
GTK on OS X adds META when Command is pressed even though it also uses MOD2 to indicate COMMAND. So Cmd-w was actually META-MOD2-w and modifier_state_equals(MOD2)
would fail. This should have nothing but good side effects
2016-02-18 09:44:50 -05:00
Paul Davis
dd7649a409
add a static utility function (should really be in utils.cc and public) to show modifier state in english; use said function
2016-02-18 09:43:03 -05:00
Robin Gareus
4a9ffee486
Allow partial CairoWidget exposure
2016-02-12 22:57:46 +01:00
John Emmas
3f43e5cd04
Remove no longer needed 'prolooks' source(s) from our MSVC projects (gtkmm2ext & gtk2_ardour)
2016-02-12 12:31:22 +00:00
Paul Davis
e6b06597b7
remove all traces of "prolooks" and related classes
2016-02-11 13:03:24 -05:00
Tim Mayberry
85b4acc916
Change CairoWidget::get_active() to be const
2016-02-11 12:15:07 +10:00
Paul Davis
9e3299f97d
change Controllable::set_value() API to include grouped control consideration.
...
This also removes Route::group_gain_control() and associated machinery.
Not yet tested with Mackie or other surfaces. More work to done to
start using the group capabilities, and also potentially to add
or derive more controls as RouteAutomationControls
2016-01-02 04:58:30 -05:00
Robin Gareus
5d8b75386c
allow to set per item drag targets
2015-12-30 12:25:09 +01:00
Robin Gareus
2d871435ca
allow to set parent for modal dialog
2015-12-29 13:31:24 +01:00
Robin Gareus
ee541036b4
fix window-title (separate application name, thread name)
2015-12-29 11:03:09 +01:00
Robin Gareus
8e1a9f0ada
missing drag-end (fix possible crash)
2015-12-28 17:23:45 +01:00
Paul Davis
0d9efc1148
redesign cross-thread registration/signalling system
...
This new design will work even when threads that need to receive
messages from RT threads are created *after* the RT threads. The
existing design would fail because the RT thread(s) would never
be known the later created threads, and so signals emitted by the
RT thread and causing call_slot() in the receiver would end up
being enqueued using a lock-protected list. The new design ensures
that communication always uses a lock-free FIFO instead
2015-12-28 10:14:17 -05:00
Robin Gareus
0aba08594c
allow DnD between DnDTreeView and DnDVbox
2015-12-28 04:10:39 +01:00
Robin Gareus
3ff674d583
Treeview Drag: allow to use single column as drag-widget
2015-12-24 17:26:06 +01:00
Robin Gareus
2a55e8b9b3
extend Drag/Drop mechanism
...
DnDVbox: un-hardcode TargetEntry list, add callback for secondary targets
DvDTreeview: return pointer to self
2015-12-22 04:14:12 +01:00
Paul Davis
3d1dcacfd8
use correct source for application name when labelling a window
2015-12-12 11:12:10 -05:00
Paul Davis
be6a43d4d3
use EventLoop::event_loop_name()
2015-12-12 11:12:10 -05:00
Edgar Aichinger
ba3936391a
update german translation
2015-12-09 13:22:25 +01:00
Robin Gareus
73d1de3b75
NOOP, remove trailing whitespace, replace tabs in python scripts
2015-11-29 17:54:31 +01:00
Nils Philippsen
e25ddc39f8
make copies of global lists before extending
...
Not doing so can make source or object files appear multiple times in
the list of files to be compiled or linked, e.g. when doing './waf build
install', subsequently leading to linker errors.
2015-11-23 08:43:19 -05:00
Robin Gareus
52e75f5a45
remove cruft
2015-10-20 15:49:59 +02:00
Robin Gareus
f1a6d7816d
remove unused "copy modifier hint"
2015-10-20 11:12:36 +02:00
nick_m
9511c9c86f
Add tooltips to user config preferences. clean up combo ordering.
2015-10-20 00:53:30 +11:00
Robin Gareus
2c9666e0ee
API to add system-specific file chooser shortcuts
2015-10-16 19:06:21 +02:00
Robin Gareus
79142a262e
prepare better solution of Glib's << operator
2015-10-15 11:22:35 +02:00
Robin Gareus
2397429e99
use quotes for in-tree pbd/glib wrapper include
2015-10-05 22:15:18 +02:00
Robin Gareus
dc36b063bf
remove unused fstream includes
2015-10-05 22:15:18 +02:00
Robin Gareus
97bd6db2b7
remove i/ofstream from libardour
...
except:
* audio-unit (ifstream is known to work on OSX)
* evoral curve algorithm debugger
* cycle-timer debug code
* export_handler's CDMarker -> TODO
2015-10-05 22:15:17 +02:00
Robin Gareus
c3b2cc46c5
remove unused API (and ifstream)
2015-10-05 22:15:17 +02:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00