Commit Graph

53 Commits

Author SHA1 Message Date
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
Robin Gareus
a8a4c1858c use ArdourMono font for metric patterns 2013-07-17 22:39:55 +02:00
Robin Gareus
6736933385 move mixer-metric pattern to the left 2013-07-17 22:26:51 +02:00
Robin Gareus
8f5cc1dbba increase spacing between meter ticks and labels 2013-07-16 17:55:18 +02:00
Robin Gareus
d80f672e84 Revert new meter types (postponed until after 3.3 release)
This reverts commit ce621d1c8a.
This reverts commit 80aa257481.
2013-07-15 16:07:37 +02:00
Robin Gareus
80aa257481 add VU and IEC meter DSP (from jmeters) 2013-07-15 15:04:36 +02:00
Robin Gareus
9b1d7fd2f7 simplify meter-type context menu
in preparation for adding more meter-types
2013-07-15 15:04:32 +02:00
Robin Gareus
6908ad1053 move ardour meter globals into dedicated namespace (TODO meter_patters typedef) 2013-07-15 15:04:20 +02:00
Robin Gareus
2106a12edd improve caching of metric and tick patters
* selectively clear cache (meterbridge, mixer)
* free memory of patterns on clear
2013-07-14 11:34:31 +02:00
Robin Gareus
7e74514a04 rework narrow mode metric (again) 2013-07-10 22:35:51 +02:00
Robin Gareus
c47afaab74 fixed width meter metric areas 2013-07-10 15:27:14 +02:00
Robin Gareus
12780e4c8c add convenience functions to switch meter-types.. (maybe too much?!) 2013-07-10 15:27:13 +02:00
Robin Gareus
c5ded1dbeb fix rendering of meter metrics w/o types
For example the initial meter widget in  the file-import dialog.
2013-07-10 15:27:12 +02:00
Robin Gareus
ef308d8f3e show meter-tick at either -24 or -25 dbFS 2013-07-10 15:27:11 +02:00
Robin Gareus
62d5585e34 prepare meter configuration..
- rework metric/tick image cache invalidation
  - flush cache
  - send signal to queue redraws
  (TODO) selectively flush cache // cache per size, style
- add four common line up levels
2013-07-10 15:27:11 +02:00
Robin Gareus
f1f84140e7 reset individual route's peak display 2013-07-10 15:27:10 +02:00