minor changes and added namespace to avoid conflicts when integrating with PanoPainter

This commit is contained in:
2017-03-15 08:17:22 +00:00
parent ee6d352fc6
commit c34d1a1f44
16 changed files with 112 additions and 39 deletions

View File

@@ -1,5 +1,7 @@
#pragma once
namespace ui {
class Image
{
std::unique_ptr<uint8_t[]> m_data;
@@ -11,3 +13,5 @@ public:
const uint8_t* data() const { return m_data.get(); }
int size() const { return width * height * comp; }
};
}