TracktionEngine
Loading...
Searching...
No Matches
tracktion_MiscUtilities.h File Reference

Classes

class  engine::ScopedWaitCursor
 Shows and hides the mouse wait cursor where appropriate. More...

Namespaces

namespace  engine

Typedefs

using engine::HashCode = int64_t

Enumerations

enum class  engine::AuxPosition { engine::byBus , engine::byPosition }

Functions

void engine::addSortedListToMenu (juce::PopupMenu &m, juce::StringArray names, int startID)
juce::AffineTransform engine::getScaleAroundCentre (juce::Rectangle< float > r, float numPixels)
void engine::moveXMLAttributeToStart (juce::XmlElement &xml, juce::StringRef att)
template<typename Vector, typename Predicate>
bool engine::removeIf (Vector &v, Predicate &&pred)
template<typename FloatingPointType>
bool engine::almostEqual (FloatingPointType firstValue, FloatingPointType secondValue, FloatingPointType precision=(FloatingPointType) 0.00001)
 Checks to see if two values are equal within a given precision.