Paul Davis
1a55e83e98
move show_gdk_event_state() utility function from gtk2_ardour to libs/gtkmm2ext
2016-07-18 14:41:25 -04:00
Paul Davis
cf52d6e4b4
enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h
2016-07-14 14:45:23 -04:00
Paul Davis
0cd43a553e
provide ARDOUR_UI_UTILS::running_from_source_tree()
2016-06-21 19:26:05 -04:00
Paul Davis
212afd402c
color management and handling for VCAs
2016-06-09 16:03:14 -04:00
Paul Davis
7b2f2a1f6a
new color utility functions to convert between uint32_t and Gdk::Color
2016-06-05 16:33:01 -04:00
Paul Davis
bf84903352
clean up some dangling code from ThemeManager
2016-05-31 15:30:46 -04:00
Paul Davis
6ec731c5fa
rework of color theme file management
...
Use program-name + version when saving user color files (and search for them)
Preset XML-defined theme name, but use filename in config files (could be wrong).
2016-05-31 15:30:46 -04:00
Paul Davis
4c60a925c0
the return of the theme selector, plus 3 new themes from cooltehno
2016-05-31 15:30:45 -04:00
Paul Davis
33bf858a5f
remove stupid, unused function
2016-05-31 15:30:38 -04:00
Robin Gareus
026f8dd80f
group Product/App specific resources
...
* only install icons relevant to product
* use program-name (as-is) as prefix
* keep icons/* for all products
2016-05-17 13:12:05 +02:00
Paul Davis
bc487bb4b0
replicate the remove-all-trailing whitespace commit(s) in master
2016-02-22 15:31:24 -05:00
Paul Davis
9b9a7beb13
cleanup various merge conflict resolution errors/omissions
2016-02-22 15:31:24 -05:00
Paul Davis
ec65e351ac
ensure that all callers of ARDOUR_UI_UTILS::relay_key_press() provide a window
2016-02-22 15:31:24 -05:00
Paul Davis
98b14ad0e6
get normal GTK accelerators working again
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
André Nusser
4898614f90
Remove explicit positioning of overwrite_file_dialog.
...
ArdourDialog takes care of this.
2015-11-04 17:52:00 -05:00
André Nusser
6ccffbaf09
Improve behavior of overwrite_file_dialog.
...
- Make overwrite file dialogs transient.
- Cancelling the overwrite dialog doesn't close initial dialog.
2015-11-04 17:52:00 -05:00
André Nusser
5d50abed75
Confirmation on overwrite for track and session templates. -fixes #6587
2015-10-21 23:28:44 -04:00
Robin Gareus
dc36b063bf
remove unused fstream includes
2015-10-05 22:15:18 +02:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Robin Gareus
202b9cc82a
fix a tautologically undefined comparison
2015-09-17 00:21:38 +02:00
Tim Mayberry
6b019a4953
Move UIConfiguration Singleton into UIConfiguration header
...
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
Tim Mayberry
0fd1aa3808
Remove unused header include
2015-09-16 16:55:17 -04:00
Tim Mayberry
2d47183dc9
Move util functions into UIConfiguration as they depend on it anyway
2015-09-16 16:55:17 -04:00
Robin Gareus
1bd7199f4f
consolidate code
2015-06-27 01:00:03 +02:00
Paul Davis
d79980d571
use Gtkmm2ext::possibly_translate_mod_to_make_legal_accelerator() in all cases where we use gtk_accel_groups_activate()
...
Because that function needs it, whereas the old gtk_window_activate_key() did not.
2015-01-30 11:08:56 -05:00
Paul Davis
17b8d9836d
don't wipe out SHIFT from event state when processing keyboard events, as done in a recent commit
2015-01-29 12:16:18 -05:00
Paul Davis
dab3346623
use gtk_accel_groups_active() in preference to gtk_window_activate_key() since the latter behaves incorrectly
...
The window version will not activate bindings like <Mod4><Super>-space, whereas the former one works correctly. We already used
the former one just above, when handling "fakekeys".
Also add a utility function to show modifier state.
2015-01-28 21:03:03 -05:00
David Robillard
4166b05bda
Fix setting command key bindings on OSX.
2015-01-14 20:31:38 -05:00
Paul Davis
64fa63212f
move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration
2014-12-22 13:39:46 -05:00
Paul Davis
aff8a806a2
more color work, including removing rgba{_p_}_from_style()
2014-12-08 22:02:38 -05:00
Robin Gareus
9bac4df9ec
also load hotspot file (if it exists) for default cursors
2014-11-19 00:21:31 +01:00
David Robillard
976a150e6b
Remove obviously dead/redundant code.
2014-11-18 02:55:03 -05:00
Robin Gareus
6b3a8915f3
add abort() to non-reached code
...
This cleans up a lot of false-positives in static analysis
and also helps compilers to optimize code paths in general.
(tagging the fatal stingstream operator as ‘noreturn’ is
far less trivial)
2014-11-14 11:30:08 +01:00
Paul Davis
e4e6f00103
slightly increased debugging output for -D accelerators
2014-11-02 08:57:58 -05:00
Robin Gareus
4f58638ac0
harfbuzzed - also reverts 666de70d
2014-10-01 16:24:37 +02:00
Robin Gareus
666de70ddc
pango --with-included-modules=yes does not provide explicit pangoft header
2014-09-30 19:08:17 +02:00
Paul Davis
233d2e8530
add extra (default-ed) argument to ::get_icon_path() to allow it to be used to look for icon-related but non-image files
2014-09-10 19:39:15 -04:00
Robin Gareus
fb473475c3
remove cruft
2014-09-06 00:42:10 +02:00
Paul Davis
976f006cc0
display key name when debugging keyboard/accel stuff
2014-07-02 12:54:49 -04:00
Paul Davis
471570705d
move contrasting_text_color() into ArdourCanvas
2014-06-30 10:38:45 -04:00
Robin Gareus
09479ad19a
prepare formatting track-number for mixer (and other places)
2014-06-26 19:19:29 +02:00
Robin Gareus
a3c378cf62
move utility functions into a dedicated namespace
2014-06-25 21:47:54 +02:00
Tim Mayberry
ba484f1e1f
Fix finding icon sets by using correct utility function
2014-06-25 12:40:10 -04:00
Tim Mayberry
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
Tim Mayberry
769ee5c1f2
Change PBD::get_files_in_directory to return full paths in result
...
get_files_in_directory uses get_directory_contents internally now
2014-06-25 12:40:09 -04:00
Tim Mayberry
c1ff79e2e6
GLib functions for listing directory contents don't include "." or ".." entries
2014-06-25 12:40:09 -04:00
Paul Davis
2ebaf2e45a
explanatory comment
2014-06-19 13:47:58 -04:00
Paul Davis
01df705f70
change the way font specifications are used in UI config files
...
If no font family is specified, enforce use of Sans to match GTK behaviour (which we inadvertently relied on, it appears)
2014-06-19 11:18:44 -04:00