[nostalgia/core/studio] Add zoom support to TileSheetEditor

This commit is contained in:
2022-02-03 00:24:40 -06:00
parent 78942ce21d
commit d4e198ecc3
6 changed files with 49 additions and 12 deletions
@@ -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;
};