#pragma once #include "constants.hpp" #include #include "camera.hpp" namespace storyboard { struct UI { guecs::UI $ui; sf::RenderTexture $view_texture; sf::Sprite $view_sprite; cinematic::Camera $camera; std::string $zoom_target = "a"; UI(); void init(); void render(sf::RenderWindow &window); bool mouse(float x, float y, guecs::Modifiers mods); void zoom(const std::string &cell_name); void reset(); }; }