Commit Graph

13 Commits

Author SHA1 Message Date
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
David Sansome 41d8c61e0d Let nyanalyzer cat nap inbetween songs 2012-10-16 21:20:56 +11:00
David Sansome 0d2dd452e2 Double buffer nyanalayzer cat drawing - trying to draw a pixmap into itself produces weird artifacts in Qt 4.8 2011-12-01 17:29:27 +00:00
David Sansome 7d6aa42ba3 Shift the rainbow back into the right place again 2011-06-23 22:49:33 +00:00
David Sansome 05e6ee8440 Cache the last rainbow frame so it can be used again in the next frame. Makes the painting much kinder on the CPU, but has the side effect of requiring the line segments to have integer spacings. 2011-06-23 20:36:38 +00:00
David Sansome decc769ebb Precalculate the band scale constants and apply them once when adding new values, instead of every time the polyline is drawn 2011-06-23 20:36:30 +00:00
David Sansome aa20b6b3e2 Don't shift the rainbow data along when the widget is being repainted as a result of an expose event 2011-06-23 20:36:14 +00:00
Tyler Rhodes 5792c114e8 Update nyan rainbow scaling and painting.
This is the last time, promise :)
2011-06-23 15:14:39 +00:00
Tyler Rhodes 663e5916dd Make nyan rainbow movements centered. (can move up and down, as opposed to just down). 2011-06-23 13:55:53 +00:00
Tyler Rhodes 612260cc9d Prettify nyan.
Add dark blue background and adjust rainbow placement.
2011-06-23 13:21:08 +00:00
John Maguire 623acc8bd1 Fix compile error on Clang. 2011-06-23 12:34:30 +00:00
David Sansome db26c788f4 Tweak nyan cat's values a bit to make him more interesting 2011-06-23 00:22:56 +00:00
David Sansome dad22297d1 Add a nyan cat analyzer.
Nyan nyan nyan nyan.
2011-06-22 23:25:08 +00:00