minor changes and added namespace to avoid conflicts when integrating with PanoPainter
This commit is contained in:
@@ -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; }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user