Showing the changes to interface/src/ui/overlays/RectangleOverlay.cpp (1 of 18 files). Show all
Unified · Split
| @@ -0,0 +1,21 @@ | |||
| 1 | // | ||
| 2 | // Created by Bradley Austin Davis on 2016/01/27 | ||
| 3 | // Copyright 2013-2016 High Fidelity, Inc. | ||
| 4 | // | ||
| 5 | // Distributed under the Apache License, Version 2.0. | ||
| 6 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | ||
| 7 | // | ||
| 8 | |||
| 9 | #include "RectangleOverlay.h" | ||
| 10 | |||
| 11 | QString const RectangleOverlay::TYPE = "rectangle"; | ||
| 12 | QUrl const RectangleOverlay::URL = "hifi/overlays/RectangleOverlay.qml"; | ||
| 13 | |||
| 14 | RectangleOverlay::RectangleOverlay() : QmlOverlay(URL) {} | ||
| 15 | |||
| 16 | RectangleOverlay::RectangleOverlay(const RectangleOverlay* rectangleOverlay) | ||
| 17 | : QmlOverlay(URL, rectangleOverlay) { } | ||
| 18 | |||
| 19 | RectangleOverlay* RectangleOverlay::createClone() const { | ||
| 20 | return new RectangleOverlay(this); | ||
| 21 | } | ||