Paul Davis
ad002d0de0
consolidate ActionMap and ActionManager APIs into a single namespace
2018-12-10 08:34:01 -05:00
Paul Davis
39c253c590
provide (Static)ActionMapOwner::action_map()
2018-12-10 08:34:00 -05:00
Robin Gareus
9004a0df7a
Properly keep track of Window Visibility, action state
...
This fixes inconsistent WM::Proxy state when a window is destroyed
Specifically "session-options-editor" when the session is unloaded;
previously "toggle-session-options-editor" was never unset.
2018-12-08 22:38:03 +01:00
Paul Davis
dd4c788d3e
add syntactic sugar for fetching toggle and radio actions
2018-12-06 22:12:34 -05:00
Paul Davis
eb48c14ec4
some ActionMap infrastructure to start removing ActionManager
2018-12-05 17:33:05 -05:00
Paul Davis
4d7e9d5706
add new variant of ActionMap::find_action()
...
This is more useful when replacing ActionManager::get_action
2018-12-05 17:33:05 -05:00
Robin Gareus
fc24b9f0b7
Fix uninitialized variable
2018-11-29 02:10:08 +01:00
Robin Gareus
a22a501537
NO-OP: whitespace
2018-11-29 02:07:29 +01:00
Robin Gareus
7c3fd2fe79
Glib throws a const FileError exception
2018-10-26 13:40:03 +02:00
Paul Davis
8ed33f1bc7
remove use of hardcoded -fPIC compiler flag, and use compiler flag dict instead
2018-10-14 22:06:11 -04:00
Robin Gareus
b27a8169d2
Ignore small (or negative) radii.
...
Some calls use e.g. (corner_radius - 1.5). With small radii or boxy
layout the radius can become negative.
2018-10-09 19:31:01 +02:00
Robin Gareus
b32b9ceb58
Constant radian/degree factor
2018-10-09 19:31:01 +02:00
Robin Gareus
e01582dd9a
Prepare a boxy, no round borders, button-style
2018-10-02 21:28:49 +02:00
John Emmas
cf652331ad
Adapt our remaining MSVC projects for 'boost::atomic' (in case it later gets extended to the other libs)
...
Stage 3 of 3
2018-09-30 09:19:28 +01:00
Paul Davis
6ca8ec5141
remove debug output
2018-09-23 13:48:19 -04:00
Paul Davis
12d5eb9a34
remove debug output
2018-09-23 13:48:19 -04:00
Paul Davis
d48dd0ccd5
defer creating a visibility tracker for a window until the window is mapped
...
Without this, the visibility tracker will report that the window is not visible at startup, and
this overrides the XML _visible property which denotes that the window should be made visible
2018-09-23 13:48:19 -04:00
Robin Gareus
497a3fbaa1
Fix --no-nls (2/5), prefer #if in libs
...
This is for consistency with system-wide gettext.h which is used
by some 3rd party libs. system-wide gettext uses `#if ENABLE_NLS`,
not #ifdef
2018-09-21 19:03:33 +02:00
John Emmas
79f01bc889
Initial changes needed for building Mixbus (with MSVC) as version 5
...
(Mixbus itself will probably need extra changes)
2018-09-10 07:14:59 +01:00
Robin Gareus
4983eb565d
Only update tooltips if there is an actual change -- #7268
...
Changing a tooltip resets the timeout. In one particular case,
while rolling, AudioClock::set() is calling set_tooltip() at a rate
faster than the tooltip timeout and prevents tooltip from showing at all
(even if there is no actual change to the tooltip text).
Alas, there is no trivial fix for this UI side and there may be other
such cases. A central check is more than practical.
2018-04-12 02:54:55 +02:00
John Emmas
b9c9777b9a
When building with MSVC, allow for the fact that Mixbus and Ardour can be using different versions of the SESSION_FILE format
2018-02-15 09:03:32 +00:00
John Emmas
6f019faaa0
Accommodate the change from libtimecode to libtemporal
2018-02-14 10:02:11 +00:00
Robin Gareus
c833b56029
Explicit encoding for bindings html.
2018-01-17 16:52:16 +01:00
Hiroki Inagaki
720ad15a45
Update Japanese translation
2017-12-22 22:19:00 +01:00
Paul Davis
3421c6e814
NO-OP: whitespace
2017-08-18 09:42:04 -04:00
Paul Davis
f84bebbb30
strip <Actions>/ from displayed path when printing bindings to HTML
2017-08-18 09:42:04 -04:00
Robin Gareus
bbc8c1354e
Separate set_toggleaction_state () API
...
Prepare for a method consistent with access_action():
* separate group + action names
* no action string parsing overhead.
* no fatal, abort () call for invalid actions
2017-08-09 16:29:24 +02:00
John Emmas
bf150f049f
MSVC changes needed to implement the new 'widgets' library
2017-07-19 08:16:30 +01:00
Paul Davis
8c6d78c188
add required stdint.h
2017-07-17 18:15:42 -04:00
Robin Gareus
601c317d70
Clean up library inheritance (colors.h, utils.h)
...
make libwidget independent of libcanvas.
Confine basics to pbd and gtkmm2ext.
2017-07-17 21:06:04 +02:00
Robin Gareus
eb1e423b75
Remove <gtkmm.h> include from header files.
2017-07-17 21:06:04 +02:00
Robin Gareus
f9e5e4360e
Move more Gtkmm2ext widgets into libwidget
2017-07-17 21:06:04 +02:00
Robin Gareus
b5e9451bc7
Remove unused sources & includes
2017-07-17 21:06:04 +02:00
Robin Gareus
f6e182b937
Move Gtkmm2ext widgets into libwidget
2017-07-17 21:06:04 +02:00
Robin Gareus
5292a8f4ae
Allow DnDVbox to sort the selection, using original order
...
In preparation for Processors to be copy/pasted in the same order
as they appear on the strip -- not order in which they are selected.
2017-07-04 18:08:35 +02:00
Robin Gareus
3a42383975
Add binding-proxy to ClickBox
2017-07-02 22:48:39 +02:00
Robin Gareus
c4fcb12d12
Add control-focus notifications from bindable widgets.
2017-07-02 18:19:13 +02:00
John Emmas
496ac30c41
Accommodate newly introduced source(s) in our MSVC project (gtkmm2ext)
2017-06-29 10:11:05 +01:00
John Emmas
fae592e8f4
Remove ambiguity ('CheckMenuItem' conflicts with an item already existing in MSVC)
2017-06-29 10:08:32 +01:00
Robin Gareus
972e01f9c7
Add a convenience MenuHelper c'tor
...
This is pretty much Gtkmm's
* CheckMenuElem::CheckMenuElem
* MenuElem::MenuElem
except MenuItems are created with bool mnemonic = false;
2017-06-29 00:22:34 +02:00
Tim Mayberry
5ddd7a58b6
Remove unused pbd/locale_guard.h header from Gtkmm2ext::Barcontroller class
2017-06-22 10:48:38 +10:00
Edgar Aichinger
278d5bdab2
update german translation
2017-05-14 15:29:27 +02:00
Robin Gareus
401eefec1c
remove cruft (unused UI::ui_scale)
2017-05-05 14:00:30 +02:00
Robin Gareus
2f37885e4b
MIDI learn on ctrl + middle-click only (not ctrl + other mods + btn2).
...
This fixes various other operations that use ctrl + btn2.
e.g. ctrl+alt+btn2 temporary all un/solo/mute.
2017-05-04 00:35:56 +02:00
Robin Gareus
410f94cf1b
Fix Editor/Mixer visibility (OSX, NSGLCanvas)
...
Only unpacking a widget retains the GdkWindow and and the widget is still
mapped. The NSView is still visible. See also 235631a6 .
2017-04-27 16:23:48 +02:00
Tim Mayberry
9488cb0b69
Use XMLNode::get/set_property API in Gtkmm2ext::WindowProxy class
2017-04-19 09:36:55 +10:00
Tim Mayberry
6779770fee
Use XMLNode::get/set_property API in Gtkmm2ext::Tearoff class
2017-04-19 09:36:55 +10:00
Tim Mayberry
c627da0a9f
Use XMLNode::get/set_property API in Gtkmm2ext::Tabbable class
2017-04-19 09:36:55 +10:00
Tim Mayberry
1f3589b122
Use XMLNode::get/set_property API in Gtkmm2ext::Keyboard class
2017-04-19 09:36:55 +10:00
Tim Mayberry
ac89bfd229
Use XMLNode::set_property API in Gtkmm2ext::Bindings class
2017-04-19 09:36:54 +10:00