summaryrefslogtreecommitdiff
path: root/dgl/NanoVG.hpp
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2015-05-05 13:40:29 +0200
committerfalkTX <falktx@gmail.com>2015-05-05 13:40:29 +0200
commitdb4c38c4eba98be6250290dd4fb6e77cf901155d (patch)
tree6bd5d03b2fe65e392eb86aecbf21187a1a651b6e /dgl/NanoVG.hpp
parent12061de4cadc1e04572adcafe8c6cbfdb23cdb5c (diff)
Misc
Diffstat (limited to 'dgl/NanoVG.hpp')
-rw-r--r--dgl/NanoVG.hpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/dgl/NanoVG.hpp b/dgl/NanoVG.hpp
index 4948daaa..87859594 100644
--- a/dgl/NanoVG.hpp
+++ b/dgl/NanoVG.hpp
@@ -26,6 +26,11 @@ struct NVGpaint;
START_NAMESPACE_DGL
// -----------------------------------------------------------------------
+// Forward class names
+
+class NanoVG;
+
+// -----------------------------------------------------------------------
// NanoImage
/**
@@ -72,7 +77,7 @@ public:
NanoImage& operator=(const Handle& handle);
/**
- Wherever the image is valid.
+ Wherever this image is valid.
*/
bool isValid() const noexcept;
@@ -86,16 +91,12 @@ public:
*/
GLuint getTextureHandle() const;
- /**
- Update image data.
- */
- void updateImage(const uchar* const data);
-
private:
Handle fHandle;
Size<uint> fSize;
friend class NanoVG;
+ /** @internal */
void _updateSize();
DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(NanoImage)