Files
cardboy/Firmware/sdk/sfml-port/include_public/port_pixel.hpp
2025-08-30 11:12:04 +02:00

21 lines
427 B
C++

//
// Created by stepus53 on 15.08.25.
//
#ifndef SDK_TOP_PORT_PIXEL_HPP
#define SDK_TOP_PORT_PIXEL_HPP
namespace SdkPort {
struct Pixel {
bool on = false;
Pixel() = default;
Pixel(bool on) : on(on) {}
bool operator==(const Pixel& other) const { return on == other.on; }
bool operator!=(const Pixel& other) const { return !(*this == other); }
};
} // namespace SdkPort
#endif // SDK_TOP_PORT_PIXEL_HPP