#pragma once #include #include // Para string class Surface; namespace Screenshot { // Guarda la surface como PNG en screenshots/. Retorna el nombre del fichero o "" si falla. auto save(const Surface& surface) -> std::string; // Guarda un buffer ARGB8888 como PNG en screenshots/. auto save(const Uint32* buffer, int width, int height) -> std::string; } // namespace Screenshot