|
|
@@ -49,6 +49,9 @@ public: |
|
|
|
private: |
|
|
|
T fX, fY; |
|
|
|
template<typename> friend class Rectangle; |
|
|
|
|
|
|
|
DISTRHO_LEAK_DETECTOR(Point) |
|
|
|
DISTRHO_PREVENT_HEAP_ALLOCATION |
|
|
|
}; |
|
|
|
|
|
|
|
// ----------------------------------------------------------------------- |
|
|
@@ -78,6 +81,9 @@ public: |
|
|
|
private: |
|
|
|
T fWidth, fHeight; |
|
|
|
template<typename> friend class Rectangle; |
|
|
|
|
|
|
|
DISTRHO_LEAK_DETECTOR(Size) |
|
|
|
DISTRHO_PREVENT_HEAP_ALLOCATION |
|
|
|
}; |
|
|
|
|
|
|
|
// ----------------------------------------------------------------------- |
|
|
@@ -124,6 +130,9 @@ public: |
|
|
|
private: |
|
|
|
Point<T> fPos; |
|
|
|
Size<T> fSize; |
|
|
|
|
|
|
|
DISTRHO_LEAK_DETECTOR(Rectangle) |
|
|
|
DISTRHO_PREVENT_HEAP_ALLOCATION |
|
|
|
}; |
|
|
|
|
|
|
|
// ----------------------------------------------------------------------- |
|
|
|