[nostalgia/core/studio] Add zoom support to TileSheetEditor
This commit is contained in:
@@ -60,8 +60,11 @@ class TileSheetGrid {
|
||||
|
||||
glutils::GLProgram m_shader;
|
||||
glutils::BufferSet m_bufferSet;
|
||||
float m_pixelSizeMod = 1;
|
||||
|
||||
public:
|
||||
void setPixelSizeMod(float sm) noexcept;
|
||||
|
||||
ox::Error buildShader() noexcept;
|
||||
|
||||
void draw(bool update) noexcept;
|
||||
@@ -73,7 +76,7 @@ class TileSheetGrid {
|
||||
|
||||
void setBufferObjects(const NostalgiaGraphic &img, glutils::BufferSet *bg) noexcept;
|
||||
|
||||
static class ImVec2 pixelSize() noexcept;
|
||||
class ImVec2 pixelSize() const noexcept;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user