Commit Graph

16 Commits

Author SHA1 Message Date
Jim Broadus e8875faf83 visualisations: Properly scale projectM view
In version 5.6, Qt introduced an automatic scaling feature for high DPI
displays. Since projectM is not part of the Qt framework, it's necessary
to convert coordinates when specifying view size.

Reference: https://doc.qt.io/qt-5/highdpi.html
2021-04-07 21:49:18 +01:00
John Maguire 341dc7326f Reformat all C++ 2020-09-22 14:56:06 +01:00
John Maguire 192b60d965 Use nullptr as parent parameter default everywhere 2014-02-10 16:03:54 +01:00
John Maguire bebd781fdf Reformat all non-3rd-party C/C++/Objective-C++.
Command line:
find src ext -regex '.*\.\(h\|cpp\|mm\)' -exec clang-format -i
 -style='{BasedOnStyle: Google, DerivePointerBinding: false}' {} \;
2014-02-07 16:34:20 +01:00
John Maguire d309d4ab27 Use c++11 instead of boost where possible. 2014-02-06 16:51:39 +01:00
David Sansome d678788af7 Load and save the visualisation delay setting properly. Fixes issue 3968. 2013-12-02 21:24:08 +11:00
David Sansome 008d396077 Use a monotonically increasing ID to identify pipelines, instead of their pointer value. 2011-03-20 21:40:53 +00:00
David Sansome ed1a25693c Add missing licenses to debian/copyright, and add copyright information to each source file 2010-11-20 13:27:10 +00:00
David Sansome 1a5f865d53 Bundle an empty font file and pass it to projectM so it doesn't crash when FTGL is turned on. 2010-07-18 13:26:01 +00:00
David Sansome ade492c56f Make the visualisation duration configurable 2010-06-07 13:36:50 +00:00
David Sansome 0e19ca17e5 Make the visualisation chooser actually work 2010-06-07 13:29:57 +00:00
David Sansome 6d84c2f830 Don't use the system projectm config file. Search for presets in share/clementine/projectm-presets. 2010-06-07 10:23:11 +00:00
David Sansome 2986b27fd7 Basic visualisation selector dialog. 2010-06-07 01:55:21 +00:00
David Sansome 87ecc89ca2 Add an option to change the quality (texture resolution) of visualisations 2010-06-06 23:05:11 +00:00
David Sansome c541f242c5 Visualisation overlay 2010-06-06 18:18:06 +00:00
David Sansome 1895582eb9 Basic support for ProjectM visualisations 2010-06-06 14:06:23 +00:00