Commit graph

68 commits

Author SHA1 Message Date
Robin Gareus
ca4b6bb7e9
NO-OP: fix some Wimplicit-fallthrough, see prev commit 2019-09-18 17:38:01 +02:00
Robin Gareus
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
Robin Gareus
9390f17f36
NO-OP: whitespace and comments 2019-06-09 19:56:36 +02:00
Robin Gareus
4f86da8544 Wimplicit-fallthrough fixes for gtk-ardour 2018-10-26 14:53:49 +02: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
Paul Davis
56af59953f move "logmeter.h" from gtk2_ardour into libs/ardour 2016-09-27 14:59:32 -05:00
Paul Davis
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Robin Gareus
c4f19a66d9 nitpick for static analyzers and friends 2016-03-02 04:17:01 +01: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
45d487f16e Move ARDOUR_UI::ui_scale into UIConfiguration class 2015-09-16 16:55:17 -04:00
Robin Gareus
ccc8823461 tweak human readable names for meter-types 2015-07-05 17:19:55 +02:00
Robin Gareus
7447843a33 oversample meter faceplate image surfaces
Works around issues with pango on windows,
fixes crude text on OSX/retina and can provide sub-pixel
rendering on GNU/Linux/X11.
2015-05-05 03:02:09 +02:00
Robin Gareus
517211681e 0dBFS peak meter GUI 2015-04-25 06:46:56 +02:00
Robin Gareus
b38ab89d92 clean up GUI scaling 2015-04-22 21:40:43 +02:00
Robin Gareus
15b168a177 adjust default meter font-size (same as it was before) 2015-04-21 02:12:43 +02:00
Robin Gareus
494009a6e2 towards scaleable meter and mixer UI
somewhat hacky solution, but there's no good central point to
control this and get integer rounding/summing, is there?
2015-04-20 20:45:36 +02:00
Paul Davis
64fa63212f move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration 2014-12-22 13:39:46 -05:00
Robin Gareus
8e93139872 fix meter scale colors (meterbridge) 2014-12-09 19:41:54 +01:00
Paul Davis
aff8a806a2 more color work, including removing rgba{_p_}_from_style() 2014-12-08 22:02:38 -05:00
Paul Davis
318a9edab9 massive reworking of color selection implementation 2014-11-26 18:22:22 +02:00
Paul Davis
ba4d1cd1c1 remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config() 2014-10-21 22:58:58 -04:00
Robin Gareus
a3c378cf62 move utility functions into a dedicated namespace 2014-06-25 21:47:54 +02:00
Paul Davis
276e8b48ce various fixes for places that used get_font_for_style() ... converted to use UIConfiguration::get_canvasvar_*Font() 2014-06-19 11:18:44 -04:00
Paul Davis
3020b224fa Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there 2014-01-10 16:07:57 -05:00
Robin Gareus
0acafa4d3d add K12/RMS meter type 2013-12-22 09:25:33 +01:00
John Emmas
bc2b2f9e35 'gtk2_ardour' - Try 'lrintf' instead of 'rintf' which isn't available in MSVC 2013-10-03 09:50:34 +01:00
Robin Gareus
60dde29038 left/right meter marks in mixer (narrow red-stripe) 2013-07-28 22:34:28 +02:00
Robin Gareus
cd28d62b26 fix compiler warnings. 2013-07-28 20:32:52 +02:00
Robin Gareus
de4c5ba2af k-meter +4 marks 2013-07-28 15:55:36 +02:00
Robin Gareus
184fd983d0 tweak meter-metric red-boxes/stripes 2013-07-28 03:31:34 +02:00
Robin Gareus
1ce2a1d638 add red-boxes to meter-marks and fix Nordic scale color 2013-07-27 22:44:38 +02:00
Robin Gareus
362e774878 update meter marks and colors.. 2013-07-27 21:26:22 +02:00
Robin Gareus
5601ae97da some more VU-meter tick marks.. 2013-07-26 22:57:39 +02:00
Robin Gareus
908ee3bfea cache midi metrics depending on meter-type and data-type(s) 2013-07-25 20:56:25 +02:00
Robin Gareus
90ea64d1fc set midi-metric ticks depending on meter-type 2013-07-25 13:06:58 +02:00
Robin Gareus
5ad4b3cd7a VU meter label color&shadow tweak by the_CLA 2013-07-25 11:06:58 +02:00
Robin Gareus
ec0e92c3ab tweak label alignment 2013-07-25 11:03:36 +02:00
Robin Gareus
3c33ff2633 proper shadow for metric labels.. 2013-07-25 02:08:38 +02:00
Robin Gareus
bb85764f80 'overlay shadow' on meter-metrics experiment
TODO: shadow should really be 'behind'. ie save color,
stroke_preserve() shadow, paint text-layout with saved color
and eventually cairo_new_path() reset the path...
2013-07-25 01:44:16 +02:00
Robin Gareus
e469ce0961 get meter color from gtkrc style file 2013-07-24 22:05:24 +02:00
Robin Gareus
d8372bdf9b color meterbridge strips 2013-07-24 11:59:40 +02:00
Robin Gareus
8b616b0757 meterbridge: meter-type dependent color-schema 2013-07-24 01:43:24 +02:00
Robin Gareus
5d9fc75d7b BBC meter labels are always white 2013-07-23 23:07:17 +02:00
Robin Gareus
8013160eb3 meterbridge metrics update:
* display metrics for every used meter-type
* show metrics between meters with differnet types
* update text and label alignment for meterbridge
* fix crash when deleting metrics-strip (zero route)
* clean up metric pattern code (use float for dBFS)
2013-07-23 13:30:23 +02:00
Robin Gareus
06e7ad67ae restore session backwards compatibility to 3.3 2013-07-22 19:59:24 +02:00
Robin Gareus
df17094b47 minor tweaks to meter-names and legend 2013-07-22 19:56:30 +02:00
Robin Gareus
708edd5866 implement new meter types 2013-07-22 18:45:08 +02:00
Robin Gareus
72aa1cd86c Revert "Revert new meter types (postponed until after 3.3 release)"
This reverts commit d80f672e84.
2013-07-22 18:42:01 +02:00
Robin Gareus
55c5a76e8b revert to right-side mixer metric-labels 2013-07-17 23:33:23 +02:00
Robin Gareus
1128c4eeda meter metrics: ignore global font-scaling 2013-07-17 23:04:52 +02:00