diff options
author | falkTX <falktx@gmail.com> | 2015-05-05 13:40:29 +0200 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2015-05-05 13:40:29 +0200 |
commit | db4c38c4eba98be6250290dd4fb6e77cf901155d (patch) | |
tree | 6bd5d03b2fe65e392eb86aecbf21187a1a651b6e /dgl/NanoVG.hpp | |
parent | 12061de4cadc1e04572adcafe8c6cbfdb23cdb5c (diff) |
Misc
Diffstat (limited to 'dgl/NanoVG.hpp')
-rw-r--r-- | dgl/NanoVG.hpp | 13 |
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) |