/* LICENSE BEGIN This file is part of the SixtyFPS Project -- https://sixtyfps.io Copyright (c) 2020 Olivier Goffart Copyright (c) 2020 Simon Hausmann SPDX-License-Identifier: GPL-3.0-only This file is also available under commercial licensing terms. Please contact info@sixtyfps.io for more information. LICENSE END */ #pragma once #include #include "sixtyfps_color.h" #include "sixtyfps_brush_internal.h" #include "sixtyfps_string.h" namespace sixtyfps { struct Brush { public: Brush() : data(Inner::NoBrush()) { } friend bool operator==(const Brush &a, const Brush &b) { return a.data == b.data; } friend bool operator!=(const Brush &a, const Brush &b) { return a.data != b.data; } private: using Tag = cbindgen_private::types::Brush::Tag; using Inner = cbindgen_private::types::Brush; Inner data; }; }