mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-17 16:16:24 +03:00
25 lines
449 B
C++
25 lines
449 B
C++
#ifndef slic3r_ThumbnailData_hpp_
|
|
#define slic3r_ThumbnailData_hpp_
|
|
|
|
#if ENABLE_THUMBNAIL_GENERATOR
|
|
|
|
#include <vector>
|
|
|
|
namespace Slic3r {
|
|
|
|
struct ThumbnailData
|
|
{
|
|
unsigned int width;
|
|
unsigned int height;
|
|
std::vector<unsigned char> pixels;
|
|
|
|
ThumbnailData() { reset(); }
|
|
void set(unsigned int w, unsigned int h);
|
|
void reset();
|
|
};
|
|
|
|
} // namespace Slic3r
|
|
|
|
#endif // ENABLE_THUMBNAIL_GENERATOR
|
|
|
|
#endif // slic3r_ThumbnailData_hpp_
|