OLEGSHA ae4e265a90
Squash improve-ide-compat into main
Fixes GH-5

- cppcheck replaced with clang-tidy
- clang-tidy lint warnings fixed
- Reworked build tools from scratch to make IDE setup easier
- Added 1.5 IDE setup guides
2023-11-10 21:30:55 +01:00

24 lines
380 B
C++

#pragma once
#include <filesystem>
#include <vector>
namespace progressia::main {
class Image {
public:
using Byte = unsigned char;
std::size_t width;
std::size_t height;
std::vector<Byte> data;
std::size_t getSize() const;
const Byte *getData() const;
Byte *getData();
};
Image loadImage(const std::string &);
} // namespace progressia::main