4484b60b13
Revert "extend API of ARDOUR_UI_UTILS::emulate_key_event() to allow it to pass modifiers too"
...
No need to extend/change this API, since relay_key_press() can already take a window argument.
This reverts commit 2e0fa8943a
.
2021-06-06 08:11:26 -06:00
2e0fa8943a
extend API of ARDOUR_UI_UTILS::emulate_key_event() to allow it to pass modifiers too
2021-06-06 08:05:59 -06:00
b3a20c7626
Helper function to format sample-count as duration
2019-09-29 02:44:32 +02:00
4b5d16554b
Simplify screensaver inhibit API and fix OSX compatibility
2019-08-11 20:39:39 +02:00
78d7ef15df
Prototype infrastructure to disable screensaver
2019-08-11 02:33:16 +02:00
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
245d48dbd0
NO-OP: Clarify function name
2018-11-28 15:16:25 +01:00
415721fa5b
Prepare central engine check and user notification
2018-11-27 23:57:53 +01:00
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
Thomas Brand
63ea7b6516
NO-OP whitespace (updated GH PR #357 )
2017-07-01 19:28:26 +02:00
1a55e83e98
move show_gdk_event_state() utility function from gtk2_ardour to libs/gtkmm2ext
2016-07-18 14:41:25 -04:00
0cd43a553e
provide ARDOUR_UI_UTILS::running_from_source_tree()
2016-06-21 19:26:05 -04:00
7b2f2a1f6a
new color utility functions to convert between uint32_t and Gdk::Color
2016-06-05 16:33:01 -04:00
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
4c60a925c0
the return of the theme selector, plus 3 new themes from cooltehno
2016-05-31 15:30:45 -04:00
91a95b086a
initial sort-of-mostly-working integration of new Pane
2016-05-31 15:30:45 -04:00
33bf858a5f
remove stupid, unused function
2016-05-31 15:30:38 -04:00
ec65e351ac
ensure that all callers of ARDOUR_UI_UTILS::relay_key_press() provide a window
2016-02-22 15:31:24 -05:00
98b14ad0e6
get normal GTK accelerators working again
2016-02-22 15:31:21 -05:00
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
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
2d47183dc9
Move util functions into UIConfiguration as they depend on it anyway
2015-09-16 16:55:17 -04:00
2e8af0c917
Remove duplicate extern declaration
...
DPIReset signal is declared in global_signals.h
2015-09-16 16:55:17 -04:00
1bd7199f4f
consolidate code
2015-06-27 01:00:03 +02:00
aff8a806a2
more color work, including removing rgba{_p_}_from_style()
2014-12-08 22:02:38 -05:00
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
fb473475c3
remove cruft
2014-09-06 00:42:10 +02:00
09479ad19a
prepare formatting track-number for mixer (and other places)
2014-06-26 19:19:29 +02:00
a3c378cf62
move utility functions into a dedicated namespace
2014-06-25 21:47:54 +02:00
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
839a0063f2
add ::get_icon_sets() to utils
2014-06-10 14:39:28 -04:00
d59d26b89a
change ::get_icon_path() and ::get_icon() to accept an "icon set" name to provide ability to use different sets of icons; use when creating MouseCursors
2014-06-10 14:39:28 -04:00
ce08ec0de0
substantial changes in color management, involving a reduction in the use of Gdk::Color and more consistent logic for region coloring.
...
Group tabs now also get the text drawn in an appropriately contrast-y color
2014-06-09 23:29:00 -04:00
e5888d3983
merge with master and fix 2 conflicts
2013-10-16 22:06:56 -04:00
cff174b541
move rate_as_string() from EngineControl to utils.cc
2013-09-23 21:35:17 -04:00
7b18260175
get meter color from gtkrc style file
2013-08-08 15:25:40 -04:00
e469ce0961
get meter color from gtkrc style file
2013-07-24 22:05:24 +02:00
f00b3b7f11
merge with master
2013-06-13 23:00:24 -04:00
5b7b56236b
move emulate_key_event() to utils
2013-06-10 01:54:55 +02:00
aaea166135
initial commit of hand merging, plus getting "ancient" waf script to work correctly
2013-04-04 00:32:52 -04:00
Carl Hetherington
d7551a8f08
Escape angled brackets in playlist names for tooltips.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-12 14:19:35 +00:00
Carl Hetherington
fd1ff3d753
Remove unused color_from_style / gc_from_style.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11618 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-07 14:40:33 +00:00
bb737997ae
move 2 other non-ardour-specific utility functions into gtkmm2ext
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10932 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-07 13:08:00 +00:00
Carl Hetherington
7d32cf3813
Give route groups their own colour, settable from the route
...
group dialogue. Americanise spelling of color in a few
places to avoid confusion. Fixes #4224 . Addresses parts
of #2650 and #4064 .
git-svn-id: svn://localhost/ardour2/branches/3.0@10030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-30 09:48:53 +00:00
83f385d263
audio clock switchover part2: remove most egregious include-time dependency on audio_clock.h, and alter API for a few utilities along the way
...
git-svn-id: svn://localhost/ardour2/branches/3.0@9673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-02 17:50:37 +00:00
1a49bb9556
use volume controller widget for monitor section, drop some now-unused code
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8828 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-11 18:04:09 +00:00
5e7b4559fe
resize all editor comboboxes when DPI is reset. involved a minor refactoring of some code and the spreading of the awful COMBO_FUDGE+10 hack
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8398 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-30 21:15:51 +00:00
aad157337c
correct version of: port cairo ARGB/BGRA -> pixbuf RGBA patch from recent 2.X commit (restores text on canvas), in which i move some functions around, rename stuff and add comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-26 13:33:39 +00:00
da8eec7a83
remove Glib::ustring from gtk2_ardour
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-14 16:51:02 +00:00